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)錯誤 #25

Open
chenluchi420 opened this issue Jan 3, 2024 · 1 comment

Comments

@chenluchi420
Copy link

遇到了和 #4 一樣的問題,修正成"with autocast()"之後出現了下面錯誤:
image
本問題,目前無法排除

@raviakash
Copy link

I also get the same error when running on RTX 4070 GPU. This is an issue with PyTorch and nvrtc for the new RTX 40 series GPUs. Please check. RTX 40 series GPUs support sm89 architecture that's explicitly supported only by cuda 11.8. On Detectron 2 installation pages it says The support is only until cuda 11.3 Check. I ran the same thing on the RTX 30 series GPU and the model ran completely fine without any errors.

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

2 participants