trunk/132535f990621819aa7950f6ba0c048d7f6a34e4: Fix CUDA driver linking for Inductor CUTLASS builds (#186538)
- PyTorch 近 90 天出现 1329 次
- PyTorch 近 90 天第 1314 次发版
- 上一次:同一天稍早 · trunk/1979db84b6ee9e51e4ea6c331756a1c8a4b789ca: Add guangyey/etaf to XPU merge rule (#196947)
发生了什么
Inductor's CUDA/CUTLASS compile flags linked the CUDA driver with -lcuda. That requires an unversioned libcuda.so linker symlink, but common NVIDIA driver installs and runtime container setups expose only the runtime soname libcuda.so.1. In those environments torch.compile can fail at link time with /usr/bin/ld: cannot find -lcuda even though the CUDA driver is installed and usable at runtime. Teach the CUDA compile…
摘要按规则整理自下方来源原文