Files
DeepInfer/scripts
shunyadandClaude Opus 5.5 fe13eb0251 fix(build): check the SM120 NCCL pin after installing it
build.sh builds DeepEP against NCCL 2.32.3 and then replaces NCCL with 2.30.7
for Cake. deepinfer imports deep_ep on every platform, so if that build no
longer loaded with 2.30.7 every SM120 run would fail at import, with nothing
pointing at the NCCL swap; and if torch loaded another libnccl.so.2, auto
would quietly pick the slower nccl backend.

- scripts/check_sm120_nccl.py runs after the pin: it fails the build when
  deep_ep has an undefined symbol under the pinned NCCL, and warns when it
  cannot import deep_ep for another reason (e.g. no GPU on the build host)
  or when torch loads an NCCL other than the pin.
- The pin is CAKE_NCCL_VERSION in build.sh; tests/test_build_nccl_pin.py
  keeps it equal to sm120_support.CAKE_NCCL_VERSION and covers the check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:46:30 -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