release(provider): v0.6.30 — roll back Gemma4 compiled decode (revert to 0.6.28 engine)#489
Conversation
… to 0.6.28 engine) Reverts libs/mlx-swift-lm 5d0a084 (compiled decode + bf16 conversion, shipped in v0.6.29) -> e5d0a94 (v0.6.28's engine). v0.6.29's compiled-decode cold start (26GB model load + bf16 conversion + compile() graph trace) blew the TTFT deadline for Gemma under the 00:00 UTC surge; the fleet-wide rollover cold-started into peak and Gemma dropped to ~2% success (503 / 504 first_chunk_timeout). This restores 0.6.28's known-good decode path. v0.6.30 = 0.6.28 engine + version bump. Kept #483 (DH-key chunk-encryption precompute) — unrelated to the breakage, proven safe since 0.6.29. Bumps ProviderCore.version + coordinator LatestProviderVersion 0.6.29 -> 0.6.30. Re-warm/pre-compile fix tracked in DAR-378 before re-attempting compiled decode.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ethenotethan
left a comment
There was a problem hiding this comment.
Automated Code Review — Layr-Labs/d-inference#
Verdict: COMMENT
Security — ⚠️ SKIPPED
Error: OpenRouter HTTP 402: {"error":{"message":"Insufficient credits. Add more using https://openrouter.ai/settings/credits","code":402}}
Performance — ⚠️ SKIPPED
Error: OpenRouter HTTP 402: {"error":{"message":"Insufficient credits. Add more using https://openrouter.ai/settings/credits","code":402}}
Type_diligence — ⚠️ SKIPPED
Error: OpenRouter HTTP 402: {"error":{"message":"Insufficient credits. Add more using https://openrouter.ai/settings/credits","code":402}}
Additive_complexity — ⚠️ SKIPPED
Error: OpenRouter HTTP 402: {"error":{"message":"Insufficient credits. Add more using https://openrouter.ai/settings/credits","code":402}}
✅ All four passes clean. No issues found.
🤖 Automated review by Centaur · DAR-186
|
No files in this PR match any Trust boundaries touchedNone formally. The changes sit adjacent to TB-001, TB-002, and TB-007 but are not currently mapped. Per-file assessment
Action required: This file should be added to the
Action required: Add
Action required: Add this file to T-013, T-014, T-015, and T-033. For this PR, verify that no security-critical startup step (anti-debug, SIP assert, binary hash, persistent SE key load) has been deferred, made conditional, or moved after any code that touches network or disk. New threat-model surface introducedNone confirmed from file paths alone, but the gap is real: SEC-* findings resolvedNone — this PR makes no changes to files currently mapped to open findings. 🔐 Threat model: |
Incident rollback
v0.6.29's compiled-decode engine (
mlx-swift-lm 5d0a084:compile()graph trace + bf16 weight conversion) has a heavy cold start. During the 00:00 UTC surge the fleet-wide v0.6.29 rollover cold-started into peak load — the ~26 GB Gemma model couldn't load + convert + compile within the TTFT deadline, so Gemma dropped to ~2% success (503provider_error/ 504first_chunk_timeout), an effective outage. gpt-oss survived (smaller, warms fast).Change
libs/mlx-swift-lm5d0a084→e5d0a94(v0.6.28's known-good engine — no compiled decode, no bf16 conversion, no cold-start penalty).ProviderCore.version+ coordinatorLatestProviderVersion0.6.29 → 0.6.30so the fleet auto-updates forward out of the broken 0.6.29.v0.6.30 = 0.6.28 decode engine + version bump (+ #483).
Before / After
flowchart LR subgraph "v0.6.29 (broken)" A1[Gemma req] --> B1[cold box: load 26GB + bf16 + compile] --> C1[TTFT deadline blown -> 503/504] --> D1[~2% success] end subgraph "v0.6.30 (rollback)" A2[Gemma req] --> B2[0.6.28 engine: load 26GB, no compile] --> C2[first token in ~1.8s] --> D2[serves normally] endFollow-up
Compiled decode returns only after DAR-378 (pre-warm / pre-compile at load, off the request critical path) so the cold-start cost is amortized during load, not paid on a live deadline-bound request.
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.