Skip to content

[Klaud Cold] Update dsv4-fp4-b300-vllm-agentic-mtp vLLM image to nightly-dev-cu13.0.1-591bb95 / 更新 B300 DeepSeek-V4-Pro FP4 AgentX MTP 的 vLLM 镜像 - #3186

Closed
Klaud-Cold wants to merge 1 commit into
mainfrom
klaud/auto-92a928dcc64adbf8-112412d2bb72040c
Closed

Klaud-Cold wants to merge 1 commit into
mainfrom
klaud/auto-92a928dcc64adbf8-112412d2bb72040c

Conversation

@Klaud-Cold

Copy link
Copy Markdown
Collaborator

🤖 Generated with Claude Code

…-591bb95

Bump dsv4-fp4-b300-vllm-agentic-mtp from
vllm/vllm-openai:nightly-dev-x86_64-cu13.0.1-426e59f (vllm 0.17.2rc1.dev3682)
to nightly-dev-x86_64-cu13.0.1-591bb95 (vllm 0.17.2rc1.dev6310), pinned by
digest. The new image's AttentionConfig removes use_fp4_indexer_cache and
forbids unknown keys, so the recipe passes indexer_kv_dtype=mxfp4, which
selects the same MXFP4 indexer K cache.

将 dsv4-fp4-b300-vllm-agentic-mtp 的 vLLM 镜像从
nightly-dev-x86_64-cu13.0.1-426e59f 更新为按 digest 固定的
nightly-dev-x86_64-cu13.0.1-591bb95。新镜像的 AttentionConfig 移除了
use_fp4_indexer_cache 且禁止未知字段,因此配方改为传入
indexer_kv_dtype=mxfp4,对应同一 MXFP4 indexer K cache。

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution!

  • Review: If this PR changes files owned by someone other than a repository admin or @SemiAnalysisAI/core, ask one eligible CODEOWNER to complete the latest PR_REVIEW_CHECKLIST.md before contacting a core maintainer on Slack. Follow the template exactly, including As a PR reviewer and CODEOWNER, I have reviewed this and have, so sign-off verification triggers.
  • PR verification: Sweeps only run on labeled PRs. Add full-sweep-fail-fast (strongly recommended); use full-sweep-enabled only when matrix jobs should continue after a failure.
  • After merging: PR authors must ensure all GitHub Actions jobs pass. Transient failures often pass on rerun; see how to rerun failed jobs.
中文

感谢你的贡献!

  • **审阅:**如果 PR 修改的文件归属于仓库管理员及 @SemiAnalysisAI/core 之外的 CODEOWNER,请先联系一位有资格的 CODEOWNER 填写最新的 PR_REVIEW_CHECKLIST.md,再通过 Slack 联系核心维护者。必须严格遵循模板,并保留 As a PR reviewer and CODEOWNER, I have reviewed this and have,才能触发签核验证。
  • **PR 验证:**扫描仅在带有标签的 PR 上运行。强烈建议添加 full-sweep-fail-fast;仅当需要矩阵任务在失败后继续运行时才使用 full-sweep-enabled。
  • **合并后:**PR 作者必须确保所有 GitHub Actions 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

@Klaud-Cold

Copy link
Copy Markdown
Collaborator Author

Initial attempt · Not dispatched · no owned run · 2026-09-16 12:54 UTC
vllm/vllm-openai:nightly-dev-x86_64-cu13.0.1-591bb95@sha256:fe10835cefdb617cbbcf48f96435aef2c123d1ed9b504303de74b39c0f40d657 · 006e98a07b78 · AgentX · TP8/TP4/DEP4/DEP8 · Mean latency
Change: Update the vLLM image from nightly-dev-x86_64-cu13.0.1-426e59f (bundled vllm 0.17.2rc1.dev3682+g426e59f62, torch 2.11.0+cu130, FlashInfer 0.6.14, CUDA 13.0.1) to nightly-dev-x86_64-cu13.0.1-591bb95 (bundled vllm 0.17.2rc1.dev6310+g591bb95e7, torch 2.13.0+cu130, FlashInfer 0.6.18.post1, transformers 5.17.0, xgrammar 0.2.6, CUTLASS DSL 4.6.2, cuDNN 9.20), pinned by digest, and rename the recipe's FP4 indexer-cache switch: the new image's AttentionConfig drops use_fp4_indexer_cache and forbids unknown keys, so --attention-config now passes "indexer_kv_dtype":"mxfp4", which the new DeepSeek sparse indexer maps to the same MXFP4 K cache (dsa_indexer_uses_fp4).

