Thanks. I took your advice here and used torch.autocast, as following:
with torch.autocast('cuda'):
... (my code) ...
Thanks. I took your advice here and used torch.autocast, as following:
with torch.autocast('cuda'):
... (my code) ...