mirror of
https://github.com/deepseek-ai/DeepInfer.git
synced 2026-11-20 04:22:27 +00:00
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>