Build Information
Successful build of mlx-swift-lm, reference 3.31.4 (bd4b74), with Swift 6.4 for macOS (SPM) on 16 Oct 2026 03:01:51 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewster99/mlx-swift-lm.git
Reference: 3.31.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/drewster99/mlx-swift-lm
* tag 3.31.4 -> FETCH_HEAD
HEAD is now at bd4b743 Add optional seed to GenerateParameters for reproducible sampling (#377)
Cloned https://github.com/drewster99/mlx-swift-lm.git
Revision (git rev-parse @):
bd4b7434e6bdb588c7ef55706ff8904cb7fd4c57
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/drewster99/mlx-swift-lm.git at 3.31.4
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/swiftlang/swift-syntax.git
[1/17176] Fetching mlx-swift
[6185/97953] Fetching mlx-swift, swift-syntax
Fetched https://github.com/ml-explore/mlx-swift (2.85s)
[10502/80777] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (17.89s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (18.60s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/6756] Fetching swift-numerics
[474/25870] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (2.38s)
Fetched https://github.com/apple/swift-argument-parser (2.38s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (12.76s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.57s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.59s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.6
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (1.64s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "mlx-swift-lm",
"name": "mlx-swift-lm",
"url": "https://github.com/drewster99/mlx-swift-lm.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mlx-swift-lm",
"traits": [
"default"
],
"dependencies": [
{
"identity": "mlx-swift",
"name": "mlx-swift",
"url": "https://github.com/ml-explore/mlx-swift",
"version": "0.31.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mlx-swift",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-numerics",
"name": "swift-numerics",
"url": "https://github.com/apple/swift-numerics",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.8.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/drewster99/mlx-swift-lm.git
[1/4330] Fetching mlx-swift-lm
Fetched https://github.com/drewster99/mlx-swift-lm.git (1.75s)
Fetching https://github.com/ml-explore/mlx-swift from cache
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (1.01s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.08s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (1.15s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.67s)
Fetched https://github.com/apple/swift-numerics from cache (0.70s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.78s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.03s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.6
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/drewster99/mlx-swift-lm.git
Working copy of https://github.com/drewster99/mlx-swift-lm.git resolved at 3.31.4 (bd4b743)
warning: '.resolve-product-dependencies': dependency 'mlx-swift-lm' is not used by any target
Found 1 product dependencies
- mlx-swift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/drewster99/mlx-swift-lm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 855]
[Planning deferred tasks]
[144 / 487] mlx-swift-lm_MLXLMTests
[146 / 487]
[151 / 490] _NumericsShims
[159 / 508]
[167 / 508] RealModule
[170 / 534] ArgumentParserToolInfo
[183 / 534]
[188 / 534] RealModule
[199 / 547]
[205 / 547] ComplexModule
[217 / 548] ComplexModule
[233 / 550] Numerics
[238 / 583]
[240 / 583]
[243 / 583]
[249 / 583]
[253 / 583]
[259 / 583] MLXHuggingFaceMacros
[266 / 583]
[268 / 583] MLXHuggingFaceMacros
[270 / 583]
[271 / 583]
[282 / 583] ArgumentParser
[291 / 584] ArgumentParser
[297 / 590] ArgumentParser
[298 / 590] ArgumentParser
[298 / 590] encuda-product
[302 / 590] encuda-product
[318 / 591] Cmlx
[322 / 638] Cmlx
[323 / 638]
[324 / 638]
[326 / 638] MLX
[327 / 638] Cmlx
[330 / 638] Cmlx
[333 / 638] Cmlx
[334 / 638] Cmlx
[337 / 638] Cmlx
[340 / 638] MLX
[342 / 638] MLX
[351 / 638] Cmlx
[355 / 638] Cmlx
[361 / 638] Cmlx
[364 / 638] Cmlx
[367 / 638] Cmlx
[368 / 638] Cmlx
[369 / 638] Cmlx
[370 / 638] Cmlx
[373 / 638] Cmlx
[374 / 638] Cmlx
[377 / 638] Cmlx
[378 / 638] Cmlx
[381 / 638] Cmlx
[382 / 638] Cmlx
[384 / 638] Cmlx
[388 / 638] Cmlx
[389 / 638] Cmlx
[392 / 638] Cmlx
[394 / 638] Cmlx
[395 / 638] Cmlx
[397 / 638] Cmlx
[398 / 638] Cmlx
[399 / 638] Cmlx
[400 / 638] Cmlx
[403 / 638] Cmlx
[404 / 638] Cmlx
[405 / 638] Cmlx
[406 / 638] Cmlx
[408 / 638] Cmlx
[411 / 638] Cmlx
[412 / 638] Cmlx
[413 / 638] Cmlx
[414 / 638] Cmlx
[415 / 638] Cmlx
[416 / 638] Cmlx
[418 / 638] Cmlx
[419 / 638] Cmlx
[420 / 638] Cmlx
[422 / 638] Cmlx
[423 / 638] Cmlx
[425 / 638] Cmlx
[428 / 638] Cmlx
[429 / 638] Cmlx
[431 / 638] Cmlx
[435 / 638] Cmlx
[439 / 638] Cmlx
[441 / 638] Cmlx
[442 / 638] Cmlx
[443 / 638] Cmlx
[444 / 638] Cmlx
[445 / 638] Cmlx
[448 / 638] Cmlx
[449 / 638] Cmlx
[451 / 638] Cmlx
[452 / 638] Cmlx
[453 / 638] Cmlx
[454 / 638] Cmlx
[455 / 638] Cmlx
[457 / 638] Cmlx
[459 / 638] Cmlx
[460 / 638] Cmlx
[461 / 638] Cmlx
[464 / 638] Cmlx
[465 / 638] Cmlx
[467 / 638] Cmlx
[470 / 638] Cmlx
[471 / 638] Cmlx
[472 / 638] Cmlx
[476 / 638] Cmlx
[479 / 638] Cmlx
[480 / 638] Cmlx
[481 / 638] Cmlx
[482 / 638] Cmlx
[484 / 638] Cmlx
[486 / 638] Cmlx
[488 / 638] Cmlx
[489 / 638] Cmlx
[490 / 638] Cmlx
[493 / 638] Cmlx
[497 / 638] Cmlx
[500 / 638]
[505 / 638]
[510 / 638]
[513 / 638]
[517 / 638] MLXNN
[521 / 638] MLX
[522 / 638] MLX
[524 / 638]
[528 / 638]
[531 / 638]
[537 / 638] MLX
[542 / 638] mlx-swift_Cmlx
[543 / 638] MLX
[546 / 638]
[547 / 638] MLX
[548 / 638]
[550 / 638]
[552 / 639]
[554 / 639] mlx-swift_Cmlx
[562 / 650] MLXNN
[564 / 650] MLXNN
[565 / 650] MLXNN
[572 / 651] MLXNN
[576 / 654] MLXOptimizers
[583 / 655] MLXOptimizers
[584 / 655] MLXLMCommon
[593 / 689]
[597 / 689]
[601 / 689]
[603 / 689] Cmlx
[603 / 689]
[604 / 689]
[606 / 689]
[607 / 689] mlx-swift_Cmlx
[618 / 689] MLXLMCommon
[631 / 691]
[632 / 692]
[633 / 693]
[637 / 704] MLXHuggingFace
[639 / 728] MLXHuggingFace
[641 / 728] MLXVLM
[645 / 728] MLXEmbedders
[647 / 728] MLXEmbedders
[654 / 728] MLXHuggingFace
[667 / 728] MLXVLM-product
[669 / 728] MLXLLM
[670 / 728] MLXVLM
[678 / 728] MLXLLM
[680 / 728] MLXLLM-product
[683 / 728] MLXVLM
[684 / 728] MLXHuggingFace
[685 / 728] MLXHuggingFace-product
[687 / 728] MLXHuggingFace-product
[691 / 728] MLXEmbedders
[693 / 728] MLXEmbedders
[696 / 729]
[697 / 730] MLX
[701 / 730] MLXLMCommon
[706 / 730] MLXVLM-product
[706 / 730] IntegrationTestHelpers
[709 / 732] MLXEmbedders
[714 / 734] IntegrationTestHelpers
[725 / 734] MLXLLM
[728 / 734] MLXLLM-product
[728 / 734] BenchmarkHelpers
[731 / 734] IntegrationTestHelpers
[734 / 734] IntegrationTestHelpers-product
Build complete! (47.70 sec)
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/mlx-swift_Cmlx.bundle/Contents/MacOS')
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal:6:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:3:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/attn.h:6:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/../../steel/attn/mma.h:11:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/../../steel/utils/integral_constant.h:108:6: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (start < stop) {
^
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal:6:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:356:16: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (is_bool) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:426:14: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (BD == 128) {
^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:436:14: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
if constexpr (BD == 128) {
^
4 warnings generated.
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen2VL.swift:127:17: [1;33mwarning: [1;39mvariable 'freqsT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m125 |[0;0m freqs = freqs.transposed(0, 1, 3, 2) // [3, batch, seq, dim/2]
[0;36m126 |[0;0m
[0;36m127 |[0;0m var freqsT = freqs[0]
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'freqsT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m128 |[0;0m var offset = mropeSectionRaw[0]
[0;36m129 |[0;0m for dim in 1 ..< mropeSectionRaw.count {
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen25VL.swift:115:17: [1;33mwarning: [1;39mvariable 'freqsT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m113 |[0;0m freqs = freqs.transposed(0, 1, 3, 2) // [3, batch, seq, dim/2]
[0;36m114 |[0;0m
[0;36m115 |[0;0m var freqsT = freqs[0]
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'freqsT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m116 |[0;0m var offset = mropeSectionRaw[0]
[0;36m117 |[0;0m for dim in 1 ..< mropeSectionRaw.count {
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma4.swift:1223:13: [1;33mwarning: [1;39minitialization of immutable value 'hasExplicitCache' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1221 |[0;0m let finalPerLayerInputs = projectPerLayerInputs(h0, perLayerInputs: processedPerLayerInputs)
[0;36m1222 |[0;0m
[0;36m1223 |[0;0m let hasExplicitCache = cache != nil
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'hasExplicitCache' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1224 |[0;0m let localCache =
[0;36m1225 |[0;0m cache ?? Array(repeating: nil as KVCache?, count: max(firstKVSharedLayerIdx, 1))
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Build complete.
{
"dependencies" : [
{
"identity" : "mlx-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.31.4",
"upper_bound" : "0.32.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "602.0.0",
"upper_bound" : "604.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
}
],
"manifest_display_name" : "mlx-swift-lm",
"name" : "mlx-swift-lm",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "MLXLLM",
"targets" : [
"MLXLLM"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXVLM",
"targets" : [
"MLXVLM"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXLMCommon",
"targets" : [
"MLXLMCommon"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXEmbedders",
"targets" : [
"MLXEmbedders"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXHuggingFace",
"targets" : [
"MLXHuggingFace"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BenchmarkHelpers",
"targets" : [
"BenchmarkHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "IntegrationTestHelpers",
"targets" : [
"IntegrationTestHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXHuggingFaceMacros",
"targets" : [
"MLXHuggingFaceMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "MLXVLM",
"module_type" : "SwiftTarget",
"name" : "MLXVLM",
"path" : "Libraries/MLXVLM",
"product_dependencies" : [
"MLX",
"MLXNN",
"MLXOptimizers"
],
"product_memberships" : [
"MLXVLM",
"BenchmarkHelpers",
"IntegrationTestHelpers"
],
"sources" : [
"Gemma4AssistantRegistration.swift",
"MediaProcessing.swift",
"Models/FastVLM.swift",
"Models/Gemma3.swift",
"Models/Gemma4.swift",
"Models/Gemma4Assistant.swift",
"Models/GlmOcr.swift",
"Models/Idefics3.swift",
"Models/LFM2VL.swift",
"Models/Mistral3.swift",
"Models/Paligemma.swift",
"Models/Pixtral.swift",
"Models/Qwen25VL.swift",
"Models/Qwen2VL.swift",
"Models/Qwen35.swift",
"Models/Qwen35MoE.swift",
"Models/Qwen3VL.swift",
"Models/QwenVL.swift",
"Models/SmolVLM2.swift",
"VLMModel.swift",
"VLMModelFactory.swift"
],
"target_dependencies" : [
"MLXLMCommon"
],
"type" : "library"
},
{
"c99name" : "MLXLMTests",
"module_type" : "SwiftTarget",
"name" : "MLXLMTests",
"path" : "Tests/MLXLMTests",
"product_dependencies" : [
"MLX",
"MLXNN",
"MLXOptimizers"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MLXLMTests/Resources/1080p_30.mov",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MLXLMTests/Resources/audio_only.mov",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"BaseConfigurationTests.swift",
"ChatSessionTests.swift",
"EmbeddingPoolingTests.swift",
"EvalTests.swift",
"FalconH1Tests.swift",
"GatedDeltaTests.swift",
"Gemma4AssistantDraftModelTests.swift",
"Gemma4ChunkedPrefillTests.swift",
"Gemma4EmitDrafterStateTests.swift",
"Gemma4PoolingTests.swift",
"Gemma4TextTests.swift",
"Gemma4UnifiedTests.swift",
"KVCacheTests.swift",
"LFM2BidirectionalTests.swift",
"LFM2MoeRoutingTests.swift",
"LLMRegistryTests.swift",
"MTPDrafterModelFactoryTests.swift",
"MTPDrafterModelTests.swift",
"MTPGenerateAPITests.swift",
"MTPGenerateLoopTaskContractTests.swift",
"MTPSpeculativeTokenIteratorTests.swift",
"MTPStatsCollectingTests.swift",
"Mamba2Tests.swift",
"MediaProcessingTests.swift",
"MixtralTests.swift",
"ModelConversionTests.swift",
"NemotronHTests.swift",
"NomicBertTests.swift",
"ParoQuantTests.swift",
"Qwen35SanitizeTests.swift",
"QwenImageBudgetTests.swift",
"ResolveTests.swift",
"RoPEApplicationTests.swift",
"RoPEConfigurationValidationTests.swift",
"SSMTests.swift",
"SampleTests.swift",
"SmolVLM2TilingTests.swift",
"SpeculativeDecodingTests.swift",
"StopStringTests.swift",
"SwitchLayersTests.swift",
"TestTokenizer.swift",
"ToolCallIdTests.swift",
"ToolTests.swift",
"UserInputTests.swift",
"VLMRegistryTests.swift",
"WiredMemoryPolicyTests.swift"
],
"target_dependencies" : [
"MLXLMCommon",
"MLXLLM",
"MLXVLM",
"MLXEmbedders"
],
"type" : "test"
},
{
"c99name" : "MLXLMCommon",
"module_type" : "SwiftTarget",
"name" : "MLXLMCommon",
"path" : "Libraries/MLXLMCommon",
"product_dependencies" : [
"MLX",
"MLXNN",
"MLXOptimizers"
],
"product_memberships" : [
"MLXLLM",
"MLXVLM",
"MLXLMCommon",
"MLXEmbedders",
"MLXHuggingFace",
"BenchmarkHelpers",
"IntegrationTestHelpers"
],
"sources" : [
"Adapters/LoRA/DoRA+Layers.swift",
"Adapters/LoRA/LoRA+Layers.swift",
"Adapters/LoRA/LoRAContainer.swift",
"Adapters/LoRA/LoRAModel.swift",
"Adapters/LoRA/PEFTAdapter.swift",
"Adapters/ModelAdapter.swift",
"Adapters/ModelAdapterFactory.swift",
"Adapters/ModelAdapterTypeRegistry.swift",
"AttentionUtils.swift",
"BaseConfiguration.swift",
"BidirectionalMasks.swift",
"Chat.swift",
"ChatSession.swift",
"Downloader.swift",
"Evaluate.swift",
"Extensions/Encodable+toolResult.swift",
"Extensions/JSONDecoder+JSON5.swift",
"GatedDelta.swift",
"GenerationConfigFile.swift",
"InterpolationUtils.swift",
"JSONDecodingTypes.swift",
"KVCache.swift",
"LanguageModel.swift",
"Load.swift",
"MTPDrafterModel.swift",
"MTPDrafterModelFactory.swift",
"MTPSpeculativeTokenIterator.swift",
"ModelConfiguration.swift",
"ModelContainer.swift",
"ModelConversion.swift",
"ModelFactory.swift",
"Models/Gemma.swift",
"Models/Gemma4.swift",
"Module+Extensions.swift",
"ParoQuant/ParoQuantLoader.swift",
"ParoQuant/RotateQuantizedLinear.swift",
"Registries/AbstractModelRegistry.swift",
"Registries/ModelTypeRegistry.swift",
"Registries/ProcessorTypeRegistry.swift",
"RoPEApplication.swift",
"RoPEUtils.swift",
"SpeculativeDecoding.swift",
"SuScaledRoPE.swift",
"SwitchLayers.swift",
"Tokenizer.swift",
"TokenizerLoader.swift",
"Tool/Parsers/GLM4ToolCallParser.swift",
"Tool/Parsers/GemmaFunctionParser.swift",
"Tool/Parsers/JSONToolCallParser.swift",
"Tool/Parsers/KimiK2ToolCallParser.swift",
"Tool/Parsers/Llama3ToolCallParser.swift",
"Tool/Parsers/MiniMaxM2ToolCallParser.swift",
"Tool/Parsers/MistralToolCallParser.swift",
"Tool/Parsers/ParserUtilities.swift",
"Tool/Parsers/PythonicToolCallParser.swift",
"Tool/Parsers/XMLFunctionParser.swift",
"Tool/Tool.swift",
"Tool/ToolCall.swift",
"Tool/ToolCallFormat.swift",
"Tool/ToolCallProcessor.swift",
"Tool/ToolParameter.swift",
"Tool/Value.swift",
"UserInput+Audio.swift",
"UserInput.swift",
"Utilities/SerialAccessContainer.swift",
"WiredMemoryPolicies.swift",
"WiredMemoryUtils.swift"
],
"type" : "library"
},
{
"c99name" : "MLXLLM",
"module_type" : "SwiftTarget",
"name" : "MLXLLM",
"path" : "Libraries/MLXLLM",
"product_dependencies" : [
"MLX",
"MLXNN",
"MLXOptimizers"
],
"product_memberships" : [
"MLXLLM",
"BenchmarkHelpers",
"IntegrationTestHelpers"
],
"sources" : [
"LLMModel.swift",
"LLMModelFactory.swift",
"Lora+Data.swift",
"LoraTrain.swift",
"ModelConversion.swift",
"Models/AfMoE.swift",
"Models/Apertus.swift",
"Models/BaichuanM1.swift",
"Models/BailingMoe.swift",
"Models/Bitnet.swift",
"Models/Cohere.swift",
"Models/DeepseekV3.swift",
"Models/Ernie4_5.swift",
"Models/Exaone4.swift",
"Models/FalconH1.swift",
"Models/GLM4.swift",
"Models/GLM4MOE.swift",
"Models/GLM4MOELite.swift",
"Models/GPTOSS.swift",
"Models/Gemma.swift",
"Models/Gemma2.swift",
"Models/Gemma3Text.swift",
"Models/Gemma3nText.swift",
"Models/Gemma4.swift",
"Models/Gemma4Text.swift",
"Models/Granite.swift",
"Models/GraniteMoeHybrid.swift",
"Models/Internlm2.swift",
"Models/Jamba.swift",
"Models/LFM2.swift",
"Models/LFM2MoE.swift",
"Models/Lille130m.swift",
"Models/Llama.swift",
"Models/Mamba2.swift",
"Models/MiMo.swift",
"Models/MiMoV2Flash.swift",
"Models/MiniCPM.swift",
"Models/MiniMax.swift",
"Models/Mistral3Text.swift",
"Models/Mixtral.swift",
"Models/NanoChat.swift",
"Models/NemotronH.swift",
"Models/NemotronLabsDiffusion.swift",
"Models/Olmo2.swift",
"Models/Olmo3.swift",
"Models/OlmoE.swift",
"Models/OpenELM.swift",
"Models/Phi.swift",
"Models/Phi3.swift",
"Models/PhiMoE.swift",
"Models/Qwen2.swift",
"Models/Qwen3.swift",
"Models/Qwen35.swift",
"Models/Qwen35MoE.swift",
"Models/Qwen3MoE.swift",
"Models/Qwen3Next.swift",
"Models/SSM.swift",
"Models/SmolLM3.swift",
"Models/Starcoder2.swift"
],
"target_dependencies" : [
"MLXLMCommon"
],
"type" : "library"
},
{
"c99name" : "MLXHuggingFaceMacros",
"module_type" : "SwiftTarget",
"name" : "MLXHuggingFaceMacros",
"path" : "Libraries/MLXHuggingFaceMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"MLXHuggingFace",
"MLXHuggingFaceMacros"
],
"sources" : [
"HuggingFaceIntegrationMacros.swift"
],
"type" : "macro"
},
{
"c99name" : "MLXHuggingFace",
"module_type" : "SwiftTarget",
"name" : "MLXHuggingFace",
"path" : "Libraries/MLXHuggingFace",
"product_memberships" : [
"MLXHuggingFace"
],
"sources" : [
"Macros.swift"
],
"target_dependencies" : [
"MLXHuggingFaceMacros",
"MLXLMCommon"
],
"type" : "library"
},
{
"c99name" : "MLXEmbedders",
"module_type" : "SwiftTarget",
"name" : "MLXEmbedders",
"path" : "Libraries/MLXEmbedders",
"product_dependencies" : [
"MLX",
"MLXNN"
],
"product_memberships" : [
"MLXEmbedders",
"BenchmarkHelpers",
"IntegrationTestHelpers"
],
"sources" : [
"EmbedderModelContainer.swift",
"EmbeddingModel.swift",
"Extensions/MLXArray+Helper.swift",
"ModelFactory.swift",
"Models/Bert.swift",
"Models/Gemma3.swift",
"Models/LFM2Bidirectional.swift",
"Models/NomicBert.swift",
"Models/Qwen3.swift",
"Pooling.swift"
],
"target_dependencies" : [
"MLXLMCommon"
],
"type" : "library"
},
{
"c99name" : "IntegrationTestHelpers",
"module_type" : "SwiftTarget",
"name" : "IntegrationTestHelpers",
"path" : "Libraries/IntegrationTestHelpers",
"product_dependencies" : [
"MLX"
],
"product_memberships" : [
"IntegrationTestHelpers"
],
"sources" : [
"IntegrationTestHelpers.swift"
],
"target_dependencies" : [
"MLXLMCommon",
"MLXLLM",
"MLXVLM",
"MLXEmbedders"
],
"type" : "library"
},
{
"c99name" : "BenchmarkHelpers",
"module_type" : "SwiftTarget",
"name" : "BenchmarkHelpers",
"path" : "Libraries/BenchmarkHelpers",
"product_dependencies" : [
"MLX"
],
"product_memberships" : [
"BenchmarkHelpers"
],
"sources" : [
"BenchmarkHelpers.swift"
],
"target_dependencies" : [
"MLXLMCommon",
"MLXLLM",
"MLXVLM",
"MLXEmbedders"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/drewster99/mlx-swift-lm/3.31.4
Repository: drewster99/mlx-swift-lm
Swift version used: 6.4
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0")
Target: MLXLLM
Extracting symbol information for 'MLXLLM'...
Finished extracting symbol information for 'MLXLLM'. (8.81s)
Building documentation for 'MLXLLM'...
Finished building documentation for 'MLXLLM' (0.95s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/drewster99/mlx-swift-lm/3.31.4
Updating https://github.com/ml-explore/mlx-swift
Fetching https://github.com/apple/swift-docc-plugin
Updating https://github.com/swiftlang/swift-syntax.git
Updating https://github.com/apple/swift-numerics
Updating https://github.com/apple/swift-argument-parser
Updated https://github.com/ml-explore/mlx-swift (0.63s)
[1/2345] Fetching swift-docc-plugin
Updated https://github.com/swiftlang/swift-syntax.git (1.03s)
Updated https://github.com/apple/swift-argument-parser (1.50s)
Updated https://github.com/apple/swift-numerics (1.50s)
Fetched https://github.com/apple/swift-docc-plugin (1.51s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (2.26s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (0.62s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.60s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.56s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.66s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3839] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.02s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Building for debugging...
[Planning deferred tasks]
[18 / 41]
[20 / 43] Snippets
[28 / 90]
[33 / 90]
[36 / 90]
[37 / 90]
[41 / 90]
[43 / 90]
[46 / 90]
[49 / 90]
[51 / 90]
[52 / 90]
[63 / 90] SymbolKit
[64 / 90] Snippets
[81 / 90] snippet-extract-product
[82 / 91] SymbolKit
[82 / 91] Snippets
[90 / 95] snippet-extract-product
[91 / 95] snippet-extract-product
[93 / 95] snippet-extract-product
Build complete! (4.25 sec)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 448]
[Planning deferred tasks]
[1 / 158] ArgumentParser
[16 / 114] RealModule
[22 / 111] RealModule
[38 / 122] ComplexModule
[48 / 133] ArgumentParser
[51 / 129] ComplexModule
[57 / 131] Numerics
[64 / 121] ArgumentParser
[70 / 127] encuda-product
[71 / 127] encuda-product
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/mlx-swift_Cmlx.bundle/Contents/MacOS')
[76 / 120] MLX
[87 / 131] MLX
[91 / 128] MLX
[101 / 139] MLXNN
[103 / 139] MLX
[103 / 138] MLXNN
[108 / 134] MLXOptimizers
[111 / 137] MLXOptimizers
[115 / 134] MLXOptimizers
[127 / 144] MLXLMCommon
[131 / 141] MLXLMCommon
[141 / 152] MLXLLM
[142 / 152] MLXLMCommon
[143 / 151] MLXLMCommon
[143 / 151] MLXLLM
[145 / 147] MLXLLM
Build complete! (7.32 sec)
Target: MLXVLM
Extracting symbol information for 'MLXVLM'...
Finished extracting symbol information for 'MLXVLM'. (4.52s)
Building documentation for 'MLXVLM'...
Finished building documentation for 'MLXVLM' (0.73s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/drewster99/mlx-swift-lm/3.31.4
Building for debugging...
[1 / 11]
Build complete! (0.41 sec)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 448]
[Planning deferred tasks]
[1 / 54]
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/mlx-swift_Cmlx.bundle/Contents/MacOS')
[4 / 12] MLXVLM
[15 / 23] MLXVLM
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen2VL.swift:127:17: [1;33mwarning: [1;39mvariable 'freqsT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m125 |[0;0m freqs = freqs.transposed(0, 1, 3, 2) // [3, batch, seq, dim/2]
[0;36m126 |[0;0m
[0;36m127 |[0;0m var freqsT = freqs[0]
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'freqsT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m128 |[0;0m var offset = mropeSectionRaw[0]
[0;36m129 |[0;0m for dim in 1 ..< mropeSectionRaw.count {
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
[17 / 19] MLXVLM
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Qwen25VL.swift:115:17: [1;33mwarning: [1;39mvariable 'freqsT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m113 |[0;0m freqs = freqs.transposed(0, 1, 3, 2) // [3, batch, seq, dim/2]
[0;36m114 |[0;0m
[0;36m115 |[0;0m var freqsT = freqs[0]
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'freqsT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m116 |[0;0m var offset = mropeSectionRaw[0]
[0;36m117 |[0;0m for dim in 1 ..< mropeSectionRaw.count {
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Libraries/MLXVLM/Models/Gemma4.swift:1223:13: [1;33mwarning: [1;39minitialization of immutable value 'hasExplicitCache' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1221 |[0;0m let finalPerLayerInputs = projectPerLayerInputs(h0, perLayerInputs: processedPerLayerInputs)
[0;36m1222 |[0;0m
[0;36m1223 |[0;0m let hasExplicitCache = cache != nil
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'hasExplicitCache' was never used; consider replacing with assignment to '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m1224 |[0;0m let localCache =
[0;36m1225 |[0;0m cache ?? Array(repeating: nil as KVCache?, count: max(firstKVSharedLayerIdx, 1))
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Build complete! (3.09 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/drewster99/mlx-swift-lm/3.31.4/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/drewster99/mlx-swift-lm/3.31.4/linkable-paths.json
Target: MLXLMCommon
Extracting symbol information for 'MLXLMCommon'...
Finished extracting symbol information for 'MLXLMCommon'. (2.29s)
Building documentation for 'MLXLMCommon'...
Finished building documentation for 'MLXLMCommon' (0.87s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/drewster99/mlx-swift-lm/3.31.4
Building for debugging...
[1 / 11]
Build complete! (0.39 sec)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 419]
[Planning deferred tasks]
[1 / 38] ArgumentParser
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/mlx-swift_Cmlx.bundle/Contents/MacOS')
Build complete! (0.83 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/drewster99/mlx-swift-lm/3.31.4/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/drewster99/mlx-swift-lm/3.31.4/linkable-paths.json
Target: MLXEmbedders
Extracting symbol information for 'MLXEmbedders'...
Finished extracting symbol information for 'MLXEmbedders'. (3.13s)
Building documentation for 'MLXEmbedders'...
Finished building documentation for 'MLXEmbedders' (0.18s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/drewster99/mlx-swift-lm/3.31.4
Building for debugging...
[1 / 11]
Build complete! (0.41 sec)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 448]
[Planning deferred tasks]
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/mlx-swift_Cmlx.bundle/Contents/MacOS')
[4 / 12] MLXEmbedders
[15 / 23] MLXEmbedders
[17 / 19] MLXEmbedders
Build complete! (1.70 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/drewster99/mlx-swift-lm/3.31.4/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/drewster99/mlx-swift-lm/3.31.4/linkable-paths.json
10200
53 /Users/admin/builder/spi-builder-workspace/.docs/drewster99/mlx-swift-lm/3.31.4
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/drewster99/mlx-swift-lm/3.31.4
File count: 10200
Doc size: 53.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -drewster99-mlx-swift-lm-3.31.4-f02ea859.zip to presigned URL
Starting upload of 12036943 bytes...
Upload completed successfully
Done.