Source comparison (bundled engine, read from the image layers, not release notes):

  • Both tags are NVIDIA local builds (ai.vllm.build.pipeline=local, ai.vllm.build.commit=unknown). Commits 426e59f and 591bb95 are not reachable in vllm-project/vllm, and the version strings (0.17.2rc1.dev3682 → dev6310) show a long-lived branch off v0.17.2rc1 with ~2,600 commits between the two images. Provenance is therefore uncertain; the comparison below is from the installed vllm package in each image (1,327 changed and 311 added or removed files).
  • Upstream v0.29.0 (98dff2a) and current upstream main lack deep_gemm_amxf4_mega_moe, VLLM_DSV4_MEGA_FP8_COMBINE, and (main) use_fp4_indexer_cache, so the release is not a compatible target for this recipe.
  • Still present with unchanged semantics: --moe-backend deep_gemm_amxf4_mega_moe, --enable-ep-weight-filter, --prefill-schedule-interval, --long-prefill-token-threshold, FLASHINFER_MLA_SPARSE_DSV4, use_prefill_query_quantization, rejection_sample_method=synthetic / synthetic_acceptance_length, SimpleCPUOffloadConnector with cpu_bytes_to_use / lazy_offload, FULL_DECODE_ONLY, deepseek_v4 tokenizer / tool / reasoning parsers, DCP / PCP flags.
  • Removed: VLLM_PREFIX_CACHE_RETENTION_INTERVAL has no consumer in the new image (the recipe still exports it; it is now a no-op). enable_cross_layers_blocks is no longer read by SimpleCPUOffloadConnector; DSV4 already forced the cross-layer KV layout in the old image, so behavior is unchanged.
  • Default change: VLLM_ALLREDUCE_USE_FLASHINFER now defaults to 1; the recipe already sets it explicitly for pure-TP arms.

Not dispatched because the frozen baseline cannot be certified by the Klaud helpers:

  1. prepare-baseline stops with "Public baseline producer provenance is unavailable". The 2026-08-21 observation is an append-only extension (run 32315429801, TP4 c1/c2/c4/c6) of the original curve (run 31415828111, 11 points, 2026-08-11). workflow-info?date=2026-08-21 does not list the 2026-08-11 producer, so the helper cannot verify 11 of the 15 published points.
  2. Even with both producers verified, every original point was generated with runner: cluster:b300-nv, which was retired in feat(runners): add the B300 DSXE cluster and retire the B300 NV launcher / 添加 B300 DSXE 集群并下线 B300 NV 启动脚本 #2826 and rerouted to cluster:b300-dsxe in [AgentX] route ordinary B300 recipes to DSXE / 将普通 B300 配方路由至 DSXE #2927. reporting.point_key() includes the runner, so none of the 15 frozen keys can match the current family and check-final / finish would reject any full sweep. Affected points: TP8 c1, c4; TP4 c1, c2, c4, c6, c8; TP4 SimpleCPU c16; DEP4 c48, c64; DEP8 c128, c256, c384, c512, c576; eval gsm8k/em_strict c576 (hw=cluster:b300-nv).
  3. The public benchmarks feed is served gzip-encoded from the CDN cache without an Accept-Encoding request, and infx.klaud.api.fetch does not decode it (invalid-json).

Weights (/scratch/models/DeepSeek-V4-Pro) are staged on cluster:b300-dsxe, capacity passed, and the recipe path contains no engine patches. The flag rename is source-backed but has not been exercised on GPU.

Next: Maintainer review of the baseline identity for relocated B300 families; no GPU work was dispatched.

中文

初次尝试 · 未派发 · 无自有运行 · 2026-09-16 12:54 UTC
vllm/vllm-openai:nightly-dev-x86_64-cu13.0.1-591bb95@sha256:fe10835cefdb617cbbcf48f96435aef2c123d1ed9b504303de74b39c0f40d657 · 006e98a07b78 · AgentX · TP8/TP4/DEP4/DEP8 · 平均延迟
**变更:**将 vLLM 镜像从 nightly-dev-x86_64-cu13.0.1-426e59f(内置 vllm 0.17.2rc1.dev3682+g426e59f62、torch 2.11.0+cu130、FlashInfer 0.6.14)更新为按 digest 固定的 nightly-dev-x86_64-cu13.0.1-591bb95(内置 vllm 0.17.2rc1.dev6310+g591bb95e7、torch 2.13.0+cu130、FlashInfer 0.6.18.post1、transformers 5.17.0、xgrammar 0.2.6),并重命名配方中的 FP4 indexer cache 开关:新镜像的 AttentionConfig 移除了 use_fp4_indexer_cache 且禁止未知字段,因此 --attention-config 改为传入 "indexer_kv_dtype":"mxfp4",对应同一 MXFP4 K cache。

**源码对比:**两个标签均为 NVIDIA 本地构建,提交 426e59f 与 591bb95 在公开的 vllm-project/vllm 仓库中不可达,来源存在不确定性;对比基于镜像层中实际安装的 vllm 包。上游 v0.29.0 与 main 缺少 deep_gemm_amxf4_mega_moe 与 VLLM_DSV4_MEGA_FP8_COMBINE,不是兼容目标。配方使用的其余参数语义不变;VLLM_PREFIX_CACHE_RETENTION_INTERVAL 在新镜像中已无消费者(现为空操作);enable_cross_layers_blocks 不再被 SimpleCPUOffloadConnector 读取,但 DSV4 原本已强制跨层 KV 布局,行为不变;VLLM_ALLREDUCE_USE_FLASHINFER 默认值改为 1,配方已显式设置。

