Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: nvrtc: error: invalid value for --gpu-architecture (-arch) #72

Open
usama-x930 opened this issue Mar 6, 2024 · 2 comments

Comments

@usama-x930
Copy link

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)

I am getting this error.
I am using RTX 4090
CUDA 11.3
Nvidia driver 535 version
and pytorch is installed using "pip3 install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio==0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html"

I have done these steps and they works fine:

python examples/1080_balls_of_solitude.py
Install the go1_gym package
In this repository, run pip install -e .

when I run python scripts/test.py, I got his error.

@147mmd
Copy link

147mmd commented Mar 13, 2024

I've encountered the same issue before. It might be due to the Nvidia driver being too new. Updating to CUDA 11.6 should resolve it.

@zhiweicai07
Copy link

use cuda11.6 torch 1.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants