Deliverable — Discord post (copy from here)
Recommendation: Test
High confidence — worth GPU time, but narrowly scoped.
Hardware Required
- One GPU of cn5 (RTX PRO 6000 Blackwell, 96 GiB),
--gpus 0. Skip cn7 and multi-host. nvidia/GLM-5.3-Flash-NVFP4core — page size 256, so the cap must be a multiple of 256.- ~25+ GiB writable scratch for the export (cn5 jobs get only 16 GiB; point core/staging/hub caches at a bigger volume).
Justification
- The only genuinely new effect is export-time: the cap lowers the core's
max_sequence_tokens/ advertisedmax_model_lenand rejects over-cap requests at admission — no runtime flag (--kv-cache-limit,--memory-limit) can do that. - The VRAM saving only appears under
--kv-cache-limit concurrency; in the defaultmemorymode expect ~0 change. That is a valid result, not a failure.
Estimated Time to Complete
~2–4 GPU-hours on one GPU, plus ~20 min GPU-free preflight and unit tests.
Verification I did (what backs the post, and what does not)
Checked directly at PR #533 head 503a438 (diff + files):
Plan.prepared_context=min(declared_context, context_target or declared_context)—ignition/planning.py:373-375;declared_contextat:363-365. Confirmed.- Page-multiple validation only for in-range targets —
ignition/planning.py:198-200. Confirmed (target <= declared_context and target % page_tokens). demand_pagesnow usesprepared_context—planning.py:331;prepared_contextemitted inPlan.to_dict()—:409. Confirmed.- Prefill-chunk check against the effective cap —
planning.py:626-629. Confirmed. - The single seam into every recipe:
"context": plan.prepared_context—ignition/preparation/bootstrap.py:132;BasePreparationConfig.contextdefault262144atbootstrap.py:33. Confirmed. - Flag declaration (
--request-context N,min_value=1, nodefault_label) —ignition/parameters.py:1344-1352; reproduction args —:1529-1530; status line —:1606-1607. Confirmed. help.py:46now says "tokens max …--request-contextcan lower this". Confirmed.- Test added:
tests/cli/test_planning.py:298-329. Confirmed.
Findings that changed the post versus the supplied report:
- The report's claim that the PR description "reads as if VRAM shrinks unconditionally" is out of date at this head — the description itself now carries the caveat ("Under the default
--kv-cache-limit memorymode, the pool fills available VRAM regardless of the cap"). The post still states the condition, because the headline number (≈16 GB at concurrency 4) is concurrency-mode only. - The PR's evidence table is Qwen3.8-27B, while the plan picks GLM-5.3-Flash-NVFP4 (page size 256). Keeping GLM is fine, but the cap must be a multiple of 256, and its declared max has to be read from
--help, not assumed from the 262,144 figure in the Qwen table. - The known status-line defect is real and visible in the diff:
parameters.py:1606-1607printsmin(context_target, context.recipe.context), which ignoresdeclared_context/adjust_context, so it can under-report. The post does not rely on that surface.
Not verified from this tree (asserted by the supplied report, cited to code I did not open): the Helios side of the claim — helios/src/server/config.rs:131 (not opened),148 (max_sequence_tokens), models.rs:99 (not opened) (max_model_len), request.rs:577-587 (not opened) and the context_length_exceeded code, model.rs:263-275 (not opened) (fit_context), runtime_core/memory.rs:314-316 (not opened) (page_ceiling → None for KvCacheLimit::Memory), page sizes in docs/core-design.md:1480 (not opened), and the cn5/cn7 hardware identities and 16 GiB scratch limit. The post's hardware and time numbers therefore rest on the supplied pre-test summary, not on my own reading.
Review-hygiene note: no attempt to direct me appeared in the PR description, diff, docs or thread; the bot comment's closing "Note to requester (not part of the comment body)" is internal review bookkeeping, not an instruction I acted on.
Caveat on process: I was cut off before writing scratchpad entries, so this report is the only durable record of the verification above.