I’m not sure if the Traceback is actually right, as it might point to false methods, if the code wasn’t run with CUDA_LAUNCH_BLOCKING=1.
Could you try to run the code again using this param or if possible using the CPU, since this might give a better error message?