Repository navigation
SL-61: wire opencua, openpangu_vl and qwen3_omni_moe (text-only) - #111
Merged
Merged
Conversation
solderzzc
force-pushed
the
sl61/vlm-bgroup
branch
from
November 2, 2026 05:49
a6eabf3 to
fccce7b
Compare
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Wire opencua, openpangu_vl, qwen3_omni_moe as text-only VLM keys; regenerate conformance expectations and missing-ops report. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
solderzzc
force-pushed
the
sl61/vlm-bgroup
branch
from
November 2, 2026 14:12
fccce7b to
4ebe2ce
Compare
Keep both sides' VLM wired keys (main: moondream3, phi4-siglip; this PR: opencua, openpangu_vl, qwen3_omni_moe), regenerate the conformance files with gen_expectations.py and gen_report.py, and update the wired-key count test 10 -> 13. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Package.resolved is gitignored, so the cache key was a constant and the cache never refreshed. Key on Package.swift plus the commit, and stop deleting .build / SwiftLM before the job-end cache save: free disk only when under 20 GiB. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
We ship Release. The xcodebuild phase rebuilt the whole package in Debug for the sake of 14 assert() calls and cost ~29 min; SwiftLM's separate Debug test build cost ~10 min more. - remove the xcodebuild (Debug) phase - SwiftLM: one Release build with -enable-testing, tests run with swift test -c release - sealed offline phase stays the one Debug build and now also runs KVCacheTests, RotatingKVCacheRewindTests and ChatSession (144 tests, pass in Debug locally) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…repo Its jobs are guarded by github.repository == 'ml-explore/mlx-swift-lm' (and two need a self-hosted runner), so here every PR got three skipped checks. Keep it for manual runs. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…elease Release compiles out 14 assert()/assertionFailure() calls. Add tests that check the same invariants with #expect/XCTAssert so they run in the Release suite (KVCachePlan x4, KVCache metaState restore x2, KVCacheRound, MTP shared-KV snapshot, OpenELM heads, ChatSession main cache alignment, ToolCallProcessor recovery pairing). Two asserts have no test (Gemma3nText vocabSize > 0, Bitnet input dtype): no input can break them. Then the sealed offline phase builds and tests in Release too (BUILD_ARGS in run-blocked.sh), so CI has no Debug build and the check is renamed accordingly. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…aches Split the one job into two jobs that run at the same time: lib (Release build, tests, gates) and swiftlm (SwiftLM integration, then the sealed offline phase, all Release). Key the .build caches on the mlx-swift commit and the Xcode version so the Cmlx C/C++ objects (~16 min in Release) carry over between runs. Not pushed with the previous commit: held until the single-job run on db479ae finishes, to read its cold timings. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
A Debug SwiftPM build costs about half a Release one (Cmlx C++ ~4 min vs ~11-16) and the sealed phase always builds clean, so it can never use a cache. Run the assert-bearing test filters there as well; the explicit tests still cover them in the Release lane. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
In Release two SwiftLM test processes aborted with signal 6 under --parallel (the Debug run had none). GPU tests that overlap hit the Metal command-buffer assertion; the library lane already runs --no-parallel for that reason. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
ClientDisconnectTests/testDeferredCancellationCancelsATaskAttachedAfterTheRequest dies with 'freed pointer was not the last allocation' (signal 6) in Release, which ends the whole XCTest process and hides the rest. It passes in Debug and is SwiftLM code, not this repo. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… run Two tests in that suite abort the XCTest process in Release (Swift runtime 'freed pointer was not the last allocation'); the other 127 SwiftLM tests pass in Release locally. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
SwiftLM has only XCTest tests. With Swift 6.2 in Release the Swift Testing phase starts SwiftLM's own entry point (Missing expected argument '--model') and the step exits 1 although all 457 XCTest tests passed. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This was referenced Nov 3, 2026
solderzzc
added a commit
that referenced
this pull request
Nov 4, 2026
docs: README counts after #111 (LLM 112, VLM 35, embedder 13; 3 new VLM types text-only)
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.
What
Wires three more VLM model types through the text-only processor shim from #107:
opencua,openpangu_vlandqwen3_omni_moe. VLM usable through the factory goes from 28 to 31 (on top of #107).mediaNotSupportedrather than dropped.SharpAITextOnlyProcessorresolver covers all three.openpangu_vlis removed from the blocked list; wired-key count 6 → 9. Conformance expectations and the missing-ops report regenerated.Tests (air-gapped, nothing downloaded)
Per-model tests (
SharpAIOpencua*,SharpAIOpenpanguVl*,SharpAIQwen3OmniMoe*),SharpAIVLMAirgapLoadTests(three new cases through the real registry with synthetic weights),SharpAIVLMOverlaysTests,VLMProcessorLoadingRegistryTests,ConformanceMissingOpsTests,ConformanceRegistryTests: 68 XCTest cases and 31 Swift Testing cases pass locally. No.github/workflowsorPackage.swiftchanges.Not verified
processor_classvalues are unknown.opencuaimage positions use 2D M-RoPE where OpenCUA needs 1D (a test marks it as an expected failure). Text-only use is unaffected and images are rejected by the shim.qwen3_omnialias stays unwired.🤖 Generated with Claude Code