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: CUDA error: invalid device function #100

Open
Durobert opened this issue Jan 30, 2024 · 1 comment
Open

RuntimeError: CUDA error: invalid device function #100

Durobert opened this issue Jan 30, 2024 · 1 comment

Comments

@Durobert
Copy link

你好,我在运行代码的时候,报的RuntimeError: CUDA error: invalid device function这个错,我这边是单卡3080,跟着Readme运行训练命令,把8卡改成了1(./tools/dist_train.sh ./projects/configs/surroundocc/surroundocc.py 1 ./work_dirs/surroundocc),但是报了这个错,这个是什么问题,该怎么解决呢
20240130-223948

@Qinyu-Z
Copy link

Qinyu-Z commented Mar 13, 2024

我也遇到过这个问题,可能是CUDA版本与pytorch版本和mmcv版本编译时不兼容导致的。我用了OpenOccupancy的环境可以运行Surroundocc

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