Skip to content

feat(qy): enable InfiniCCL NCCL backend for Denglin QY (2026.11.12) - #90

Open
Ceng23333 wants to merge 3 commits into
InfiniTensor:masterfrom
Ceng23333:feat/qy-nccl-20261112
Open

Ceng23333 wants to merge 3 commits into
InfiniTensor:masterfrom
Ceng23333:feat/qy-nccl-20261112

Conversation

@Ceng23333

@Ceng23333 Ceng23333 commented Nov 12, 2026 •

Copy link
Copy Markdown

Summary

  • Enable Denglin QY device + NCCL CclApi on current master (rebased).
  • Add NcclDataTypeTraits<kQy> and gate ncclGather/ncclScatter for NCCL builds that lack those APIs (Denglin NCCL 2.12).

Motivation / related

Type of change

  • feat
  • fix (QY NCCL traits; Gather/Scatter API gate)

Platforms affected

  • QY (+ NCCL when vendor NCCL is present)

Validation

  • Host Denglin QY: WITH_QY=ON + WITH_NCCL=ON configure/build/install → libinfiniccl.so linked.
  • Logs: nov_milestone/logs/prhead-verify-20261113/ccl-configure.log, ccl-build.log, ccl-artifacts.log
  • See PR smoke comments.

Checklist

  • Rebased onto upstream master (no longer behind)
  • Conventional Commits title/branch

Stack PR index (merge order)

  1. InfiniOps: feat(qy): QY ops backend with FA and longctx MoE/RoPE kernels (2026.11.12) InfiniOps#1038 — 71e85162ab96
  2. InfiniRT: feat(qy): enable QY CUDA runtime device backend (2026.11.12) InfiniRT#54 — 047340f45efa
  3. InfiniCCL: feat(qy): enable InfiniCCL NCCL backend for Denglin QY (2026.11.12) #90 — 691c3092c4c9
  4. InfiniCore: chore(qy): pin InfiniRT/Ops/CCL for QY MoE bf16-warpnk (2026.11.12) InfiniCore#1583 — 0b69ee9002bd
  5. InfiniLM: feat(qy): MiniCPM5 FA/longctx/cudagraph + MoE bf16/warpnk surpass (2026.11.12) InfiniLM#618 — 36beae5376f4

ITW pin: https://github.com/Ceng23333/InfiniTensorWorktree/tree/v2026.11.12-qy-moe-bf16-warpnk

bench and others added 3 commits November 13, 2026 10:56
Wire WITH_QY device detection/SDK configure, DevicePriority/NCCL
IsSupportedCombination for kQy, and QY device/runtime/NCCL CclApi so TP
GetUniqueId/CommInitRank/AllReduce/Send/Recv work on QY.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Denglin NCCL 2.12 lacks ncclGather/ncclScatter; stub with ncclInvalidUsage
so WITH_QY+NCCL still configures and links.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Ceng23333
Ceng23333 force-pushed the feat/qy-nccl-20261112 branch from 3e22bef to 691c309 Compare November 13, 2026 03:26
@Ceng23333

Copy link
Copy Markdown
Author

QY required smoke (PR head)

  • Head SHA: 691c3092c4c92801325be77bff1e222bf724f086
  • Host: Denglin QY build container
  • Command: cmake WITH_QY=ON WITH_NCCL=ON configure/build/install
  • Result: PASS (compile/link OK → libinfiniccl.so)
  • Log: nov_milestone/logs/prhead-verify-20261113/ccl-build.log / ccl-artifacts.log

Notes: Denglin NCCL 2.12 lacks ncclGather/ncclScatter; gated to ncclInvalidUsage stubs so link succeeds. CPU GetMemorySpace already on master.

@Ceng23333

Copy link
Copy Markdown
Author

QY required smoke (PR head) — detailed

  • Head SHA: 691c3092c4c92801325be77bff1e222bf724f086
  • Host: Denglin QY
  • Command: InfiniCCL WITH_QY=ON + WITH_NCCL=ON configure / build / install
  • Overall: PASS
  • Logs: nov_milestone/logs/prhead-verify-20261113/ccl-configure.log, ccl-build.log, ccl-artifacts.log
Step Config Result
cmake configure Devices [cpu, qy], Backends [nccl] PASS
cmake --build libinfiniccl.so PASS
cmake --install prefix lib + headers + icclrun PASS

Rebased onto upstream master. Gather/Scatter API gated for NCCL < Gather/Scatter (Denglin 2.12).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant