Repository navigation
[DNM, Experimental] GLM-5.3-Flash B300 NVFP4 TP4 HiCache concurrency / [DNM, Experimental] GLM-5.3-Flash B300 NVFP4 TP4 HiCache 并发实验 - #4736
Closed
functionstackx wants to merge 15 commits into
Closed
functionstackx wants to merge 15 commits into
functionstackx wants to merge 15 commits into
Conversation
Contributor
|
Thanks for the contribution!
中文感谢你的贡献!
|
Contributor
|
View unofficial run (performance): https://inferencex.semianalysis.com/inference?unofficialRun=41353165651 View unofficial run (accuracy): https://inferencex.semianalysis.com/evaluation?unofficialRun=41353165651 |
Collaborator
|
/use 41353165651 |
Contributor
|
@Oseltamivir staging run 41353165651. Existing staged runs will be preserved; a completion link will be posted here. |
Oseltamivir
changed the base branch from
feat/glm53flash-fp4-b300-hicache
to
main
November 5, 2026 11:25
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test GLM-5.3-Flash NVFP4 at TP4 on B300, stacked directly on the unchanged TP8 HiCache draft #4729 (
b4acc6d). The new performance matrix has an OFF concurrency-8 anchor and paired OFF/ON points at 32, 48, 64, and 96. Both TP4 arms keep the TP8 child's admission and decode-graph caps of 96, so this experiment does not add a cap change to the TP comparison.The recipe uses one TP4/EP1 worker, four active GPUs, and the existing exclusive eight-GPU node reservation. It does not launch a second replica or release the other four GPUs. Report both frontiers: active-GPU-normalized throughput/cost and the full reserved-node throughput/cost. Under the same per-GPU hourly-price assumption, total tokens per dollar charged against eight reserved GPUs are half the value charged against four active GPUs, while cost per token doubles; an active-GPU improvement is not automatically a node-level economic improvement. Verify actual allocation with Slurm AllocTRES, worker visibility, and the resource snapshot's configured/backend GPU counts.
The same pinned image's GB300 TP4 parent sweep already exercised TP4/EP1, EAGLE 5/1/6, TRT-LLM DSA, FP8 KV, and FlashInfer TRT-LLM MoE successfully. Its runtime reports about 48.71 GiB/rank of model-plus-NextN loading memory and a 221.49-GiB combined subtotal of those allocations, persistent KDA, speculative scratch, and target/draft KV at cap128. Scaling only the per-request speculative scratch from 129 to 97 slots yields approximately 214.70 GiB at cap96, below B300's approximately 228.30-GiB static budget at fraction 0.85. These are planning estimates from an ARM64 GB300 run, not measured x86 B300 TP4 pool sizes or a runtime pass; auto-sizing, CUDA graphs, and actual headroom still need verification.
ON uses native
hicache-host-memory-fraction=0.65,write_through,kernel, andpage_first, with no explicit size/ratio, custom memory guard, or engine patch.dram-utilization: 1.0is nominal metadata under the existing generator cap and four-of-eight GPU share (1,499 GB), not an enforced reservation or measured pool size. The native allocator may see the full exclusive node's live host memory; record its resolved combined target/Mamba/draft/indexer pools and cgroup limits.Preserve the parent's official digest-pinned SGLang v0.5.22-cu130 image, model revision, NVFP4 target and shipped draft-loading path, disabled conversion flags, EAGLE 5/1/6, full 1,048,576-token context, unfiltered 393-entry AgentX corpus, and 3,600-second duration. Performance uses the existing shared measured AL
3.603536, with no new collection. The existing TP8 configurations and ON c32 evaluation remain unchanged.TP4 receives fresh canonical accuracy checks for both arms: OFF c16 and ON c32, each using the full 1,319-example GSM8K suite with synthetic acceptance disabled. Separate evaluation keys plus
evals-only/all-evalsretain both rows, and different evaluation concurrencies avoid the existing evaluation-identity collision. The nine performance rows useno-evals.This remains an experimental draft without GPU sweep labels. Before any full sweep, inspect actual allocations and pass the real host-eviction/restore correctness fixture with synthetic acceptance disabled; server startup alone is not restore proof. Existing empty-stream errors remain unresolved, and neither a TP4 B300 runtime pass nor an improved frontier is claimed.
中文
本 PR 直接叠加在未修改的 TP8 HiCache draft #4729(
b4acc6d)上,测试 B300 的 GLM-5.3-Flash NVFP4 TP4。性能矩阵包含 OFF 并发 8 锚点,以及 32、48、64、96 的 OFF/ON 配对。两组均保留 TP8 子分支的 admission/decode-graph cap96,不额外改变 cap。配置只启动一个 TP4/EP1 worker,使用四张 GPU,但仍保留原有八 GPU 独占节点,不启动第二个副本,也不释放另外四张卡。必须同时报告按四张活跃 GPU 归一化的前沿和按八张预留 GPU 计费的整节点前沿;在相同每 GPU 小时价格假设下,按八张预留 GPU 计算的每美元总 token 数为按四张活跃 GPU 计算值的一半,每 token 成本则翻倍。活跃 GPU 效率提高不代表整节点经济性一定提高,需检查 AllocTRES、worker 可见设备和 resource snapshot 的 configured/backend GPU 数。
同一固定镜像在 GB300 上已有 TP4/EP1、EAGLE 5/1/6、TRT-LLM DSA、FP8 KV、FlashInfer TRT-LLM MoE 的成功运行。根据其 cap128 实测分项,仅将 speculative scratch 从 129 个槽位换算为 97 个槽位,cap96 计划占用约 214.70 GiB/rank,低于 B300 fraction0.85 对应的约 228.30 GiB 静态预算。这只是 ARM64 GB300 的跨硬件估算,不是 x86 B300 TP4 实测;实际 pool、图捕获和剩余内存仍需验证。
ON 使用原生自动 host fraction0.65、
write_through、kernel和page_first,不设置 size/ratio,不增加自定义 guard 或引擎补丁。dram-utilization: 1.0经现有历史上限和四卡份额计算得到 1499 GB 名义元数据,不是实际预留或 pool 分配;原生 allocator 可能看到整台独占节点的可用 host 内存,必须记录实际联合 pool 和 cgroup 限制。保留官方固定镜像、模型 revision、NVFP4 target、原始 draft 加载路径、禁用转换标志、完整 1,048,576-token 上下文、393-entry AgentX 数据集和 3600 秒时长,性能使用共享实测 AL
3.603536。新增 TP4 的 OFF c16 和 ON c32 独立 canonical eval,均为完整 1319 题、关闭 synthetic acceptance;使用不同 eval 并发避免现有标识冲突。原 TP8 配置及 ON c32 eval 均不修改。本 PR 保持实验性 draft,无 GPU sweep 标签。全量运行前必须检查实际分配并通过关闭 synthetic acceptance 的真实 host eviction/restore 验证;启动成功并不能证明 restore 正确。既有空响应错误仍未解决,当前不宣称 B300 TP4 已通过运行或已改善前沿。
AI model disclosure
GPT-6 Astra coordinated and implemented this TP4 child. Delegated GPT-6 Astra agents supplied exact-build GB200/GB300 TP4 runtime evidence, HiCache source and budget audits, evaluation-plan checks, and active-versus-reserved allocation accounting.