Could you rerun your code with CUDA_LAUNCH_BLOCKING=1 python script.py args and check, if you get any error message?
If so, could you post it here please?
Also, make sure to use the latest PyTorch version.