分类: AI 工具排错

RuntimeError: Could not find nvcc and default cuda_home=’/usr/local/cuda’ doesn’t exist`. Note that pointing `CUDA_HOME` at the pip-bundled `nvidia/cu13` nvcc is not a fix — the JIT then fails o

RuntimeError: Could not find nvcc and default cuda_home='/usr/local/cuda' doesn't exist`. Note that pointing `CUDA_HOME` at the pip-bundled `nvidia/cu13` nvcc is not a fix — the JIT then fails o

该报错通常发生在 Blackwell 架构(SM120)GPU 上启动 vLLM 并启用 FlashInfer sampler 时,根因是系统 CUDA 环境与 Python 环境内 CUDA 工具链版本不一致(混用 12.8 与 13.x 组件),导致 FlashInfer JIT 编译时头文件与