Files
DeepInfer/scripts
shunyadandClaude Opus 5.5 7b4322294e fix(build): stop on GPU family detection errors instead of building for sm100
build.sh tested `[ "$(nvidia_arch.sh)" = sm120 ]`, which discards the
script's exit status, so a bad DEEPINFER_NVIDIA_ARCH only surfaced in
build_vendor.sh after the long pip install. nvidia_arch.sh also mapped every
GPU that is not 12.x (and hosts without nvidia-smi) to sm100 silently, so an
SM120 build container without nvidia-smi installed the SM100 dependency set.

- build.sh runs detection as its own assignment (set -e stops before pip) and
  exports the result so build_vendor.sh builds for the same family.
- DEEPINFER_NVIDIA_ARCH is case-insensitive.
- A detected GPU of another family (e.g. compute capability 9.0) is an error
  that points at DEEPINFER_NVIDIA_ARCH; no visible GPU still builds for sm100
  (GPU-less SM100 build hosts keep working) but warns on stderr.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:22:15 -08:00
..
2026-10-20 12:09:42 +08:00
2026-10-20 12:09:42 +08:00
2026-10-20 12:09:42 +08:00