Repository navigation
Default served Gemma QAT to exact MTP acceptance - #1563
Draft
jonathan308 wants to merge 2 commits into
Draft
jonathan308 wants to merge 2 commits into
jonathan308 wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Shard 3 failed in DistributedQwenMediaLifetimeTests.cancelledSubmitStillWaitsForProducerAndNative, which this branch does not touch and which flaked the same way on #1665. d-inference CI is not re-run in place, because Release Integrity fails on a second run attempt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jonathan308
force-pushed
the
codex/gemma-gpqa-regression
branch
from
November 8, 2026 07:57
f9d9888 to
30ac8e5
Compare
This was referenced Nov 9, 2026
This branch had an error being deployed
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.
When
gemma-4-26b-qat-4bithas no explicit MTP acceptance setting, the provider currently selects lossy typical acceptance. This change selects exact acceptance for that served profile. Explicit per-model and global settings retain their existing precedence; other model defaults remain unchanged.The change addresses an observed sampled-reasoning repetition failure. On one preselected local GPQA case, latest-master typical acceptance reached the 32,768-token cap without answering; exact acceptance stopped at 20,629 tokens with the correct answer. This is evidence for a mitigation, not proof of the full October hosted GPQA regression or performance parity. Keep this draft until expanded quality and fixed-work performance gates settle.
Follow-up diagnostic: a broader reasoning-enabled run found two capped repetitive outputs with exact acceptance too. That run was interrupted to investigate the failures and is excluded from aggregate accuracy and qualification claims. This policy change is not yet demonstrated to fix the full regression. Matched MTP-off, math-setting and historical-release controls are in progress.
Before
flowchart LR A["MTP acceptance request"] --> B{"Explicit setting?"} B -->|"Yes"| C["Per-model, then global override"] B -->|"No: Gemma QAT"| D["Typical acceptance"] D --> E["Sampled output may change"] classDef input fill:#17375e,color:#fff,stroke:#7bb5f2; classDef policy fill:#5d430a,color:#fff,stroke:#e9bf55; classDef outcome fill:#663333,color:#fff,stroke:#e6a2a2; class A input; class B,C,D policy; class E outcome;After
flowchart LR A["MTP acceptance request"] --> B{"Explicit setting?"} B -->|"Yes"| C["Per-model, then global override"] B -->|"No: Gemma QAT"| D["Exact acceptance"] D --> E["Retain target sampling rule"] classDef input fill:#17375e,color:#fff,stroke:#7bb5f2; classDef policy fill:#5d430a,color:#fff,stroke:#e9bf55; classDef outcome fill:#22553d,color:#fff,stroke:#80cba1; class A input; class B,C,D policy; class E outcome;The resolver is shared by provider, standalone serving and engine factory paths. This patch changes the default policy, its tests and canonical documentation; it does not change the drafter, verifier, attention kernels or cache implementation. No configuration migration is required. An explicit
typicaloverride continues to opt into that behavior.Validation:
78589e9: provider unit tests, provider SDK tests, prompt parity, docs, release integrity, signatures and CodeQL passed.MTPAcceptanceConfigTests: 7 passed, including missing settings, per-model/global precedence, explicit overrides, invalid-value handling and other model defaults. Post-refactor rerun: 7 passed.--versionreports 0.10.0. Production-configuration model startup remains pending. The retained baseline binary is unchanged.git diff --check, docs-impact and changelog checks: PASS.make docs-check: PASS after fetching complete commit history and materializing the checked documentation evidence. The earlier 13 shallow-history link failures are resolved without changing the checker or historical documents.Outstanding gates: expanded reasoning-enabled GPQA, repeated question/cache restoration, fixed-work latency/throughput and memory comparisons, and production-configuration startup on the final candidate binary. Exact acceptance can reduce speculative throughput; no performance non-regression claim is made. Historical hosted request bodies and per-request artifact identities are not fully known. This PR does not publish weights, register models, release a provider or deploy changes.
Related: open PR #1379 proposes a broader exact-default policy. Reconcile policy ownership before merging; this draft is intentionally scoped to the current Gemma QAT profile.
Need help on this PR? Tag
@codesmith-botwith what you need.