File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 - name : Clear stale module cache
3838 run : find .build -type d -name ModuleCache -exec rm -rf {} + 2>/dev/null || true
3939
40+ - name : Checkout SharpAI/mlx-swift
41+ uses : actions/checkout@v4
42+ with :
43+ repository : SharpAI/mlx-swift
44+ path : ../mlx-swift
45+
4046 - name : Resolve dependencies
4147 run : swift package resolve
4248
Original file line number Diff line number Diff line change @@ -37,17 +37,19 @@ let package = Package(
3737 ] ,
3838 dependencies: [
3939 // ── Dependency Update Flow ────────────────────────────────────────────────
40- // ml-explore/mlx-swift → SharpAI/mlx-swift (sync bot PR + CI) → exact tag below
40+ // ml-explore/mlx-swift → SharpAI/mlx-swift (sync bot PR + CI)
4141 //
4242 // SharpAI/mlx-swift adds custom Metal ops NOT in Apple upstream:
4343 // MLXFast.turboDecodeK/V, turboQuantEncode (TurboKV compression)
4444 // MLXFast.preadInto, prefault (SSD streaming)
4545 // We MUST depend on the SharpAI fork, NOT ml-explore/mlx-swift.
4646 //
47- // Local debug: comment the URL line and uncomment:
48- // .package(path: "../mlx-swift"),
47+ // This package uses a local path reference so the exact commit is
48+ // controlled by WhichEver repo (SwiftLM) has both as submodules.
49+ // In standalone CI, the checkout step clones SharpAI/mlx-swift
50+ // into ../mlx-swift so this path resolves correctly.
4951 // ─────────────────────────────────────────────────────────────────────────
50- . package ( url : " https://github.com/SharpAI/ mlx-swift.git " , exact : " 0.30.6 " ) ,
52+ . package ( path : " ../ mlx-swift" ) ,
5153
5254 . package ( url: " https://github.com/swiftlang/swift-syntax.git " , from: " 600.0.0-latest " ) ,
5355 ] ,
You can’t perform that action at this time.
0 commit comments