RuntimeError: The following operation failed in the TorchScript interpreter.
Traceback of TorchScript (most recent call last):
RuntimeError: nvrtc: error: invalid value for --gpu-architecture (-arch)
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
with cpu it works but when using gpu it does not work
Hello, I am working on a remote server through ssh and the GPU is RTX4090 as well. I tested cuda11.7 and cuda12.2 with nvidia-driver535, and neither of them worked. I got the same error as you do. I just ran python train.py task=Ant headless=True and I wonder what I could do now. Thank you!
I had the same problem with RTX4080. But I found that commenting out all “@torch.jit.script” from all the code can avoid nvrtc related errors.
Some code still doesn’t work though. (franka_cube_ik_…py)