未派发原因:(1)prepare-baseline 因"Public baseline producer provenance is unavailable"停止:2026-08-21 的观测是对 2026-08-11 原始曲线(run 31415828111)的 append-only 扩展,而 workflow-info?date=2026-08-21 不包含该生产运行;(2)所有原始点均以 runner: cluster:b300-nv 生成(该 runner 已在 #2826 下线并在 #2927 改路由至 cluster:b300-dsxe),point_key() 包含 runner,因此 15 个冻结点与当前配置族的键均不匹配,check-final/finish 必然拒绝;(3)公共 benchmarks 接口由 CDN 以 gzip 返回,而 infx.klaud.api.fetch 不解码。权重已在 cluster:b300-dsxe 预置,容量检查通过,配方路径无引擎补丁;参数重命名有源码依据但未在 GPU 上验证。受影响的点见上文列表。

**下一步:**由维护者审查已迁移 B300 配置族的基线身份;本次未派发任何 GPU 任务。

@Klaud-Cold

Copy link
Copy Markdown
Collaborator Author

uncertain · Cleanup pending. Stop and confirm owned runs before closing.

中文

uncertain · 清理待完成。先停止并确认自有运行结束,再关闭 PR。

@Klaud-Cold

Copy link
Copy Markdown
Collaborator Author

uncertain · Repairs: 0 · Runs: —
All owned runs ended. PR closed; exact-candidate branch retained pending maintainer review.

中文

uncertain · 修复次数:0 · 运行:—
所有自有运行均已结束。PR 已关闭;保留精确候选分支,等待维护者检查。

@Klaud-Cold
Klaud-Cold deleted the klaud/auto-92a928dcc64adbf8-112412d2bb72040c branch October 16, 2026 15:08
seungrokj added a commit that referenced this pull request Dec 3, 2026
- Update the image from rocm/atom-dev:nightly_202611101510 (ATOM e5b74bc86) to nightly_202612031117@sha256:ef8293cd19b40344b4e755f7b0934bb961c4ee8e844758b7de84a7ce5e8cf7b9 (ATOM 10e8c1ea6, AITER ed1163f82, Mooncake 206d6340, ROCm 7.2.4) in the master config, and the AToMesh frontend container_image from sha256:160a4ec49379e7f1980a4e783254366b1d5c643b012abca57a21c0bcbbfe83a7 to the same tag and digest.
- Replace plain TP2 at concurrency [1, 2, 16, 32], DTP2 (DP attention) at 64, DEP2 (DP attention plus expert parallelism) at [128, 256] and plain TP4 at [1, 2, 4, 8, 32] with plain TP8 at [1, 2, 4], plain TP4 at [4, 8, 16, 32], DEP4 at 64 and DEP8 at [128, 256, 384, 512]. Every TP2, DTP2 and DEP2 point and TP4 c1 and c2 are dropped; TP8 c1, c2 and c4, TP4 c16, DEP4 c64 and DEP8 c128 to c512 are new.
- TP8 c1 runs max-num-seqs 2, decode graphs [1, 2] and ATOM_PREFILL_DECODE_INTERVAL=1000000, and TP8 c2 and c4 run ATOM_PREFILL_DECODE_INTERVAL=192, the settings TP2 and TP4 used at those concurrencies. TP4 c4 (192) and c32 (16) are unchanged; TP4 c8 moves from the MXFP8 to a BF16 KV cache (interval 192), and the new TP4 c16 also runs a BF16 KV cache with interval 96.
- DEP8 runs MegaMoE (moe-backend mega) with AITER_MEGA_SHARED_IN=1, adaptive prefill admission, 4 API servers, share_cache DP routing with lockstep placement (--dp-share-cache-lockstep), online EPLB without redundant experts (load window 200, rebalance interval 800, 4 layers per chunk), decode graphs 1 to 48 plus 56, 64, 72, 80, 96 and 128, ATOM_PREFILL_DECODE_INTERVAL=0, ATOM_DP_SESSION_AFFINITY=0, ATOM_DP_LB_REQ_EQUIV=512, ATOM_FRONTEND_PREFIX_HASH=1, ATOM_DP_LM_HEAD_MODE=off, ATOM_GRAPH_SIDE_STREAMS=0, GPU_MAX_HW_QUEUES=5 and MORI_SHMEM_HEAP_SIZE=16G.
- DEP8 offloads KV to CPU DRAM (kv-offloading dram) through ATOM_KV_OFFLOAD=mooncake_store: a Mooncake master and two NUMA-bound 256 GiB Mooncake Store owners on rdma0-7 of the inference node, 1024 MiB load and 256 MiB save pools, OFFLOAD_MIN_LOAD_TOKENS and OFFLOAD_MIN_SAVE_TOKENS 512, OFFLOAD_MAX_PENDING_SAVES 8, one QP per endpoint, destination-device affinity, the memlock soft limit raised to the hard limit before the worker starts and a 3600 s health-check window.
- DEP4 c64 runs the DEP8 settings on 4 GPUs with 2 API servers and two 128 GiB Store owners. The DP points no longer use least_tokens routing, session affinity or the X-Dynamo-Session-Id header from AIPerf.
- Framework changes in the new ATOM that matter here: share_cache lockstep DP placement (ROCm/ATOM#3837, opt-in since #4074), adaptive prefill admission (#3647), the target shared expert handed to the MegaMoE routed call through AITER shared_in (#3894) with its MXFP8 input taken from the FFN seam (#3940), one-launch MegaMoE decode routing including the 48-expert layout (#3938) and route selection (#3187), EPLB on the pre-decoder layers and empty-window skip (#3186, #3952), the DSpark draft tail and DP-sharded draft argmax (#4104, #3939), ATOM_DP_LM_HEAD_MODE and the idle-rank LM head (#3353, #4025), and event-driven Store loads with a failed-save retry cap (#3772, #3781); AITER ed1163f82 (ROCm/aiter#9076) returns BF16 from the DSpark draft MegaMoE.
- Draft data type unchanged: the DSpark draft (mtp.0-2 in the target checkpoint) runs as shipped at both images, with FP8 E4M3 32x32 UE8M0 block-scaled attention, shared-expert and main_proj weights run as MXFP8, MXFP4 routed experts with MXFP8 activations (a8w4, through MegaMoE at DEP4 and DEP8), and BF16 gate, norms and the shared LM head. The draft attends in BF16 over the target's KV pool, which is MXFP8 except at TP4 c8 and c16 (BF16).

- 镜像从 rocm/atom-dev:nightly_202611101510(ATOM e5b74bc86)更新为 nightly_202612031117@sha256:ef8293cd19b40344b4e755f7b0934bb961c4ee8e844758b7de84a7ce5e8cf7b9(ATOM 10e8c1ea6、AITER ed1163f82、Mooncake 206d6340、ROCm 7.2.4),用于 master 配置;AToMesh 前端 container_image 从 sha256:160a4ec49379e7f1980a4e783254366b1d5c643b012abca57a21c0bcbbfe83a7 改为同一标签和 digest。
- 用 TP8 [1, 2, 4]、TP4 [4, 8, 16, 32]、DEP4 64 和 DEP8 [128, 256, 384, 512] 替换 TP2 [1, 2, 16, 32]、DTP2(DP attention)64、DEP2(DP attention 加专家并行)[128, 256] 和 TP4 [1, 2, 4, 8, 32]。所有 TP2、DTP2、DEP2 点以及 TP4 c1、c2 被移除;TP8 c1、c2、c4,TP4 c16,DEP4 c64 和 DEP8 c128 到 c512 为新增。
- TP8 c1 使用 max-num-seqs 2、decode 图 [1, 2] 和 ATOM_PREFILL_DECODE_INTERVAL=1000000,TP8 c2、c4 使用 ATOM_PREFILL_DECODE_INTERVAL=192,即 TP2 和 TP4 在这些并发下原来的设置。TP4 c4(192)和 c32(16)不变;TP4 c8 的 KV cache 从 MXFP8 改为 BF16(interval 192),新增的 TP4 c16 同样使用 BF16 KV cache,interval 96。
- DEP8 使用 MegaMoE(moe-backend mega)并设置 AITER_MEGA_SHARED_IN=1,自适应 prefill 准入,4 个 API server,带 lockstep 放置的 share_cache DP 路由(--dp-share-cache-lockstep),无冗余专家的在线 EPLB(load window 200、rebalance interval 800、每块 4 层),decode 图 1 到 48 加 56、64、72、80、96、128,ATOM_PREFILL_DECODE_INTERVAL=0、ATOM_DP_SESSION_AFFINITY=0、ATOM_DP_LB_REQ_EQUIV=512、ATOM_FRONTEND_PREFIX_HASH=1、ATOM_DP_LM_HEAD_MODE=off、ATOM_GRAPH_SIDE_STREAMS=0、GPU_MAX_HW_QUEUES=5 和 MORI_SHMEM_HEAP_SIZE=16G。
- DEP8 通过 ATOM_KV_OFFLOAD=mooncake_store 将 KV 卸载到 CPU DRAM(kv-offloading dram):推理节点上一个 Mooncake master 和两个绑定 NUMA 的 256 GiB Mooncake Store owner(rdma0-7),1024 MiB 加载池和 256 MiB 保存池,OFFLOAD_MIN_LOAD_TOKENS 和 OFFLOAD_MIN_SAVE_TOKENS 为 512,OFFLOAD_MAX_PENDING_SAVES 为 8,每个端点一个 QP,目标设备亲和,worker 启动前把 memlock 软限制提升到硬限制,健康检查窗口 3600 秒。
- DEP4 c64 在 4 张 GPU 上使用 DEP8 的设置,2 个 API server 和两个 128 GiB Store owner。DP 点不再使用 least_tokens 路由、会话亲和性或 AIPerf 的 X-Dynamo-Session-Id 头。
- 新 ATOM 中与本模型相关的框架变化:share_cache lockstep DP 放置(ROCm/ATOM#3837,自 #4074 起需显式开启)、自适应 prefill 准入(#3647)、目标层共享专家经 AITER shared_in 交给 MegaMoE 路由调用(#3894),其 MXFP8 输入取自 FFN 接缝(#3940)、单次启动的 MegaMoE decode 路由(含 48 专家布局,#3938)和路由选择(#3187)、decoder 之前层的 EPLB 和空窗口跳过(#3186、#3952)、DSpark draft 尾部与 DP 分片 draft argmax(#4104、#3939)、ATOM_DP_LM_HEAD_MODE 与空闲 rank 的 LM head(#3353、#4025)、事件驱动的 Store 加载和失败保存重试上限(#3772、#3781);AITER ed1163f82(ROCm/aiter#9076)使 DSpark draft MegaMoE 返回 BF16。
- Draft 数据类型不变:DSpark draft(目标 checkpoint 中的 mtp.0-2)在新旧镜像上都按发布精度运行,FP8 E4M3 32x32 UE8M0 块缩放的 attention、共享专家和 main_proj 权重以 MXFP8 运行,MXFP4 路由专家配 MXFP8 激活(a8w4,DEP4 和 DEP8 经 MegaMoE),BF16 的 gate、norm 和共享 LM head。draft 在目标的 KV 池上以 BF16 做 attention,该 KV 池除 TP4 c8 和 c16(BF16)外均为 MXFP8。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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