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: Failed to run command: <built-in function compile> #424

Open
yijianpeng opened this issue Nov 13, 2023 · 2 comments
Open

RuntimeError: Failed to run command: <built-in function compile> #424

yijianpeng opened this issue Nov 13, 2023 · 2 comments
Assignees

Comments

@yijianpeng
Copy link

我再训练模型时出现了这个错误:
ValueError: Not found CUDA runtime, please use export CUDA_HOME=XXX to specific it.
2023-11-13 23:18:01,747 - ERROR - voxelize builded fail!
RuntimeError: Failed to run command: , errors: Command 'cd /home/yi/.cache/paddle_extensions && /home/yi/miniconda3/envs/paddle_env/bin/python voxelize_setup.py build' returned non-zero exit status 1.
然后日志中提到没有可用的nvcc,但是我在命令行中输出nvcc -V是有CUDA版本信息的
image
image

@yijianpeng
Copy link
Author

建议还是docker吧,配环境真的太难了

@warrentdrew
Copy link
Collaborator

可以尝试按照提示设置CUDA_HOME环境变量或者使用paddle官方docker镜像

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