Skip to content

CollectiveX: give h200-dgxc DeepEP V2 its RDMA rate from the registry / CollectiveX:由注册表为 h200-dgxc 的 DeepEP V2 提供 RDMA 速率 - #4615

Merged
Oseltamivir merged 1 commit into
mainfrom
cx-h200-rdma-gbs
Oct 28, 2026
Merged

Oseltamivir merged 1 commit into
mainfrom
cx-h200-rdma-gbs

Conversation

@Oseltamivir

Copy link
Copy Markdown
Collaborator

Summary

DeepEP V2 normal-mode EP16 on h200-dgxc died with ZeroDivisionError in get_theoretical_num_sms. The SM model reads the scale-out rate from ibstat, which the vLLM v0.32.0 image does not ship, so the rate came back 0 and the hybrid branch divided by it.

  • platform_config.json: h200-dgxc's network block sets rdma_gbs: 50, the value the ibstat probe derives from a 400 Gb/s ConnectX-7 port (rate / 8). The EFA pools already supply their rate this way, and the harness passes it to DeepEP and records it as library_config.sm_model_rdma_gbs.
  • The adapter comment and the methodology describe when the registry rate applies.

Validated on h200-dgxc: h200-dgxc-deepep-v2-bf16-n2 now succeeds (decode and prefill EP16), where it failed on both cases before. cases.json is unchanged; python -m pytest collectivex/tests passes.

中文

h200-dgxc 上 DeepEP V2 normal 模式 EP16 在 get_theoretical_num_sms 中因 ZeroDivisionError 失败。SM 模型通过 ibstat 读取 scale-out 速率,而 vLLM v0.32.0 镜像不包含 ibstat,速率返回 0,hybrid 分支随之除零。

  • platform_config.json:h200-dgxc 的 network 块设置 rdma_gbs: 50,即 ibstat 探测从 400 Gb/s ConnectX-7 端口得出的值(速率 / 8)。EFA 资源池已用同样方式提供速率,harness 会将其传给 DeepEP,并记录为 library_config.sm_model_rdma_gbs。
  • 适配器注释与 methodology 说明了何时使用注册表中的速率。

已在 h200-dgxc 上验证:h200-dgxc-deepep-v2-bf16-n2 现已成功(decode 与 prefill EP16),此前两个用例均失败。cases.json 未变;python -m pytest collectivex/tests 通过。

AI disclosure

Drafted and tested with an AI coding assistant; reviewed by the author.

The vLLM v0.32.0 image does not ship ibstat, so DeepEP V2's SM model read a scale-out rate of 0 on
h200-dgxc and normal-mode EP16 died with ZeroDivisionError in get_theoretical_num_sms. The registry
now sets rdma_gbs to 50 GB/s, the value the ibstat probe derives from a 400 Gb/s ConnectX-7 port,
as the EFA pools already do.

vLLM v0.32.0 镜像不包含 ibstat,导致 h200-dgxc 上 DeepEP V2 的 SM 模型读到的 scale-out 速率为 0,
normal 模式 EP16 在 get_theoretical_num_sms 中因 ZeroDivisionError 失败。注册表现在将 rdma_gbs
设为 50 GB/s(即 ibstat 探测从 400 Gb/s ConnectX-7 端口得出的值),与 EFA 资源池的做法一致。

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

@Oseltamivir
Oseltamivir merged commit 8a68e46 into main Oct 28, 2026
8 checks passed
@Oseltamivir
Oseltamivir deleted the cx-h200-rdma-gbs branch October 28, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant