Build Information
Successful build of LocalLLMClient, reference main (32ef15
), with Swift 6.1 for macOS (SPM) on 28 Jun 2025 09:51:17 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/LocalLLMClient.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tattn/LocalLLMClient
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 32ef156 Merge pull request #33 from tattn/feature/interoperabilityModeCpp
Submodule path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp': checked out 'bb16041caef45cd4348cd6f84906b5dfec7a1f6a'
Submodule path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp/ggml/src/ggml-kompute/kompute': checked out '4565194ed7c32d1d2efa32ceab4d3c6cae006306'
Submodule 'Sources/LlamaClientExperimentalC/exclude/llama.cpp' (https://github.com/ggml-org/llama.cpp.git) registered for path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/LocalLLMClientLlamaC/exclude/llama.cpp'...
Submodule 'kompute' (https://github.com/nomic-ai/kompute.git) registered for path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp/ggml/src/ggml-kompute/kompute'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/LocalLLMClientLlamaC/exclude/llama.cpp/ggml/src/ggml-kompute/kompute'...
Cloned https://github.com/tattn/LocalLLMClient.git
Revision (git rev-parse @):
32ef156c4ed9cfd30cfa28fe93419be07152f3e0
SUCCESS checkout https://github.com/tattn/LocalLLMClient.git at main
Fetching https://github.com/ml-explore/mlx-swift-examples
[1/5347] Fetching mlx-swift-examples
Fetched https://github.com/ml-explore/mlx-swift-examples from cache (1.12s)
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/johnmai-dev/Jinja
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/1557] Fetching gzipswift
[235/4860] Fetching gzipswift, swift-transformers
[401/5253] Fetching gzipswift, swift-transformers, jinja
[563/7335] Fetching gzipswift, swift-transformers, jinja, swift-docc-plugin
[2657/18254] Fetching gzipswift, swift-transformers, jinja, swift-docc-plugin, mlx-swift
Fetched https://github.com/1024jp/GzipSwift from cache (0.79s)
[1104/16697] Fetching swift-transformers, jinja, swift-docc-plugin, mlx-swift
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.02s)
Fetched https://github.com/huggingface/swift-transformers from cache (1.16s)
[1944/13394] Fetching jinja, swift-docc-plugin, mlx-swift
Fetched https://github.com/johnmai-dev/Jinja from cache (1.25s)
[5795/13001] Fetching swift-docc-plugin, mlx-swift
Fetched https://github.com/apple/swift-docc-plugin from cache (1.26s)
[3822/10919] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift from cache (1.74s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (5.05s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 0.1.21 (0.49s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (0.50s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.25.5 (0.51s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (0.79s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (1.28s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.91s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.49s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.58s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.95s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.61s)
Creating working copy for https://github.com/ml-explore/mlx-swift-examples
Working copy of https://github.com/ml-explore/mlx-swift-examples resolved at main (2cceb87)
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.0.1
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.25.5
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 0.1.21
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.1.2
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.4.4
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.4.0
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b5731/llama-b5731-xcframework.zip
[16375/84775931] Downloading https://github.com/ggml-org/llama.cpp/releases/download/b5731/llama-b5731-xcframework.zip
Downloaded https://github.com/ggml-org/llama.cpp/releases/download/b5731/llama-b5731-xcframework.zip (6.31s)
========================================
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",
"dependencies": [
{
"identity": "localllmclient",
"name": "LocalLLMClient",
"url": "https://github.com/tattn/LocalLLMClient.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LocalLLMClient",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "jinja",
"name": "Jinja",
"url": "https://github.com/johnmai-dev/Jinja",
"version": "1.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Jinja",
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
},
{
"identity": "mlx-swift-examples",
"name": "mlx-libraries",
"url": "https://github.com/ml-explore/mlx-swift-examples",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mlx-swift-examples",
"dependencies": [
{
"identity": "mlx-swift",
"name": "mlx-swift",
"url": "https://github.com/ml-explore/mlx-swift",
"version": "0.25.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mlx-swift",
"dependencies": [
{
"identity": "swift-numerics",
"name": "swift-numerics",
"url": "https://github.com/apple/swift-numerics",
"version": "1.0.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
"dependencies": [
]
}
]
},
{
"identity": "swift-transformers",
"name": "swift-transformers",
"url": "https://github.com/huggingface/swift-transformers",
"version": "0.1.21",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-transformers",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "jinja",
"name": "Jinja",
"url": "https://github.com/johnmai-dev/Jinja",
"version": "1.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Jinja",
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
},
{
"identity": "gzipswift",
"name": "Gzip",
"url": "https://github.com/1024jp/GzipSwift",
"version": "6.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GzipSwift",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/tattn/LocalLLMClient.git
[1/1508] Fetching localllmclient
Fetched https://github.com/tattn/LocalLLMClient.git from cache (0.91s)
Fetching https://github.com/ml-explore/mlx-swift-examples from cache
Fetched https://github.com/ml-explore/mlx-swift-examples from cache (0.49s)
Fetching https://github.com/1024jp/GzipSwift from cache
Fetching https://github.com/ml-explore/mlx-swift from cache
Fetching https://github.com/huggingface/swift-transformers from cache
Fetching https://github.com/johnmai-dev/Jinja from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/1024jp/GzipSwift from cache (0.45s)
Fetched https://github.com/ml-explore/mlx-swift from cache (0.55s)
Fetched https://github.com/johnmai-dev/Jinja from cache (0.55s)
Fetched https://github.com/huggingface/swift-transformers from cache (0.56s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.57s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (0.62s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 0.1.21 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (0.04s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.25.5 (0.03s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (0.52s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.57s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.58s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.04s)
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.1.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.25.5
Creating working copy for https://github.com/ml-explore/mlx-swift-examples
Working copy of https://github.com/ml-explore/mlx-swift-examples resolved at main (2cceb87)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 0.1.21
Creating working copy for https://github.com/tattn/LocalLLMClient.git
Working copy of https://github.com/tattn/LocalLLMClient.git resolved at main (32ef156)
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.0.1
Fetching binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b5731/llama-b5731-xcframework.zip from cache
Fetched https://github.com/ggml-org/llama.cpp/releases/download/b5731/llama-b5731-xcframework.zip from cache (3.92s)
Found 3 product dependencies
- swift-argument-parser
- Jinja
- mlx-libraries
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/tattn/LocalLLMClient.git
https://github.com/tattn/LocalLLMClient.git
{
"cxx_language_standard" : "c++17",
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "1.5.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "jinja",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnmai-dev/Jinja"
},
{
"identity" : "swift-transformers",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.21",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers"
},
{
"identity" : "mlx-swift-examples",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift-examples"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "LocalLLMClient",
"name" : "LocalLLMClient",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "LocalLLMClient",
"targets" : [
"LocalLLMClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "localllm",
"targets" : [
"LocalLLMCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "LocalLLMClientLlama",
"targets" : [
"LocalLLMClientLlama"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LocalLLMClientMLX",
"targets" : [
"LocalLLMClientMLX"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LocalLLMClientFoundationModels",
"targets" : [
"LocalLLMClientFoundationModels"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LocalLLMClientUtilityTests",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientUtilityTests",
"path" : "Tests/LocalLLMClientUtilityTests",
"product_dependencies" : [
"MLXLMCommon"
],
"sources" : [
"DownloaderTests.swift",
"FileDownloaderTests.swift",
"FilesMetadataTests.swift",
"HuggingFaceAPITests.swift",
"MockURLProtocol.swift",
"URLExtensionTests.swift"
],
"target_dependencies" : [
"LocalLLMClientUtility"
],
"type" : "test"
},
{
"c99name" : "LocalLLMClientUtility",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientUtility",
"path" : "Sources/LocalLLMClientUtility",
"product_memberships" : [
"LocalLLMClient",
"localllm",
"LocalLLMClientLlama",
"LocalLLMClientMLX",
"LocalLLMClientFoundationModels"
],
"sources" : [
"Downloader.swift",
"FileDownloader.swift",
"Globs.swift",
"HuggingFaceAPI.swift",
"Lock.swift",
"URL+.swift"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientMLXTests",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientMLXTests",
"path" : "Tests/LocalLLMClientMLXTests",
"sources" : [
"LLMSessionMLXTests.swift",
"LocalLLMClientMLXTests.swift",
"ModelTests.swift"
],
"target_dependencies" : [
"LocalLLMClientMLX"
],
"type" : "test"
},
{
"c99name" : "LocalLLMClientMLX",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientMLX",
"path" : "Sources/LocalLLMClientMLX",
"product_dependencies" : [
"MLXLLM",
"MLXVLM"
],
"product_memberships" : [
"localllm",
"LocalLLMClientMLX"
],
"sources" : [
"Context.swift",
"LLMSession+MLX.swift",
"MLXClient.swift",
"Parameter.swift",
"Utility.swift"
],
"target_dependencies" : [
"LocalLLMClient"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientLlamaTests",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientLlamaTests",
"path" : "Tests/LocalLLMClientLlamaTests",
"sources" : [
"ContextTests.swift",
"LLMSessionLlamaTests.swift",
"LlamaChatMessageDecoderTests.swift",
"LocalLLMClientLlamaTests.swift",
"ModelTests.swift"
],
"target_dependencies" : [
"LocalLLMClientLlama"
],
"type" : "test"
},
{
"c99name" : "LocalLLMClientLlamaFramework",
"module_type" : "BinaryTarget",
"name" : "LocalLLMClientLlamaFramework",
"path" : "remote/archive/llama-b5731-xcframework.zip",
"product_memberships" : [
"localllm",
"LocalLLMClientLlama"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "LocalLLMClientLlamaC",
"module_type" : "ClangTarget",
"name" : "LocalLLMClientLlamaC",
"path" : "Sources/LocalLLMClientLlamaC",
"product_memberships" : [
"localllm",
"LocalLLMClientLlama"
],
"sources" : [
"clip.cpp",
"mtmd-audio.cpp",
"mtmd-helper.cpp",
"mtmd.cpp"
],
"target_dependencies" : [
"LocalLLMClientLlamaFramework"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientLlama",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientLlama",
"path" : "Sources/LocalLLMClientLlama",
"product_dependencies" : [
"Jinja"
],
"product_memberships" : [
"localllm",
"LocalLLMClientLlama"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/LocalLLMClientLlama/Resources/Grammars/json.gbnf",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Batch.swift",
"Context.swift",
"Decoder.swift",
"Generator.swift",
"LLMSession+Llama.swift",
"LlamaAutoMessageDecoder.swift",
"LlamaChatMessageDecoder.swift",
"LlamaClient.swift",
"Logger.swift",
"Model.swift",
"Multimodal.swift",
"Parameter.swift",
"Sampler.swift",
"Token.swift",
"Utility.swift",
"stb_image.swift"
],
"target_dependencies" : [
"LocalLLMClient",
"LocalLLMClientLlamaC"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientFoundationModelsTests",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientFoundationModelsTests",
"path" : "Tests/LocalLLMClientFoundationModelsTests",
"sources" : [
"LLMSessionFoundationModelsTests.swift",
"ModelTests.swift"
],
"target_dependencies" : [
"LocalLLMClientFoundationModels"
],
"type" : "test"
},
{
"c99name" : "LocalLLMClientFoundationModels",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientFoundationModels",
"path" : "Sources/LocalLLMClientFoundationModels",
"product_memberships" : [
"localllm",
"LocalLLMClientFoundationModels"
],
"sources" : [
"FoundationModelsClient.swift",
"LLMSession+FoundationModels.swift"
],
"target_dependencies" : [
"LocalLLMClient"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClient",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClient",
"path" : "Sources/LocalLLMClient",
"product_memberships" : [
"LocalLLMClient",
"localllm",
"LocalLLMClientLlama",
"LocalLLMClientMLX",
"LocalLLMClientFoundationModels"
],
"sources" : [
"Async+.swift",
"LLMClient.swift",
"LLMError.swift",
"LLMInput.swift",
"LLMSession.swift"
],
"target_dependencies" : [
"LocalLLMClientUtility"
],
"type" : "library"
},
{
"c99name" : "LocalLLMCLI",
"module_type" : "SwiftTarget",
"name" : "LocalLLMCLI",
"path" : "Sources/LocalLLMCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"localllm"
],
"sources" : [
"command.swift"
],
"target_dependencies" : [
"LocalLLMClientLlama",
"LocalLLMClientMLX",
"LocalLLMClientFoundationModels"
],
"type" : "executable"
}
],
"tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/198] Write sources
[3/198] Write localllm-entitlement.plist
[3/198] Write sources
[19/198] Copying t5_tokenizer_config.json
[19/198] Copying json.gbnf
[19/198] Copying gpt2_tokenizer_config.json
[19/198] Write sources
[33/198] Compiling _NumericsShims _NumericsShims.c
[34/198] Copying llama.framework
[35/198] Write swift-version-2F0A5646E1D333AE.txt
[36/198] Compiling version.cpp
[37/208] Compiling utils.cpp
[38/208] Compiling scheduler.cpp
[39/208] Compiling LocalLLMClientLlamaC mtmd.cpp
[40/239] Compiling linalg.cpp
[41/239] Compiling random.cpp
[43/239] Compiling RealModule Float16+Real.swift
[44/239] Compiling RealModule Float80+Real.swift
[45/239] Compiling RealModule Real.swift
[46/240] Compiling RealModule Float+Real.swift
[47/247] Compiling RealModule RealFunctions.swift
[48/247] Compiling RealModule ElementaryFunctions.swift
[49/247] Compiling RealModule ApproximateEquality.swift
[50/247] Compiling RealModule AlgebraicField.swift
[51/247] Compiling RealModule AugmentedArithmetic.swift
[52/247] Emitting module RealModule
[53/247] Compiling RealModule Double+Real.swift
[54/247] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[55/247] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[56/248] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[57/248] Compiling InternalCollectionsUtilities Debugging.swift
[58/248] Compiling InternalCollectionsUtilities Descriptions.swift
[59/248] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[60/248] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[61/248] Compiling InternalCollectionsUtilities _SortedCollection.swift
[62/248] Emitting module InternalCollectionsUtilities
[63/248] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[64/248] Compiling InternalCollectionsUtilities UInt+reversed.swift
[65/248] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[66/248] Compiling InternalCollectionsUtilities Integer rank.swift
[67/248] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[68/248] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[69/253] Compiling ComplexModule Differentiable.swift
[70/253] Compiling ComplexModule Complex.swift
[71/253] Compiling ComplexModule Arithmetic.swift
[72/253] Compiling ComplexModule ElementaryFunctions.swift
[73/253] Emitting module ComplexModule
[73/253] Compiling primitives.cpp
[74/253] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[76/311] Compiling Numerics Numerics.swift
[77/311] Emitting module Numerics
[78/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[79/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[80/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[81/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[82/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[83/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[84/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[85/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[86/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[87/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[88/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[89/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[90/311] Compiling OrderedCollections OrderedDictionary+Elements.swift
[91/311] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[92/311] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[93/311] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[94/311] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[95/311] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[96/317] Compiling OrderedCollections OrderedSet+Hashable.swift
[97/317] Compiling OrderedCollections OrderedSet+Initializers.swift
[98/317] Compiling OrderedCollections OrderedSet+Insertions.swift
[99/317] Compiling OrderedCollections OrderedSet+Invariants.swift
[100/317] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[101/317] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[102/317] Compiling OrderedCollections OrderedSet+Codable.swift
[103/317] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[104/317] Compiling OrderedCollections OrderedSet+Descriptions.swift
[105/317] Compiling OrderedCollections OrderedSet+Diffing.swift
[106/317] Compiling OrderedCollections OrderedSet+Equatable.swift
[107/317] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[108/317] Compiling OrderedCollections _Hashtable+Header.swift
[109/317] Compiling OrderedCollections OrderedDictionary+Codable.swift
[110/317] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[111/317] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[112/317] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[113/317] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[114/317] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[115/317] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[116/317] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[117/317] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[118/317] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[119/317] Compiling OrderedCollections OrderedSet+Sendable.swift
[120/317] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[121/317] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[122/317] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[123/317] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[124/317] Compiling OrderedCollections OrderedDictionary+Values.swift
[125/317] Compiling OrderedCollections OrderedDictionary.swift
[125/317] Compiling safetensors.cpp
[127/317] Compiling OrderedCollections _HashTable+Bucket.swift
[128/317] Compiling OrderedCollections _HashTable+BucketIterator.swift
[129/317] Compiling OrderedCollections _HashTable+Constants.swift
[130/317] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[131/317] Compiling OrderedCollections _HashTable+Testing.swift
[132/317] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[133/317] Compiling OrderedCollections _HashTable.swift
[133/317] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[135/317] Compiling OrderedCollections OrderedSet+SubSequence.swift
[136/317] Compiling OrderedCollections OrderedSet+Testing.swift
[137/317] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[138/317] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[139/317] Compiling OrderedCollections OrderedSet.swift
[140/317] Compiling OrderedCollections _UnsafeBitset.swift
[140/317] Compiling transforms.cpp
[141/317] Compiling no_gguf.cpp
[143/317] Emitting module OrderedCollections
[143/317] Compiling ops.cpp
[145/327] Emitting module LocalLLMClientUtility
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[146/327] Compiling LocalLLMClientUtility URL+.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[147/327] Compiling LocalLLMClientUtility Lock.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[148/327] Compiling LocalLLMClientUtility HuggingFaceAPI.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[149/327] Compiling LocalLLMClientUtility Globs.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[150/327] Compiling LocalLLMClientUtility FileDownloader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[151/327] Compiling LocalLLMClientUtility Downloader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[151/327] Compiling LocalLLMClientLlamaC clip.cpp
[153/327] Compiling Hub resource_bundle_accessor.swift
[154/327] Compiling Hub Hub.swift
[155/327] Compiling Hub Downloader.swift
[156/327] Compiling Hub Config.swift
[157/327] Emitting module Hub
[158/327] Compiling Hub BinaryDistinct.swift
[159/327] Compiling Hub HubApi.swift
[160/333] Compiling Jinja Utilities.swift
[160/333] Compiling load.cpp
[161/333] Compiling fft.cpp
[162/333] Compiling graph_utils.cpp
[164/333] Compiling TensorUtils MLShapedArray+Utils.swift
[165/333] Compiling TensorUtils TopPLogitsWarper.swift
[166/333] Compiling TensorUtils MLMultiArray+Utils.swift
[167/333] Compiling TensorUtils TopKLogitsWarper.swift
[168/333] Compiling TensorUtils LogitsWarper.swift
[169/333] Compiling TensorUtils TemperatureLogitsWarper.swift
[170/333] Compiling TensorUtils LogitsProcessor.swift
[171/333] Compiling TensorUtils RepetitionPenaltyWarper.swift
[172/333] Compiling TensorUtils Math.swift
[173/333] Emitting module TensorUtils
[173/334] Compiling dtype_utils.cpp
[175/334] Compiling Jinja Template.swift
[176/334] Compiling Jinja Runtime.swift
[177/334] Compiling Jinja Parser.swift
[177/334] Compiling dtype.cpp
[178/334] Compiling no_ring.cpp
[180/334] Compiling TensorUtils Weights.swift
[181/334] Compiling Jinja StringExtension.swift
[182/334] Compiling Jinja Error.swift
[183/334] Compiling Jinja Environment.swift
[184/334] Compiling Jinja Ast.swift
[185/334] Compiling Jinja Lexer.swift
[186/334] Emitting module Jinja
[186/334] Compiling primitives.cpp
[187/334] Compiling einsum.cpp
[188/343] Compiling no_mpi.cpp
[189/346] Compiling distributed.cpp
[190/346] Compiling device.cpp
[191/346] Compiling ops.cpp
[193/346] Compiling Tokenizers UnigramTokenizer.swift
[194/346] Compiling Tokenizers Trie.swift
[195/347] Compiling Tokenizers Utils.swift
[196/347] Compiling Tokenizers TokenLattice.swift
[197/347] Compiling Tokenizers PreTokenizer.swift
[198/347] Compiling Tokenizers PostProcessor.swift
[199/347] Compiling Tokenizers Normalizer.swift
[200/347] Compiling Tokenizers ByteEncoder.swift
[201/347] Compiling Tokenizers Decoder.swift
[202/347] Compiling Tokenizers BPETokenizer.swift
[203/347] Compiling Tokenizers BertTokenizer.swift
[204/347] Compiling Tokenizers Tokenizer.swift
[205/347] Emitting module Tokenizers
[205/347] Compiling fast.cpp
[207/350] Compiling LocalLLMClient LLMError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[208/350] Compiling Generation GenerationConfig.swift
[209/350] Emitting module Generation
[210/350] Compiling Generation Generation.swift
[210/350] Compiling utils.cpp
[211/353] Compiling unary.cpp
[213/353] Compiling LocalLLMClient LLMSession.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[214/353] Compiling LocalLLMClient Async+.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[215/353] Emitting module LocalLLMClient
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[216/353] Compiling LocalLLMClient LLMClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[217/353] Compiling LocalLLMClient LLMInput.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[217/353] Compiling softmax.cpp
[218/353] Compiling compile.cpp
[219/353] Compiling sort.cpp
[220/353] Compiling ternary.cpp
[221/353] Compiling slicing.cpp
[223/363] Compiling Models LanguageModelTypes.swift
[224/363] Emitting module Models
[225/363] Compiling Models LanguageModel.swift
[226/373] Compiling LocalLLMClientFoundationModels LLMSession+FoundationModels.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[227/373] Emitting module LocalLLMClientFoundationModels
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[228/373] Compiling LocalLLMClientFoundationModels FoundationModelsClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[228/373] Compiling scan.cpp
[229/373] Compiling resident.cpp
[230/373] Compiling rope.cpp
[231/373] Compiling scaled_dot_product_attention.cpp
[232/373] Compiling reduce.cpp
[233/373] Compiling normalization.cpp
[234/373] Compiling quantized.cpp
[235/373] Compiling primitives.cpp
[236/373] Compiling metal.cpp
[237/373] Compiling logsumexp.cpp
[238/373] Compiling matmul.cpp
[239/373] Compiling fence.cpp
[240/373] Compiling hadamard.cpp
[241/373] Compiling indexing.cpp
[242/373] Compiling event.cpp
[243/373] Compiling jit_kernels.cpp
[244/373] Compiling distributed.cpp
[245/373] Compiling fft.cpp
[246/373] Compiling custom_kernel.cpp
[247/373] Compiling copy.cpp
[248/373] Compiling threefry.cpp
[249/373] Compiling export.cpp
[250/373] Compiling conv.cpp
[251/373] Compiling device.cpp
[252/373] Compiling allocator.cpp
[253/373] Compiling binary.cpp
[254/373] Compiling compiled.cpp
[255/373] Compiling select.cpp
[256/373] Compiling svd.cpp
[257/373] Compiling softmax.cpp
[258/373] Compiling scan.cpp
[259/373] Compiling quantized.cpp
[260/373] Compiling qrf.cpp
[261/373] Compiling sort.cpp
[262/373] Compiling jit_compiler.cpp
[263/373] Compiling matmul.cpp
[264/373] Compiling luf.cpp
[265/373] Compiling masked_mm.cpp
[266/373] Compiling logsumexp.cpp
[267/373] Compiling primitives.cpp
[268/373] Compiling inverse.cpp
[269/373] Compiling hadamard.cpp
[270/373] Compiling unary.cpp
[271/373] Compiling cblas.cpp
[272/373] Compiling bnns.cpp
[273/373] Compiling encoder.cpp
[274/373] Compiling eval.cpp
[275/373] Compiling distributed.cpp
[276/373] Compiling fft.cpp
[277/373] Compiling indexing.cpp
[278/373] Compiling eigh.cpp
[279/373] Compiling utils.cpp
[280/373] Compiling arg_reduce.cpp
[281/373] Compiling slicing.cpp
[282/373] Compiling cholesky.cpp
[283/373] Compiling reduce.cpp
[284/373] Compiling load.cpp
[285/373] Compiling compiled.cpp
[286/373] Compiling utils.cpp
[287/373] Compiling unary_ops.cpp
[288/373] Compiling unary.cpp
[289/373] Compiling ternary_ops.cpp
[290/373] Compiling broadcasting.cpp
[291/373] Compiling ternary.cpp
[292/373] Compiling steel_gemm_splitk.cpp
[293/373] Compiling steel_gemm_masked.cpp
[294/373] Compiling steel_gemm_gather.cpp
[295/373] Compiling steel_gemm_fused.cpp
[296/373] Compiling steel_conv_general.cpp
[297/373] Compiling steel_conv.cpp
[298/373] Compiling sort.cpp
[299/373] Compiling softmax.cpp
[300/373] Compiling scatter_axis.cpp
[301/373] Compiling common.cpp
[302/373] Compiling scatter.cpp
[303/373] Compiling scan.cpp
[304/373] Compiling reduce_utils.cpp
[305/373] Compiling reduce.cpp
[306/373] Compiling quantized.cpp
[307/373] Compiling logsumexp.cpp
[308/373] Compiling hadamard.cpp
[309/373] Compiling gemv_masked.cpp
[310/373] Compiling gemm.cpp
[311/373] Compiling gather_axis.cpp
[312/373] Compiling gather.cpp
[313/373] Compiling fft.cpp
[314/373] Compiling copy.cpp
[315/373] Compiling conv.cpp
[316/373] Compiling compiled_preamble.cpp
[317/373] Compiling binary_two.cpp
[318/373] Compiling binary_ops.cpp
[319/373] Compiling arange.cpp
[320/373] Compiling binary.cpp
[321/373] Compiling allocator.cpp
[322/373] Compiling conv.cpp
[323/373] Compiling copy.cpp
[324/373] Compiling array.cpp
[325/373] Compiling reduce.cpp
[326/373] Compiling version.cpp
[327/373] Compiling transforms_impl.cpp
[328/373] Compiling string.cpp
[329/373] Compiling vector.cpp
[330/373] Compiling transforms.cpp
[331/373] Compiling stream.cpp
[332/373] Compiling compiled_conditional.cpp
[333/373] Compiling random.cpp
[334/373] Compiling memory.cpp
[335/373] Compiling linalg.cpp
[336/373] Compiling metal.cpp
[337/373] Compiling ops.cpp
[338/373] Compiling map.cpp
[339/373] Compiling error.cpp
[340/373] Compiling io_types.cpp
[341/373] Compiling fft.cpp
[342/373] Compiling io.cpp
[342/373] Write sources
[346/375] Emitting module ArgumentParserToolInfo
[347/375] Compiling ArgumentParserToolInfo ToolInfo.swift
[347/375] Compiling export.cpp
[348/375] Compiling device.cpp
[349/375] Compiling fast.cpp
[350/375] Compiling compile.cpp
[351/413] Compiling format.cc
[352/413] Compiling closure.cpp
[353/413] Compiling array.cpp
[354/413] Compiling binary.cpp
[356/444] Compiling MLX GPU.swift
[357/444] Compiling MLX IO.swift
[358/444] Compiling MLX Linalg.swift
[359/444] Compiling MLX MLXArray+Bytes.swift
[360/448] Emitting module ArgumentParser
[361/448] Compiling MLX MLXArray+Indexing.swift
[362/448] Compiling MLX MLXArray+Init.swift
[363/448] Compiling MLX Random.swift
[364/448] Compiling MLX State.swift
[365/448] Compiling ArgumentParser Platform.swift
[366/448] Compiling ArgumentParser SequenceExtensions.swift
[367/448] Compiling ArgumentParser StringExtensions.swift
[368/448] Compiling ArgumentParser Tree.swift
[369/448] Compiling MLX ArrayAt.swift
[370/448] Compiling MLX Cmlx+Util.swift
[371/448] Compiling MLX DType.swift
[372/448] Compiling MLX Device.swift
[373/448] Compiling MLX Foundation+Util.swift
[374/448] Compiling MLX ParameterTypes.swift
[375/448] Compiling MLX Protocols.swift
[376/448] Compiling MLX ErrorHandler.swift
[377/448] Compiling MLX Export.swift
[378/448] Compiling MLX MLXFast.swift
[379/448] Compiling ArgumentParser Name.swift
[380/448] Compiling ArgumentParser Parsed.swift
[381/448] Compiling ArgumentParser ParsedValues.swift
[382/448] Compiling ArgumentParser ArgumentDefinition.swift
[383/448] Compiling ArgumentParser ArgumentSet.swift
[384/448] Compiling ArgumentParser CommandParser.swift
[385/448] Compiling ArgumentParser InputKey.swift
[386/448] Compiling MLX FFT.swift
[387/448] Compiling MLX Factory.swift
[388/448] Compiling MLX MLXArray+Ops.swift
[389/448] Compiling MLX MLXArray.swift
[390/448] Compiling MLX Stream.swift
[391/448] Compiling MLX MLXFastKernel.swift
[392/448] Compiling MLX Nested.swift
[393/448] Compiling MLX Ops+Array.swift
[394/448] Compiling MLX Transforms+Compile.swift
[395/448] Compiling MLX Transforms+Eval.swift
[396/448] Compiling MLX Transforms+Grad.swift
[397/448] Compiling MLX Ops.swift
[398/448] Emitting module MLX
[409/451] Compiling MLX Transforms+Internal.swift
[410/451] Compiling MLX Transforms+Vmap.swift
[411/451] Compiling MLX Transforms.swift
[432/458] Compiling MLXFast MLXFastKernel.swift
[433/458] Emitting module MLXFast
[434/458] Compiling MLXFast MLXFast.swift
[435/458] Emitting module MLXLinalg
[436/458] Compiling MLXLinalg Linalg.swift
[437/458] Compiling MLXRandom Random.swift
[438/458] Emitting module MLXRandom
[439/476] Emitting module MLXNN
[440/477] Compiling MLXNN PositionalEncoding.swift
[441/477] Compiling MLXNN Quantized.swift
[442/477] Compiling MLXNN Upsample.swift
[443/477] Compiling MLXNN Recurrent.swift
[444/477] Compiling MLXNN Transformer.swift
[445/477] Compiling MLXNN ValueAndGrad.swift
[446/477] Compiling MLXNN Normalization.swift
[447/477] Compiling MLXNN Pooling.swift
[448/477] Compiling MLXNN Embedding.swift
[449/477] Compiling MLXNN Linear.swift
[450/477] Compiling MLXNN Containers.swift
[451/477] Compiling MLXNN Convolution.swift
[452/477] Compiling MLXNN Activations.swift
[453/477] Compiling MLXNN Cache.swift
[454/477] Compiling MLXNN Losses.swift
[455/477] Compiling MLXNN Module.swift
[456/477] Compiling MLXNN ConvolutionTransposed.swift
[457/477] Compiling MLXNN Dropout.swift
[458/479] Emitting module MLXOptimizers
[459/479] Compiling MLXOptimizers Optimizers.swift
[460/509] Emitting module MLXLMCommon
[461/512] Compiling MLXLMCommon Streamlined.swift
[462/512] Compiling MLXLMCommon StringOrNumber.swift
[463/512] Compiling MLXLMCommon Tokenizer.swift
[464/512] Compiling MLXLMCommon Tool.swift
[465/512] Compiling MLXLMCommon ToolCall.swift
[466/512] Compiling MLXLMCommon ToolCallProcessor.swift
[467/512] Compiling MLXLMCommon ModelFactory.swift
[468/512] Compiling MLXLMCommon Gemma.swift
[469/512] Compiling MLXLMCommon Module+Extensions.swift
[470/512] Compiling MLXLMCommon DoRA+Layers.swift
[471/512] Compiling MLXLMCommon LoRA+Layers.swift
[472/512] Compiling MLXLMCommon LoRAContainer.swift
[473/512] Compiling MLXLMCommon LoRAModel.swift
[474/512] Compiling MLXLMCommon AbstractModelRegistry.swift
[475/512] Compiling MLXLMCommon ModelTypeRegistry.swift
[476/512] Compiling MLXLMCommon ProcessorTypeRegistry.swift
[477/512] Compiling MLXLMCommon BaseConfiguration.swift
[478/512] Compiling MLXLMCommon Chat.swift
[479/512] Compiling MLXLMCommon Evaluate.swift
[480/512] Compiling MLXLMCommon Load.swift
[481/512] Compiling MLXLMCommon ModelConfiguration.swift
[482/512] Compiling MLXLMCommon ModelContainer.swift
[483/512] Compiling MLXLMCommon ModelAdapter.swift
[484/512] Compiling MLXLMCommon ModelAdapterFactory.swift
[485/512] Compiling MLXLMCommon ModelAdapterTypeRegistry.swift
[486/512] Compiling MLXLMCommon AttentionUtils.swift
[487/512] Compiling MLXLMCommon Encodable+toolResult.swift
[488/512] Compiling MLXLMCommon KVCache.swift
[489/512] Compiling MLXLMCommon LanguageModel.swift
[490/512] Compiling MLXLMCommon ToolParameter.swift
[491/512] Compiling MLXLMCommon Value.swift
[492/512] Compiling MLXLMCommon UserInput.swift
[493/544] Emitting module MLXLLM
[494/546] Compiling MLXLLM Qwen3MoE.swift
[495/546] Compiling MLXLLM Starcoder2.swift
[496/546] Compiling MLXLLM Qwen2.swift
[497/546] Compiling MLXLLM Qwen3.swift
[498/546] Compiling MLXLLM Phi3.swift
[499/546] Compiling MLXLLM PhiMoE.swift
[500/546] Compiling MLXLLM OpenELM.swift
[501/546] Compiling MLXLLM Phi.swift
[502/546] Compiling MLXLLM Llama.swift
[503/546] Compiling MLXLLM MiMo.swift
[504/546] Compiling MLXLLM Granite.swift
[505/546] Compiling MLXLLM Internlm2.swift
[506/546] Compiling MLXLLM LoraTrain.swift
[507/546] Compiling MLXLLM Cohere.swift
[508/546] Compiling MLXLLM GLM4.swift
[509/546] Compiling MLXLLM LLMModel.swift
[510/546] Compiling MLXLLM LLMModelFactory.swift
[511/546] Compiling MLXLLM Lora+Data.swift
[512/546] Compiling MLXLLM Gemma.swift
[513/546] Compiling MLXLLM Gemma2.swift
[514/546] Compiling MLXLLM Gemma3Text.swift
[515/546] Compiling MLXLLM SuScaledRotaryEmbedding.swift
[516/546] Compiling MLXLLM SwitchLayers.swift
[517/546] Compiling MLXVLM QwenVL.swift
[518/546] Compiling MLXVLM VLMModel.swift
[519/546] Compiling MLXVLM Paligemma.swift
[520/546] Compiling MLXVLM Qwen2VL.swift
[521/546] Compiling MLXVLM SmolVLM2.swift
[522/546] Compiling MLXVLM Idefics3.swift
[523/546] Compiling MLXVLM Qwen25VL.swift
[524/547] Emitting module MLXVLM
[525/547] Compiling MLXVLM MediaProcessing.swift
[526/547] Compiling MLXVLM Gemma3.swift
[527/547] Compiling MLXVLM VLMModelFactory.swift
[528/553] Compiling LocalLLMClientMLX MLXClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[529/553] Compiling LocalLLMClientMLX Parameter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[530/553] Compiling LocalLLMClientMLX Utility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[531/553] Compiling LocalLLMClientMLX LLMSession+MLX.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[532/553] Emitting module LocalLLMClientMLX
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[533/553] Compiling LocalLLMClientMLX Context.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[534/553] Compiling LocalLLMClientLlama stb_image.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[541/554] Compiling LocalLLMClientLlama Utility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[542/554] Emitting module LocalLLMClientLlama
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[547/554] Compiling LocalLLMClientLlama resource_bundle_accessor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[552/556] Emitting module LocalLLMCLI
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[553/556] Compiling LocalLLMCLI command.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[553/556] Write Objects.LinkFileList
[554/556] Linking localllm
[555/556] Applying localllm
Build complete! (72.59s)
Build complete.
{
"cxx_language_standard" : "c++17",
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "1.5.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "jinja",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnmai-dev/Jinja"
},
{
"identity" : "swift-transformers",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.21",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers"
},
{
"identity" : "mlx-swift-examples",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift-examples"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "LocalLLMClient",
"name" : "LocalLLMClient",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "LocalLLMClient",
"targets" : [
"LocalLLMClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "localllm",
"targets" : [
"LocalLLMCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "LocalLLMClientLlama",
"targets" : [
"LocalLLMClientLlama"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LocalLLMClientMLX",
"targets" : [
"LocalLLMClientMLX"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LocalLLMClientFoundationModels",
"targets" : [
"LocalLLMClientFoundationModels"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LocalLLMClientUtilityTests",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientUtilityTests",
"path" : "Tests/LocalLLMClientUtilityTests",
"product_dependencies" : [
"MLXLMCommon"
],
"sources" : [
"DownloaderTests.swift",
"FileDownloaderTests.swift",
"FilesMetadataTests.swift",
"HuggingFaceAPITests.swift",
"MockURLProtocol.swift",
"URLExtensionTests.swift"
],
"target_dependencies" : [
"LocalLLMClientUtility"
],
"type" : "test"
},
{
"c99name" : "LocalLLMClientUtility",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientUtility",
"path" : "Sources/LocalLLMClientUtility",
"product_memberships" : [
"LocalLLMClient",
"localllm",
"LocalLLMClientLlama",
"LocalLLMClientMLX",
"LocalLLMClientFoundationModels"
],
"sources" : [
"Downloader.swift",
"FileDownloader.swift",
"Globs.swift",
"HuggingFaceAPI.swift",
"Lock.swift",
"URL+.swift"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientMLXTests",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientMLXTests",
"path" : "Tests/LocalLLMClientMLXTests",
"sources" : [
"LLMSessionMLXTests.swift",
"LocalLLMClientMLXTests.swift",
"ModelTests.swift"
],
"target_dependencies" : [
"LocalLLMClientMLX"
],
"type" : "test"
},
{
"c99name" : "LocalLLMClientMLX",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientMLX",
"path" : "Sources/LocalLLMClientMLX",
"product_dependencies" : [
"MLXLLM",
"MLXVLM"
],
"product_memberships" : [
"localllm",
"LocalLLMClientMLX"
],
"sources" : [
"Context.swift",
"LLMSession+MLX.swift",
"MLXClient.swift",
"Parameter.swift",
"Utility.swift"
],
"target_dependencies" : [
"LocalLLMClient"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientLlamaTests",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientLlamaTests",
"path" : "Tests/LocalLLMClientLlamaTests",
"sources" : [
"ContextTests.swift",
"LLMSessionLlamaTests.swift",
"LlamaChatMessageDecoderTests.swift",
"LocalLLMClientLlamaTests.swift",
"ModelTests.swift"
],
"target_dependencies" : [
"LocalLLMClientLlama"
],
"type" : "test"
},
{
"c99name" : "LocalLLMClientLlamaFramework",
"module_type" : "BinaryTarget",
"name" : "LocalLLMClientLlamaFramework",
"path" : "remote/archive/llama-b5731-xcframework.zip",
"product_memberships" : [
"localllm",
"LocalLLMClientLlama"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "LocalLLMClientLlamaC",
"module_type" : "ClangTarget",
"name" : "LocalLLMClientLlamaC",
"path" : "Sources/LocalLLMClientLlamaC",
"product_memberships" : [
"localllm",
"LocalLLMClientLlama"
],
"sources" : [
"clip.cpp",
"mtmd-audio.cpp",
"mtmd-helper.cpp",
"mtmd.cpp"
],
"target_dependencies" : [
"LocalLLMClientLlamaFramework"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientLlama",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientLlama",
"path" : "Sources/LocalLLMClientLlama",
"product_dependencies" : [
"Jinja"
],
"product_memberships" : [
"localllm",
"LocalLLMClientLlama"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/LocalLLMClientLlama/Resources/Grammars/json.gbnf",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Batch.swift",
"Context.swift",
"Decoder.swift",
"Generator.swift",
"LLMSession+Llama.swift",
"LlamaAutoMessageDecoder.swift",
"LlamaChatMessageDecoder.swift",
"LlamaClient.swift",
"Logger.swift",
"Model.swift",
"Multimodal.swift",
"Parameter.swift",
"Sampler.swift",
"Token.swift",
"Utility.swift",
"stb_image.swift"
],
"target_dependencies" : [
"LocalLLMClient",
"LocalLLMClientLlamaC"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientFoundationModelsTests",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientFoundationModelsTests",
"path" : "Tests/LocalLLMClientFoundationModelsTests",
"sources" : [
"LLMSessionFoundationModelsTests.swift",
"ModelTests.swift"
],
"target_dependencies" : [
"LocalLLMClientFoundationModels"
],
"type" : "test"
},
{
"c99name" : "LocalLLMClientFoundationModels",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientFoundationModels",
"path" : "Sources/LocalLLMClientFoundationModels",
"product_memberships" : [
"localllm",
"LocalLLMClientFoundationModels"
],
"sources" : [
"FoundationModelsClient.swift",
"LLMSession+FoundationModels.swift"
],
"target_dependencies" : [
"LocalLLMClient"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClient",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClient",
"path" : "Sources/LocalLLMClient",
"product_memberships" : [
"LocalLLMClient",
"localllm",
"LocalLLMClientLlama",
"LocalLLMClientMLX",
"LocalLLMClientFoundationModels"
],
"sources" : [
"Async+.swift",
"LLMClient.swift",
"LLMError.swift",
"LLMInput.swift",
"LLMSession.swift"
],
"target_dependencies" : [
"LocalLLMClientUtility"
],
"type" : "library"
},
{
"c99name" : "LocalLLMCLI",
"module_type" : "SwiftTarget",
"name" : "LocalLLMCLI",
"path" : "Sources/LocalLLMCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"localllm"
],
"sources" : [
"command.swift"
],
"target_dependencies" : [
"LocalLLMClientLlama",
"LocalLLMClientMLX",
"LocalLLMClientFoundationModels"
],
"type" : "executable"
}
],
"tools_version" : "6.1"
}
Done.