When training KnowBert I get hundreds of warnings
/pytorch/aten/src/ATen/native/cuda/LegacyDefinitions.cpp:19: UserWarning: masked_fill_ received a mask with dtype torch.uint8, this behavior is now deprecated,please use a mask with dtype torch.bool instead.
I modified some files in KnowBert that were using torch.uint8 for the mask and replaced them with torch.bool, so now there is no explicit usage of torch.uint8, but I still get the user warning messages. Do you have any idea what could cause the errors?
My version of pytorch is 1.2.0, allennlp is 0.8.3-unreleased