如果对执行Apollo的脚本docker/scripts/dev_start.sh生成的docker容器内的环境里的cuda版本作了修改,例如用比较新一点的cuda11.8代替了容器内默认安装的cuda11.1(卸载掉后安装新版本或者把新版本文件考本进容器后设置cuda相关环境变量),编译Apolllo时会报下面的错误:
(07:43:07) INFO: Repository local_config_cuda instantiated at:
/apollo/WORKSPACE:20:20: in <toplevel>
/apollo/tools/workspace.bzl:94:19: in apollo_repositories
Repository rule cuda_configure defined at:
/apollo/third_party/gpus/cuda_configure.bzl:1276:33: in <toplevel>
(07:43:07) ERROR: An error occurred during the fetch of repository 'local_config_cuda':
Traceback (most recent call last):
File "/apollo/third_party/gpus/cuda_configure.bzl", line 1247, column 38, in _cuda_autoconf_impl
_create_local_cuda_repository(repository_ctx)
File "/apollo/third_party/gpus/cuda_configure.bzl", line 844, column 35, in _create_local_cuda_repository
cuda_config = _get_cuda_config(repository_ctx, find_cuda_config_script)
File "/apollo/third_party/gpus/cuda_configure.bzl", line 537, co

最低0.47元/天 解锁文章
1132

被折叠的 条评论
为什么被折叠?



