Closed riccardo24-7 closed 9 months ago
Hi, How can I deploy the deva project on CPU. I have only errors connected with
ERROR Got unsupported ScalarType BFloat16 or ERROR Input type (torch.cuda.HalfTensor) and weight type (torch.FloatTensor) should be the same
ERROR Got unsupported ScalarType BFloat16
ERROR Input type (torch.cuda.HalfTensor) and weight type (torch.FloatTensor) should be the same
Thanks
Hello. We did not write the code with non-CUDA companionability in mind. It can be fixed by removing the autocast and the .cuda() calls.
.cuda()
Hi, How can I deploy the deva project on CPU. I have only errors connected with
ERROR Got unsupported ScalarType BFloat16
orERROR Input type (torch.cuda.HalfTensor) and weight type (torch.FloatTensor) should be the same
Thanks