Skip to content

fix(metal): publish Nemotron fallback capacity without - #2195

Merged
ashhart merged 4 commits into
mainfrom
lead/s243-r18
Nov 5, 2026
Merged

ashhart merged 4 commits into
mainfrom
lead/s243-r18

Conversation

@ashhart

@ashhart ashhart commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Nemotron-H on Metal now publishes its existing 262,193-token prompt-plus-reply limit in /v1/models when neither the checkpoint nor --context supplies a window. The allocation stays 262,209 positions and the prefill guard still reserves 16.

A discovery-only Info field preserves the existing zero-window admission policy. Reusing the server preflight window would change over-limit error responses and implicit reply clamping. The backend and host witness share the exact allocation/guard helper; all other engines retain their existing discovery and admission.

The main witness fails because discovery omits the limit. After the change, the actual chat route returns 200 at 262,145 and 262,193, and preserves main's identical 500/PromptTooLong payload at 262,194. Omitted and zero max_tokens retain the existing over-limit behavior. Known windows, model discovery and thinking-reserve checks pass. Full host server and HTTP parity/security goldens pass with zero unexpected differences.

Actual Metal startup and real-checkpoint execution remain unchecked; no GPU or model run was performed.

Refs #2139.

ashhart added a commit that referenced this pull request Nov 5, 2026
Attach the pure limits module to isolated server and parser tests instead
of every production server. Native Metal compilation keeps the family's
existing owner for limits.zig.

Keep the discovery and admission boundary tests, including the original
backend guard, without changing runtime behavior or duplicating arithmetic.

Refs #2195, #2139.
ashhart added a commit that referenced this pull request Nov 5, 2026
Attach the pure limits module to isolated server and parser tests instead
of every production server. Native Metal compilation keeps the family's
existing owner for limits.zig.

Keep the discovery and admission boundary tests, including the original
backend guard, without changing runtime behavior or duplicating arithmetic.

Refs #2195, #2139.
ashhart added a commit that referenced this pull request Nov 5, 2026
Attach the pure limits module to isolated server and parser tests instead
of every production server. Native Metal compilation keeps the family's
existing owner for limits.zig.

Keep the discovery and admission boundary tests, including the original
backend guard, without changing runtime behavior or duplicating arithmetic.

Refs #2195, #2139.
Attach the pure limits module to isolated server and parser tests instead
of every production server. Native Metal compilation keeps the family's
existing owner for limits.zig.

Keep the discovery and admission boundary tests, including the original
backend guard, without changing runtime behavior or duplicating arithmetic.

Refs #2195, #2139.
@ashhart
ashhart merged commit 002c9e0 into main Nov 5, 2026
3 of 7 checks passed
ashhart added a commit that referenced this pull request Nov 5, 2026
Attach the pure limits module to isolated server and parser tests instead
of every production server. Native Metal compilation keeps the family's
existing owner for limits.zig.

Keep the discovery and admission boundary tests, including the original
backend guard, without changing runtime behavior or duplicating arithmetic.

Refs #2195, #2139.
@ashhart
ashhart deleted the lead/s243-r18 branch November 10, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant