Repository navigation
Enable GPT-OSS 20B complete SSD prefix caching by default - #894
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0b0a3304ff
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Final qualification and review are complete on
External workflow gates still shown on GitHub: Threat Model Review fails with Anthropic HTTP 401 ( |
Enable SSD prefix caching by default for the resolved
gpt-oss-20blisting. Repeated prompts and changed-question branches now reuse authenticated full-attention and sliding-window checkpoints through the already merged native implementation. The previous default left this capability disabled.Built from latest master
ef7b5a9aa(v0.9.2) in a fresh worktree. Native pins and provider version stay unchanged. API aliases inherit the default of their resolved build; other provider artifact IDs remain opt-in. Explicit cache disable and contiguous fallback remain cold, and resident retention remains opt-in.flowchart LR subgraph Before A[Resolved GPT-OSS request] --> B[PrefixCachePolicy.isEnabled: false] B --> C[No default SSD store] C --> D[Full prompt prefill on repeats] end subgraph After E[Resolved GPT-OSS request] --> F[PrefixCachePolicy.isEnabled: exact listing true] F --> G[Fresh load hash and prepareCompletePrefixCache identity gates] G --> H{Authenticated same-tenant paged checkpoint?} H -->|Hit| I[Restore full rows and sliding windows, prefill suffix] H -->|Disabled, unsupported or miss| J[Cold prefill] I --> K[Generate answer] J --> K endQualification report and retained evidence.
The matrix uses the same pinned catalog model, prompts, paged backend and production KV grant, with MTP off and production numerical defaults. Every warm row restores 4,096 tokens with zero replay. Actual native width 2/4 is observed in every corresponding cohort, in both arms. All 84 main answers and 30 natural control answers pass; tenant isolation, cancellation/recovery and accounting pass. All 42 paired final JSON answers match. Complete token sequences match in 34/42 pairs; the other eight differ only in reasoning wording. These are bounded synthetic tasks and small timing samples, not broad quality or statistical claims.
Additional validation:
MLX_ENABLE_TF32=0, unchanged assertions/tolerances. Original default-TF32 failures are retained; production model runs leave the flag unset.The historical September 6 strict B2 token-parity failure remains unchanged. This PR adds current runtime/task and cache-state qualification; it does not claim a causal fix for that historical divergence. All failed or refused attempts are retained, including the corrected test-width assumption, parser/ownership harness fixes and thermal/host-occupancy refusals.
Test keys are isolated and ephemeral. Engine reconstruction is not production-Keychain process recovery. Coordinator routing activation and a connected live coordinator/provider run are outside this validation. No release, deployment or model-catalog mutation is included.
Final head
bbb46b21fa2efc0fc3b23598bf4da5e929a285b0: Codex completed review with 👍 and no unresolved findings. Provider, coordinator, docs, lint and release-integrity CI and E2E integration CI pass; all CodeQL checks pass.Two external workflow gates remain: Threat Model Review fails because its Anthropic credential returns HTTP 401 (
API key is invalid), and E2E Benchmarks awaits the protectedbenchmarksenvironment approval. Neither check has been bypassed. The dedicated M5 qualification above is complete. This PR is ready for review; the workflow dashboard is not entirely green.