[None][fix] Enforce NCCL >= 2.28 at CMake configure time#13108
Conversation
ce5e87f to
cce974b
Compare
📝 WalkthroughWalkthroughThe minimum required version of NCCL dependency was updated from version 2 to version 2.28 in the CMake build configuration for multi-device support builds. No control flow or functional changes were introduced. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/bot run --disable-fail-fast |
cce974b to
926ddb6
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #43714 [ run ] triggered by Bot. Commit: |
|
PR_Github #43714 [ run ] completed with state
|
allreduceOp.cpp uses NCCLWindowAllocator and createNCCLWindowTensor unconditionally, but these are guarded by #if NCCL_VERSION_CODE >= NCCL_VERSION(2, 29, 0) in ncclUtils.h. With NCCL < 2.29, the build fails deep into compilation with undeclared symbol errors. Bump the CMake find_package minimum version so the build fails immediately at configure time with a clear version mismatch message instead. Signed-off-by: Yueh-Ting Chen <yueh.ting.chen@gmail.com>
926ddb6 to
8c41ccb
Compare
|
/bot run --disable-fail-fast |
|
PR_Github #44308 [ run ] triggered by Bot. Commit: |
|
PR_Github #44308 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #44329 [ run ] triggered by Bot. Commit: |
|
PR_Github #44329 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #44454 [ run ] triggered by Bot. Commit: |
|
PR_Github #44454 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #44597 [ run ] triggered by Bot. Commit: |
|
PR_Github #44597 [ run ] completed with state |
Signed-off-by: Yueh-Ting Chen <yueh.ting.chen@gmail.com>
Summary
find_package(NCCL ...)minimum version from2to2.28allreduceOp.cppusesNCCLWindowAllocatorandcreateNCCLWindowTensorunconditionally, but these symbols are guarded by#if NCCL_VERSION_CODE >= NCCL_VERSION(2, 28, 0)inncclUtils.hTest plan
Summary by CodeRabbit