Skip to content

Integrate Qwen3.8 and DFlash2 runtime support - #5

Merged
Satchitananda merged 2 commits into
mainfrom
bench/qwen38-comparison
Sep 6, 2026
Merged

Satchitananda merged 2 commits into
mainfrom
bench/qwen38-comparison

Conversation

@Satchitananda

@Satchitananda Satchitananda commented Sep 6, 2026 •

Copy link
Copy Markdown
Owner

Intent and behavior

Enable the requested Qwen3.8 checkpoints and import DFlash2 text decoding support. This combines upstream PR545 (1a562aa) and PR607 (65c7f45) with prerequisites through e3d4a20; PR607 does not include PR545. The prerequisite import spans runtime, tests and the package manifest, with upstream workflows excluded.

The fork retains its local MLX dependency, Gemma4 audio/assistant support, generation configuration, and grammar-owned stop-string override. Projection stacking rejects unsupported per-tensor global scales.

Validation and review

  • Retained fresh scratch runtime build and serial full-precision gate: 611 XCTest passes, one skip, and 833 Swift Testing passes. The companion standalone-MTP fix subsequently passed 835 Swift Testing cases with the same XCTest result. The existing disabled three-test ConstraintCachingTests suite is disclosed in the integration note.
  • Structured and Catalog consumer gates, Qwen visual processing, and both Qwen quantizations at all exposed Director reasoning settings have passing retained evidence. Source/consumer review found no remaining runtime blocker.
  • This readiness update changes documentation only: tested runtime bytes are unchanged. Documentation now distinguishes baseline thinking-off from configurable Director reasoning and correctly states that upstream-only workflow jobs skip in this fork, regardless of draft status.

Scope, dependencies, and risk

Use MLX upstream-sync, Structured #4, and Catalog #130. Merge this before standalone-weight PR6.

DFlash2 supports the imported text target; production VLM and stateful constrained-grammar paths keep standard decoding. This broad runtime import requires review of the recorded cache/processor/generation changes. Exact provenance and test commands are in QWEN38_INTEGRATION.md.

No model defaults, signing, permissions, storage, telemetry, or cloud endpoints change. Fixtures use synthetic temporary checkpoints. No user-derived reports or data are committed.

Comparison status

The owner requested that local benchmarks stop and restart later. Completed measurements and partial attempts are preserved; the full three-trial replacement comparison remains unfinished. Source readiness does not imply a model promotion or a completed performance claim.

@Satchitananda
Satchitananda force-pushed the bench/qwen38-comparison branch from 6f4398f to 25d178a Compare September 6, 2026 20:18
@Satchitananda
Satchitananda merged commit 7cb14dc into main Sep 6, 2026
2 checks passed
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