Skip to content

hyperloom entrypoint: the GTT-room gate's default need is a round 24 GiB while the workload states 20.21, so it refuses windows that fit inside the 95 GiB rule #1471

Closed

Description

@bong-water-water-bong

#1439 gave the entrypoint a GTT-room gate. Its default need was 24 GiB — a round number, not a measured one.

The workload states its own requirement, and 1bit serve prints it at load:

need 20.21 GiB (weights 16.35 + KV/state 1.40 + compute 0.50; draft 1.96)

Measured consequence, strixhalo 2026-11-08

A long-context hyperloom optimize session (27B UD-Q4_K_XL, 20,480 ctx), three attempts, zero measurements. Two were refused inside the claim by the gate itself:

attempt GTT at pre-check GTT at grant gate verdict what 20.21 GiB would have said
06:26 57 GiB 75 GiB refused (75+24=99 > 95) 95.21 > 95 — correctly refused
08:18 64 GiB 74 GiB refused (74+24=98 > 95) 94.21 ≤ 95 — fits, and the engine's 104 GiB ceiling had 30 GiB of budget free

So one of the two refusals threw away a window that was inside the box's own rule, and the PR's own guardrail refused it. The constant is the defect: 24 is 3.8 GiB of invented margin on a number the workload publishes.

Note the engine's guardrail (#680) would also have accepted the 08:18 window — it refuses only when its pool budget is exhausted (104 − 74 = 30 GiB free vs 20.21 needed) — so both the box rule and the engine said yes while this adapter said no.

Fix

Default HL_GTT_NEED_GIB to 21 GiB (the measured 20.21 plus a hair), keep the rule at 95, and carry the measured basis in the comment so the next person does not round it again. Behaviour is otherwise unchanged, including the two-place check.

Reproducer (device-free)

The arithmetic above is checkable from the two refusal lines in the session's own scriptable_stderr.log. The gate's refusal path itself is unchanged by this PR and stays covered by the three-path proof in #1439.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions