PaddlePaddle / Paddle3D

A 3D computer vision development toolkit based on PaddlePaddle. It supports point-cloud object detection, segmentation, and monocular 3D object detection models.
Apache License 2.0
573 stars 141 forks source link

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

Open yijianpeng opened 1 year ago

yijianpeng commented 1 year ago

我再训练模型时出现了这个错误: 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 commented 1 year ago

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

warrentdrew commented 10 months ago

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