Repository navigation
[DNM, Experimental] GLM-5.3-Flash B300 NVFP4 HiCache concurrency / [DNM, Experimental] GLM-5.3-Flash B300 NVFP4 HiCache 并发实验 - #4729
Closed
functionstackx wants to merge 13 commits into
Closed
functionstackx wants to merge 13 commits into
functionstackx wants to merge 13 commits into
Conversation
Contributor
|
Thanks for the contribution!
中文感谢你的贡献!
|
Contributor
|
View unofficial run (performance): https://inferencex.semianalysis.com/inference?unofficialRun=41352674113 View unofficial run (accuracy): https://inferencex.semianalysis.com/evaluation?unofficialRun=41352674113 |
Collaborator
|
/use 41352674113 |
Contributor
|
@Oseltamivir staging run 41352674113. Existing staged runs will be preserved; a completion link will be posted here. |
Oseltamivir
changed the base branch from
feat/glm53flash-fp4-b300-sglang
to
main
November 5, 2026 11:26
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.
Add a bounded B300 NVFP4 HiCache experiment stacked directly on #4711 (
6950741). The passed parent sweep still gains throughput at concurrency 32, but its low KV-pool occupancy, high actual cache hit rate, and lack of observed retractions do not establish that CPU caching will improve the frontier. This child tests that hypothesis without changing the parent configuration.The new performance key pairs cache OFF and ON at concurrency 32, 48, 64, and 96. Both arms use
max-running-requests=96andcuda-graph-max-bs-decode=96, compared with 64/64 in the parent; compare the child arms directly rather than attributing the cap change to HiCache. OFF useskv-offloading=none; ON useskv-offloading=dramwith backend identityhicache,enable-hierarchical-cache,write_through,kernel, andpage_first.ON uses only
hicache-host-memory-fraction=0.65for native automatic host allocation. It supplies no explicithicache-sizeorhicache-ratio, no custom memory guard, and no engine patch. Actual allocation depends on live available RAM/cgroup headroom, local rank count, and the upstream combined target/Mamba/draft/indexer budget; the configured fraction is not an observed pool size.The required ON
dram-utilization: 1.0metadata means 100% of the existing nominal eligible DRAM budget, subject to the generator's legacy approximately 3,000-GB cap; it is neither allocated/reserved host RAM nor the native HiCache fraction. OFF's generated zero denotes no offload metadata, not zero physical RAM. Both arms retain the same eight-GPU exclusive Slurm node and physical host allocation; fresh runtime evidence must report actual pool bytes separately.The experiment keeps the official digest-pinned SGLang v0.5.22-cu130 image and build, checkpoint revision, TP8/EP1, NVFP4 target, shipped draft-loading path, disabled precision-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 shared connector's measured AL
3.603536; it does not collect another curve.Two append-only changelog entries separate performance from accuracy: the paired performance key has
no-evals: true, while a dedicated HiCache-ON c32 key hasevals-only: trueandall-evals: true. This preserves one explicit ON canonical GSM8K evaluation with all 1,319 examples and synthetic acceptance disabled, rather than allowing OFF/ON engine-environment grouping to drop the ON evaluation. The existing OFF accuracy evidence belongs to the parent; it is not a new child result.This is an experimental draft with no GPU sweep label. Before any full child sweep, review live host headroom and resolved pool bytes, then establish a real host-eviction/restore correctness fixture with synthetic acceptance disabled. Merely starting an ON server or passing a low-concurrency canary does not prove host restoration. The parent's empty-stream errors remain unresolved; no child throughput gain, error-free behavior, or live draft-tensor dtype observation is claimed.
中文
本实验直接叠加在 #4711 的
6950741上,不修改父 PR 配置。父分支的成功 sweep 在并发 32 仍有吞吐增长,但 KV 占用较低、实际 cache hit 较高,且未观察到请求回退,尚不能证明 CPU HiCache 会改善前沿,因此新增受控 OFF/ON 对照。两组均使用并发 32、48、64、96,统一
max-running-requests=96和cuda-graph-max-bs-decode=96;父配置为 64/64,比较时需区分这一容量变化。OFF 标识为kv-offloading=none;ON 标识为kv-offloading=dram、backendhicache,并启用write_through、kernel、page_first。ON 仅设置原生自动预算hicache-host-memory-fraction=0.65,不指定 size/ratio,不添加自定义内存 guard 或引擎补丁;实际 pool 大小必须由运行时可用内存、cgroup、rank 数和联合预算确认。ON 所需的
dram-utilization: 1.0表示使用现有名义可用 DRAM 预算的 100%,仍受生成器约 3000 GB 的历史上限约束;它不是实际分配或预留的 RAM,也不是 HiCache 原生 fraction。OFF 生成的零值表示没有 offload 预算元数据,不代表没有物理 RAM。两组保留相同的八 GPU 独占 Slurm 节点和实际 host 资源,后续需单独记录实际 pool 字节数。保留官方 digest 固定镜像、checkpoint revision、TP8/EP1、NVFP4 target、checkpoint 原始 draft 加载路径、禁用精度转换标志、EAGLE 5/1/6、完整 1,048,576-token 上下文、未过滤的 393-entry AgentX 数据集和 3600 秒时长。性能测试通过共享连接器使用实测 AL
3.603536,不重新采集曲线。changelog 将性能与准确率分开:八个性能点使用
no-evals: true,单独的 HiCache-ON c32 key 使用evals-only: true和all-evals: true,保留完整 1319 题的 canonical GSM8K,并关闭 synthetic acceptance,避免 OFF/ON 合并时漏掉 ON eval。已有 OFF 准确率结果来自父 PR,不是子 PR 的新结果。本 PR 保持实验性 draft,未添加 GPU sweep 标签。全量运行前必须审查实际 host headroom、pool 分配,并在关闭 synthetic acceptance 的条件下验证真实 host eviction/restore;成功启动或低并发 canary 不等于完成 restore 验证。父分支的空内容响应错误仍未解决,本 PR 不宣称已取得吞吐提升、零错误或直接观测到运行中 draft tensor dtype。
AI model disclosure
GPT-6 Astra coordinated the experiment and implemented this B300 NVFP4 child. Delegated GPT-6 Astra agents audited exact-build HiCache support and host budgeting, the dedicated evaluation plan, and app metric definitions.