Build Information
Successful build of MLXAudio, reference v69.2.2 (d82ad7), with Swift 6.4 for macOS (SPM) on 25 Sep 2026 01:29:28 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gaelic-ghost/mlx-audio-swift.git
Reference: v69.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gaelic-ghost/mlx-audio-swift
* tag v69.2.2 -> FETCH_HEAD
HEAD is now at d82ad71 models: expose bounded qwen replay decode
Cloned https://github.com/gaelic-ghost/mlx-audio-swift.git
Revision (git rev-parse @):
d82ad715fd1ffb841c7771deacd158faa8183f0c
SUCCESS checkout https://github.com/gaelic-ghost/mlx-audio-swift.git at v69.2.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/gaelic-ghost/mlx-audio-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1591]
[Planning 1267 / 1591]
[Planning deferred tasks]
[Constructing 2151 / 3577]
[95 / 784] Models
[281 / 784] swift-transformers_Hub
[287 / 784]
[295 / 789] _NumericsShims
[305 / 829]
[316 / 829] ArgumentParserToolInfo
[320 / 829] ArgumentParserToolInfo
[335 / 866]
[339 / 880]
[355 / 880] RealModule
[361 / 880] OrderedCollections
[369 / 881]
[380 / 892] RealModule
[383 / 892]
[387 / 892] OrderedCollections
[391 / 892] InternalCollectionsUtilities
[396 / 904] ComplexModule
[401 / 904] ComplexModule
[411 / 904] ComplexModule
[420 / 908] OrderedCollections
[429 / 908]
[440 / 909]
[443 / 920]
[449 / 937]
[450 / 937]
[453 / 937]
[455 / 937]
[465 / 937]
[468 / 937] EventSource
[477 / 937] Jinja
[480 / 937] Jinja
[498 / 937] Jinja-product
[500 / 937] Jinja-product
[502 / 937] EventSource
[503 / 937] EventSource-product
[507 / 937] Crypto
[508 / 937] Crypto
[515 / 937] ArgumentParser
[522 / 937] encuda-product
[526 / 939] Crypto
[528 / 939] encuda-product
[534 / 945] ArgumentParser
[535 / 945] encuda-product
[539 / 945] HuggingFace
[550 / 983]
[554 / 983]
[568 / 984] Cmlx
[574 / 984]
[575 / 984] Cmlx
[577 / 984]
[581 / 997]
[585 / 997] Cmlx
[589 / 997] Cmlx
[590 / 997]
[594 / 997] MLX
[603 / 997] HuggingFace
[604 / 997] Cmlx
[608 / 997] Cmlx
[611 / 997] Cmlx
[616 / 997] Cmlx
[618 / 997] Cmlx
[621 / 997] Cmlx
[624 / 997] Cmlx
[625 / 997] Cmlx
[626 / 997] Cmlx
[635 / 997] Cmlx
[638 / 997] Cmlx
[641 / 997] Cmlx
[642 / 997] Cmlx
[643 / 997] Cmlx
[645 / 997] Cmlx
[647 / 997] Cmlx
[648 / 997] Cmlx
[650 / 997] Cmlx
[653 / 997] Cmlx
[656 / 997] Cmlx
[657 / 997] Cmlx
[658 / 997] Cmlx
[659 / 997] Cmlx
[660 / 997] Cmlx
[662 / 997] Cmlx
[663 / 997] Cmlx
[665 / 997] Cmlx
[668 / 997] Cmlx
[669 / 997] Cmlx
[670 / 997] Cmlx
[671 / 997] Cmlx
[674 / 997] Cmlx
[675 / 997] Cmlx
[676 / 997] Cmlx
[679 / 997] Cmlx
[680 / 997] Cmlx
[681 / 997] Cmlx
[683 / 997] Cmlx
[684 / 997] Cmlx
[685 / 997] Cmlx
[686 / 997] Cmlx
[687 / 997] Cmlx
[689 / 997] Cmlx
[690 / 997] Cmlx
[691 / 997] Cmlx
[692 / 997] Cmlx
[694 / 997] Cmlx
[695 / 997] Cmlx
[698 / 997] Cmlx
[701 / 997] Cmlx
[704 / 997] Cmlx
[707 / 997] Cmlx
[708 / 997] Cmlx
[709 / 997] Cmlx
[711 / 997] Cmlx
[714 / 997] Cmlx
[716 / 997] Cmlx
[717 / 997] Cmlx
[718 / 997] Cmlx
[719 / 997] Cmlx
[720 / 997] Cmlx
[722 / 997] Cmlx
[725 / 997] Cmlx
[727 / 997] Cmlx
[729 / 997] Cmlx
[730 / 997] Cmlx
[731 / 997] Cmlx
[733 / 997] Cmlx
[734 / 997] Cmlx
[736 / 997] Cmlx
[737 / 997] Cmlx
[740 / 997] Cmlx
[743 / 997] Cmlx
[746 / 997] Cmlx
[747 / 997] Cmlx
[748 / 997] Cmlx
[751 / 997] Cmlx
[753 / 997] Cmlx
[754 / 997] Cmlx
[755 / 997] Cmlx
[756 / 997] Cmlx
[760 / 997] Cmlx
[762 / 997] Cmlx
[763 / 997] Cmlx
[766 / 997] MLX
[767 / 997] MLX
[768 / 997] MLX
[769 / 997] MLX
[770 / 997] MLXNN
[771 / 997] MLX-product
[773 / 997] MLX
[775 / 997] MLX
[776 / 997] HuggingFace
[778 / 997] HuggingFace
[779 / 997] HuggingFace-product
[781 / 997] HuggingFace-product
[783 / 997] HuggingFace
[784 / 997] HuggingFace
[785 / 997] Hub
[788 / 997]
[792 / 997] mlx-swift_Cmlx
[793 / 1028] HuggingFace
[802 / 1028] mlx-swift_Cmlx
[803 / 1028]
[804 / 1028] HuggingFace
[807 / 1028] HuggingFace
[810 / 1028]
[815 / 1029]
[818 / 1031] mlx-swift_Cmlx
[818 / 1031]
[822 / 1031] MLXNN
[829 / 1045] MLXFast
[839 / 1079]
[840 / 1117]
[843 / 1117]
[851 / 1117] MLXNN
[857 / 1117] MLXNN
[866 / 1117] MLXOptimizers
[873 / 1117]
[882 / 1120]
[884 / 1120]
[886 / 1120]
[887 / 1120] MLXOptimizers
[892 / 1134] MLXNN
[906 / 1134]
[916 / 1134] MLXAudioG2P
[920 / 1134] MLXAudioG2P-product
[924 / 1134] MLXAudioG2P
[932 / 1153] MLXAudioG2P
[935 / 1153]
[941 / 1153]
[946 / 1153]
[949 / 1153]
[950 / 1153]
[951 / 1153]
[960 / 1153] MLXAudioCore
[963 / 1153] MLXAudioCore
[974 / 1153]
[978 / 1153] MLXAudioCore
[980 / 1153]
[981 / 1153]
[983 / 1153]
[985 / 1153] MLXAudioCore
[986 / 1153] mlx-swift_Cmlx
[990 / 1153] Cmlx
[998 / 1153] MLXAudioG2P-product
[999 / 1153]
[1006 / 1153] Hub
[1013 / 1154] Hub
[1013 / 1154] Tokenizers
[1023 / 1165] Tokenizers
[1024 / 1165] Tokenizers
[1031 / 1166] Tokenizers
[1032 / 1166] Hub
[1036 / 1177]
[1046 / 1177] Generation
[1053 / 1178] Generation
[1055 / 1178] Models
[1059 / 1182] Models
[1066 / 1183] Models
[1068 / 1183] MLXLMCommon
[1071 / 1197]
[1082 / 1197] MLXLMCommon
[1091 / 1200] MLXLMCommon
[1091 / 1200] MLXAudioVAD
[1099 / 1208] MLXAudioCodecs
[1101 / 1230] MLXLLM
[1103 / 1230] MLXLLM
[1106 / 1230] MLXAudioVAD
[1115 / 1230] MLXLMCommon
[1116 / 1230] MLXLMCommon
[1118 / 1230] MLXAudioCodecs
[1120 / 1230] MLXAudioCodecs
[1133 / 1230] MLXLLM-product
[1134 / 1230] MLXLLM-product
[1136 / 1230] MLXAudioCodecs
[1138 / 1230] mlx-audio-swift-codec-product
[1140 / 1230] MLXAudioCodecs
[1141 / 1230] MLXAudioCodecs
[1145 / 1231] MLXLMCommon
[1148 / 1234] MLXAudioVAD
[1151 / 1236] MLXAudioCodecs
[1154 / 1236] MLXLLM
[1155 / 1236] MLXAudioCodecs
[1155 / 1236] MLXAudioLID
[1164 / 1268] mlx-audio-swift-codec-product
[1168 / 1268] MLXAudioTTS
[1179 / 1268] MLXAudioTTS
[1180 / 1268] MLXAudioTTS
[1181 / 1268] MLXAudioSTT
[1193 / 1268] MLXAudioTTS-product
[1195 / 1268] MLXAudioTTS-product
[1197 / 1268] MLXAudioSTT
[1198 / 1268] mlx-audio-swift-tts-product
[1199 / 1268] mlx-audio-swift-tts-product
[1201 / 1268] MLXAudioSTT
[1203 / 1268] MLXAudioSTT
[1203 / 1268] MLXAudioSTS
[1204 / 1268] MLXAudioSTS
[1206 / 1268] mlx-audio-swift-lid-product
[1216 / 1270]
[1218 / 1272] MLXAudioCodecs
[1223 / 1272] MLXAudioTTS
[1224 / 1272] MLXAudioTTS
[1224 / 1272] MLXAudioCodecs-product
[1224 / 1272]
[1226 / 1272]
[1226 / 1272] MLXAudioSTT
[1228 / 1274] mlx-audio-swift-codec-product
[1238 / 1289] MLXAudioSTS
[1239 / 1289] MLXAudioSTS
[1242 / 1289] mlx-audio-swift-lid-product
[1245 / 1289] MLXAudioSTS
[1246 / 1289] MLXAudioSTT
[1251 / 1289] mlx-audio-swift-lid-product
[1255 / 1289] MLXAudioSTS
[1262 / 1289] mlx-audio-swift-codec-product
[1264 / 1291]
[1265 / 1291] mlx-audio-swift-stt-product
[1267 / 1293] MLXAudioSTS
[1271 / 1295] MLXAudioUI
[1271 / 1295]
[1272 / 1295]
[1280 / 1295] mlx-audio-swift-sts-product
[1282 / 1295] mlx-audio-swift-tts-product
[1286 / 1295] MLXAudioSTS
[1291 / 1295] MLXAudioSTS-product
[1291 / 1295] mlx-audio-swift-sts-product
[1293 / 1295] mlx-audio-swift-sts-product
[1294 / 1295] mlx-audio-swift-sts-product
Build complete! (66.84 sec)
Fetching https://github.com/ml-explore/mlx-swift.git
Fetching https://github.com/ml-explore/mlx-swift-lm.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/7026] Fetching swift-transformers
[845/9779] Fetching swift-transformers, swift-huggingface
[846/26720] Fetching swift-transformers, swift-huggingface, mlx-swift
[26721/47898] Fetching swift-transformers, swift-huggingface, mlx-swift, mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift.git (6.75s)
Fetched https://github.com/ml-explore/mlx-swift-lm.git (6.75s)
Fetched https://github.com/huggingface/swift-transformers.git (6.75s)
Fetched https://github.com/huggingface/swift-huggingface.git (6.76s)
Computing version for https://github.com/ml-explore/mlx-swift-lm.git
Computed https://github.com/ml-explore/mlx-swift-lm.git at 2.31.3 (7.41s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.2.1 (0.59s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-crypto.git
[1/1376] Fetching swift-jinja
[2/19925] Fetching swift-jinja, swift-crypto
[1102/24824] Fetching swift-jinja, swift-crypto, yyjson
[1289/52526] Fetching swift-jinja, swift-crypto, yyjson, swift-collections
Fetched https://github.com/huggingface/swift-jinja.git (3.45s)
Fetched https://github.com/apple/swift-collections.git (3.45s)
Fetched https://github.com/ibireme/yyjson.git (3.45s)
Fetched https://github.com/apple/swift-crypto.git (3.45s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (6.21s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.31.6 (0.61s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/6640] Fetching swift-numerics
[1197/25581] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (1.30s)
[758/18941] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.81s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.11.0 (2.44s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git (0.92s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.51s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.55s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.64s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.57s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (2.21s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.13s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.81s)
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/ml-explore/mlx-swift.git
Working copy of https://github.com/ml-explore/mlx-swift.git resolved at 0.31.6
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.2.1
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/ml-explore/mlx-swift-lm.git
Working copy of https://github.com/ml-explore/mlx-swift-lm.git resolved at 2.31.3
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.5.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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.11.0
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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/Sources/MLXAudioCore/Generation/GenerationTypes.swift:56:10: [1;33mwarning: [1;39massociated value 'audio' of 'Sendable'-conforming enum 'AudioGeneration' has non-Sendable type 'MLXArray'[0;0m
[0;36m54 |[0;0m case info(AudioGenerationInfo)
[0;36m55 |[0;0m /// Final generated audio
[0;36m56 |[0;0m case audio(MLXArray)
[0;36m|[0;0m `- [1;33mwarning: [1;39massociated value 'audio' of 'Sendable'-conforming enum 'AudioGeneration' has non-Sendable type 'MLXArray'[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioCore/Generation/GenerationTypes.swift:56:10: [1;33mwarning: [1;39massociated value 'audio' of 'Sendable'-conforming enum 'AudioGeneration' has non-Sendable type 'MLXArray'[0;0m
[0;36m54 |[0;0m case info(AudioGenerationInfo)
[0;36m55 |[0;0m /// Final generated audio
[0;36m56 |[0;0m case audio(MLXArray)
[0;36m|[0;0m `- [1;33mwarning: [1;39massociated value 'audio' of 'Sendable'-conforming enum 'AudioGeneration' has non-Sendable type 'MLXArray'[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:22:16: [1;33mwarning: [1;39mstored property 'speakerProbs' of 'Sendable'-conforming struct 'DiarizationOutput' contains non-Sendable type 'MLXArray'[0;0m
[0;36m20 |[0;0m public struct DiarizationOutput: Sendable {
[0;36m21 |[0;0m public let segments: [DiarizationSegment]
[0;36m22 |[0;0m public let speakerProbs: MLXArray?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'speakerProbs' of 'Sendable'-conforming struct 'DiarizationOutput' contains non-Sendable type 'MLXArray'[0;0m
[0;36m23 |[0;0m public let numSpeakers: Int
[0;36m24 |[0;0m public let totalTime: Double
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:57:16: [1;33mwarning: [1;39mstored property 'spkcache' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m public struct StreamingState: Sendable {
[0;36m57 |[0;0m public var spkcache: MLXArray // (1, cache_frames, emb_dim)
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'spkcache' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m58 |[0;0m public var spkcachePreds: MLXArray // (1, cache_frames, n_spk)
[0;36m59 |[0;0m public var fifo: MLXArray // (1, fifo_frames, emb_dim)
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:58:16: [1;33mwarning: [1;39mstored property 'spkcachePreds' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m56 |[0;0m public struct StreamingState: Sendable {
[0;36m57 |[0;0m public var spkcache: MLXArray // (1, cache_frames, emb_dim)
[0;36m58 |[0;0m public var spkcachePreds: MLXArray // (1, cache_frames, n_spk)
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'spkcachePreds' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m59 |[0;0m public var fifo: MLXArray // (1, fifo_frames, emb_dim)
[0;36m60 |[0;0m public var fifoPreds: MLXArray // (1, fifo_frames, n_spk)
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:59:16: [1;33mwarning: [1;39mstored property 'fifo' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m57 |[0;0m public var spkcache: MLXArray // (1, cache_frames, emb_dim)
[0;36m58 |[0;0m public var spkcachePreds: MLXArray // (1, cache_frames, n_spk)
[0;36m59 |[0;0m public var fifo: MLXArray // (1, fifo_frames, emb_dim)
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'fifo' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m60 |[0;0m public var fifoPreds: MLXArray // (1, fifo_frames, n_spk)
[0;36m61 |[0;0m public var framesProcessed: Int // total diarization frames emitted
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:60:16: [1;33mwarning: [1;39mstored property 'fifoPreds' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m58 |[0;0m public var spkcachePreds: MLXArray // (1, cache_frames, n_spk)
[0;36m59 |[0;0m public var fifo: MLXArray // (1, fifo_frames, emb_dim)
[0;36m60 |[0;0m public var fifoPreds: MLXArray // (1, fifo_frames, n_spk)
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'fifoPreds' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m61 |[0;0m public var framesProcessed: Int // total diarization frames emitted
[0;36m62 |[0;0m public var meanSilEmb: MLXArray // (1, emb_dim) running mean silence embedding
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:62:16: [1;33mwarning: [1;39mstored property 'meanSilEmb' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m60 |[0;0m public var fifoPreds: MLXArray // (1, fifo_frames, n_spk)
[0;36m61 |[0;0m public var framesProcessed: Int // total diarization frames emitted
[0;36m62 |[0;0m public var meanSilEmb: MLXArray // (1, emb_dim) running mean silence embedding
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'meanSilEmb' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m63 |[0;0m public var nSilFrames: MLXArray // (1,) count of silence frames seen
[0;36m64 |[0;0m
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:63:16: [1;33mwarning: [1;39mstored property 'nSilFrames' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m61 |[0;0m public var framesProcessed: Int // total diarization frames emitted
[0;36m62 |[0;0m public var meanSilEmb: MLXArray // (1, emb_dim) running mean silence embedding
[0;36m63 |[0;0m public var nSilFrames: MLXArray // (1,) count of silence frames seen
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'nSilFrames' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m public var spkcacheLen: Int { spkcache.dim(1) }
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:22:16: [1;33mwarning: [1;39mstored property 'speakerProbs' of 'Sendable'-conforming struct 'DiarizationOutput' contains non-Sendable type 'MLXArray'[0;0m
[0;36m20 |[0;0m public struct DiarizationOutput: Sendable {
[0;36m21 |[0;0m public let segments: [DiarizationSegment]
[0;36m22 |[0;0m public let speakerProbs: MLXArray?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'speakerProbs' of 'Sendable'-conforming struct 'DiarizationOutput' contains non-Sendable type 'MLXArray'[0;0m
[0;36m23 |[0;0m public let numSpeakers: Int
[0;36m24 |[0;0m public let totalTime: Double
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:57:16: [1;33mwarning: [1;39mstored property 'spkcache' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m public struct StreamingState: Sendable {
[0;36m57 |[0;0m public var spkcache: MLXArray // (1, cache_frames, emb_dim)
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'spkcache' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m58 |[0;0m public var spkcachePreds: MLXArray // (1, cache_frames, n_spk)
[0;36m59 |[0;0m public var fifo: MLXArray // (1, fifo_frames, emb_dim)
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:58:16: [1;33mwarning: [1;39mstored property 'spkcachePreds' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m56 |[0;0m public struct StreamingState: Sendable {
[0;36m57 |[0;0m public var spkcache: MLXArray // (1, cache_frames, emb_dim)
[0;36m58 |[0;0m public var spkcachePreds: MLXArray // (1, cache_frames, n_spk)
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'spkcachePreds' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m59 |[0;0m public var fifo: MLXArray // (1, fifo_frames, emb_dim)
[0;36m60 |[0;0m public var fifoPreds: MLXArray // (1, fifo_frames, n_spk)
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:59:16: [1;33mwarning: [1;39mstored property 'fifo' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m57 |[0;0m public var spkcache: MLXArray // (1, cache_frames, emb_dim)
[0;36m58 |[0;0m public var spkcachePreds: MLXArray // (1, cache_frames, n_spk)
[0;36m59 |[0;0m public var fifo: MLXArray // (1, fifo_frames, emb_dim)
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'fifo' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m60 |[0;0m public var fifoPreds: MLXArray // (1, fifo_frames, n_spk)
[0;36m61 |[0;0m public var framesProcessed: Int // total diarization frames emitted
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:60:16: [1;33mwarning: [1;39mstored property 'fifoPreds' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m58 |[0;0m public var spkcachePreds: MLXArray // (1, cache_frames, n_spk)
[0;36m59 |[0;0m public var fifo: MLXArray // (1, fifo_frames, emb_dim)
[0;36m60 |[0;0m public var fifoPreds: MLXArray // (1, fifo_frames, n_spk)
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'fifoPreds' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m61 |[0;0m public var framesProcessed: Int // total diarization frames emitted
[0;36m62 |[0;0m public var meanSilEmb: MLXArray // (1, emb_dim) running mean silence embedding
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:62:16: [1;33mwarning: [1;39mstored property 'meanSilEmb' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m60 |[0;0m public var fifoPreds: MLXArray // (1, fifo_frames, n_spk)
[0;36m61 |[0;0m public var framesProcessed: Int // total diarization frames emitted
[0;36m62 |[0;0m public var meanSilEmb: MLXArray // (1, emb_dim) running mean silence embedding
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'meanSilEmb' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m63 |[0;0m public var nSilFrames: MLXArray // (1,) count of silence frames seen
[0;36m64 |[0;0m
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/VADOutput.swift:63:16: [1;33mwarning: [1;39mstored property 'nSilFrames' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m61 |[0;0m public var framesProcessed: Int // total diarization frames emitted
[0;36m62 |[0;0m public var meanSilEmb: MLXArray // (1, emb_dim) running mean silence embedding
[0;36m63 |[0;0m public var nSilFrames: MLXArray // (1,) count of silence frames seen
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'nSilFrames' of 'Sendable'-conforming struct 'StreamingState' has non-Sendable type 'MLXArray'[0;0m
[0;36m64 |[0;0m
[0;36m65 |[0;0m public var spkcacheLen: Int { spkcache.dim(1) }
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioVAD/Models/Sortformer/Sortformer.swift:848:18: [1;33mwarning: [1;39munstructured throwing task created by 'detached(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m846 |[0;0m let sendableAudio = UncheckedSendableBox(audio)
[0;36m847 |[0;0m return AsyncThrowingStream { continuation in
[0;36m848 |[0;0m Task.detached {
[0;36m|[0;0m |- [1;33mwarning: [1;39munstructured throwing task created by 'detached(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mto silence this warning, handle the error inside the task, or store/discard the task value explicitly[0;0m
[0;36m849 |[0;0m let model = sendableModel.value
[0;36m850 |[0;0m let audio = sendableAudio.value
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/FishSpeech/FishSpeechPrompt.swift:21:9: [1;33mwarning: [1;39mstored property 'codes' of 'Sendable'-conforming struct 'FishSpeechVQPart' has non-Sendable type 'MLXArray'[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m struct FishSpeechVQPart: Sendable {
[0;36m21 |[0;0m let codes: MLXArray
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'codes' of 'Sendable'-conforming struct 'FishSpeechVQPart' has non-Sendable type 'MLXArray'[0;0m
[0;36m22 |[0;0m
[0;36m23 |[0;0m init(_ codes: MLXArray) {
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/StyleTTS2/Kokoro/KokoroModel.swift:187:61: [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m185 |[0;0m do {
[0;36m186 |[0;0m let audio = try await self.generate(
[0;36m187 |[0;0m text: text, voice: voice, refAudio: refAudio,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m188 |[0;0m refText: refText, language: language,
[0;36m189 |[0;0m generationParameters: generationParameters
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Marvis/MarvisTTSModel.swift:372:39: [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m370 |[0;0m guard let self else { return }
[0;36m371 |[0;0m do {
[0;36m372 |[0;0m guard voice != nil || refAudio != nil else {
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m373 |[0;0m throw MarvisTTSModelError.invalidArgument("`voice` or `refAudio`/`refText` must be specified.")
[0;36m374 |[0;0m }
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Marvis/MarvisTTSModel.swift:372:39: [1;33mwarning: [1;39mimplicit capture of 'refAudio' requires that 'MLXArray?' conforms to 'Sendable'[0;0m
[0;36m370 |[0;0m guard let self else { return }
[0;36m371 |[0;0m do {
[0;36m372 |[0;0m guard voice != nil || refAudio != nil else {
[0;36m|[0;0m `- [1;33mwarning: [1;39mimplicit capture of 'refAudio' requires that 'MLXArray?' conforms to 'Sendable'[0;0m
[0;36m373 |[0;0m throw MarvisTTSModelError.invalidArgument("`voice` or `refAudio`/`refText` must be specified.")
[0;36m374 |[0;0m }
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Marvis/MarvisTTSModel.swift:618:31: [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m616 |[0;0m voice: resolvedVoice,
[0;36m617 |[0;0m qualityLevel: .maximum,
[0;36m618 |[0;0m refAudio: refAudio,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m619 |[0;0m refText: refText,
[0;36m620 |[0;0m streamingInterval: streamingInterval
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/FishSpeech/FishSpeechModel.swift:600:31: [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m598 |[0;0m let segments = try self.generateSegments(
[0;36m599 |[0;0m text: text,
[0;36m600 |[0;0m refAudio: refAudio,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m601 |[0;0m refText: refText,
[0;36m602 |[0;0m maxTokens: generationParameters.maxTokens ?? 1_024,
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/FishSpeech/FishSpeechPrompt.swift:21:9: [1;33mwarning: [1;39mstored property 'codes' of 'Sendable'-conforming struct 'FishSpeechVQPart' has non-Sendable type 'MLXArray'[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m struct FishSpeechVQPart: Sendable {
[0;36m21 |[0;0m let codes: MLXArray
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'codes' of 'Sendable'-conforming struct 'FishSpeechVQPart' has non-Sendable type 'MLXArray'[0;0m
[0;36m22 |[0;0m
[0;36m23 |[0;0m init(_ codes: MLXArray) {
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Llama/LlamaTTS.swift:807:31: [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m805 |[0;0m prompts: [prompt],
[0;36m806 |[0;0m voice: voice,
[0;36m807 |[0;0m refAudio: refAudio,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m808 |[0;0m refText: refText
[0;36m809 |[0;0m )
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Llama/LlamaTTS.swift:817:29: [1;33mwarning: [1;39mcapture of 'cache' with non-Sendable type '[any KVCache]?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m815 |[0;0m processor?.prompt(promptTokens)
[0;36m816 |[0;0m
[0;36m817 |[0;0m var cache = cache
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'cache' with non-Sendable type '[any KVCache]?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m818 |[0;0m if cache == nil {
[0;36m819 |[0;0m cache = self.makeCache()
MLXLMCommon.KVCache:1:17: [1;39mnote: [1;39mprotocol 'KVCache' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m public protocol KVCache : MLX.Evaluatable {
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'KVCache' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m var offset: Int { get }
[0;36m3 |[0;0m var maxSize: Int? { get }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/StyleTTS2/Blocks/BiLSTM.swift:36:25: [1;33mwarning: [1;39m'addmm(_:_:_:alpha:beta:stream:)' is deprecated: renamed to 'addMM(_:_:_:alpha:beta:stream:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m34 |[0;0m
[0;36m35 |[0;0m private func forwardDirection(_ x: MLXArray) -> MLXArray {
[0;36m36 |[0;0m let xProj = MLX.addmm(bias_ih_forward + bias_hh_forward, x, Wx_forward.transposed())
[0;36m|[0;0m |- [1;33mwarning: [1;39m'addmm(_:_:_:alpha:beta:stream:)' is deprecated: renamed to 'addMM(_:_:_:alpha:beta:stream:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'addMM(_:_:_:alpha:beta:stream:)' instead[0;0m
[0;36m37 |[0;0m
[0;36m38 |[0;0m let seqLen = x.shape[x.ndim - 2]
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/StyleTTS2/Blocks/BiLSTM.swift:64:25: [1;33mwarning: [1;39m'addmm(_:_:_:alpha:beta:stream:)' is deprecated: renamed to 'addMM(_:_:_:alpha:beta:stream:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m62 |[0;0m
[0;36m63 |[0;0m private func backwardDirection(_ x: MLXArray) -> MLXArray {
[0;36m64 |[0;0m let xProj = MLX.addmm(bias_ih_backward + bias_hh_backward, x, Wx_backward.transposed())
[0;36m|[0;0m |- [1;33mwarning: [1;39m'addmm(_:_:_:alpha:beta:stream:)' is deprecated: renamed to 'addMM(_:_:_:alpha:beta:stream:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'addMM(_:_:_:alpha:beta:stream:)' instead[0;0m
[0;36m65 |[0;0m
[0;36m66 |[0;0m let seqLen = x.shape[x.ndim - 2]
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Soprano/Soprano.swift:801:13: [1;33mwarning: [1;39mpassing closure as a 'sending' parameter risks causing data races between code in the current isolation context and concurrent execution of the closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-closure-risks-data-race\SendingClosureRisksDataRace]8;;\]
[0;36m799 |[0;0m ) -> AsyncStream<(Int?, MLXArray)> {
[0;36m800 |[0;0m AsyncStream { continuation in
[0;36m801 |[0;0m Task {
[0;36m|[0;0m `- [1;33mwarning: [1;39mpassing closure as a 'sending' parameter risks causing data races between code in the current isolation context and concurrent execution of the closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-closure-risks-data-race\SendingClosureRisksDataRace]8;;\]
[0;36m802 |[0;0m var ids = inputIds
[0;36m|[0;0m `- [1;39mnote: [1;39mclosure captures 'inputIds' which is accessible to code in the current isolation context[0;0m
[0;36m803 |[0;0m if ids.ndim == 1 {
[0;36m804 |[0;0m ids = ids.expandedDimensions(axis: 0)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Soprano/Soprano.swift:816:30: [1;33mwarning: [1;39msending value of non-Sendable type '(Int?, MLXArray)' risks causing data races[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
[0;36m814 |[0;0m // Yield last hidden state from prefill (last position along sequence dim)
[0;36m815 |[0;0m let lastHiddenState = hiddenStates[0..., (hiddenStates.shape[1] - 1)..<hiddenStates.shape[1], 0...]
[0;36m816 |[0;0m continuation.yield((nil, lastHiddenState))
[0;36m|[0;0m |- [1;33mwarning: [1;39msending value of non-Sendable type '(Int?, MLXArray)' risks causing data races[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mPassing task-isolated value of non-Sendable type '(Int?, MLXArray)' as a 'sending' parameter to instance method 'yield' risks causing races inbetween task-isolated uses and uses reachable from 'yield'[0;0m
[0;36m817 |[0;0m
[0;36m818 |[0;0m // Create sampler
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Soprano/Soprano.swift:866:34: [1;33mwarning: [1;39msending value of non-Sendable type '(Int?, MLXArray)' risks causing data races[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
[0;36m864 |[0;0m let newLastHiddenState = newHiddenStates[0..., (newHiddenStates.shape[1] - 1)..<newHiddenStates.shape[1], 0...]
[0;36m865 |[0;0m eval(newLastHiddenState)
[0;36m866 |[0;0m continuation.yield((tokenId, newLastHiddenState))
[0;36m|[0;0m |- [1;33mwarning: [1;39msending value of non-Sendable type '(Int?, MLXArray)' risks causing data races[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mPassing task-isolated value of non-Sendable type '(Int?, MLXArray)' as a 'sending' parameter to instance method 'yield' risks causing races inbetween task-isolated uses and uses reachable from 'yield'[0;0m
[0;36m867 |[0;0m
[0;36m868 |[0;0m currentLogits = newLogits
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#RegionIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/region-isolation>
[#SendingClosureRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-closure-risks-data-race>
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/PocketTTS/PocketTTSModel.swift:319:31: [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m317 |[0;0m text: text,
[0;36m318 |[0;0m voice: voice,
[0;36m319 |[0;0m refAudio: refAudio,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m320 |[0;0m refText: refText,
[0;36m321 |[0;0m language: language,
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Qwen3/Qwen3.swift:753:31: [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m751 |[0;0m prompts: [prompt],
[0;36m752 |[0;0m voice: voice,
[0;36m753 |[0;0m refAudio: refAudio,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m754 |[0;0m refText: refText
[0;36m755 |[0;0m )
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Qwen3/Qwen3.swift:762:29: [1;33mwarning: [1;39mcapture of 'cache' with non-Sendable type '[any KVCache]?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m760 |[0;0m let promptTokens = inputIds.squeezed(axis: 0)
[0;36m761 |[0;0m processor?.prompt(promptTokens)
[0;36m762 |[0;0m var cache = cache
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'cache' with non-Sendable type '[any KVCache]?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m763 |[0;0m if cache == nil {
[0;36m764 |[0;0m cache = self.makeCache()
MLXLMCommon.KVCache:1:17: [1;39mnote: [1;39mprotocol 'KVCache' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m public protocol KVCache : MLX.Evaluatable {
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'KVCache' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m var offset: Int { get }
[0;36m3 |[0;0m var maxSize: Int? { get }
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTS.swift:170:31: [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m168 |[0;0m instruct: instruct,
[0;36m169 |[0;0m language: lang,
[0;36m170 |[0;0m refAudio: refAudio,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m171 |[0;0m refText: refText,
[0;36m172 |[0;0m temperature: temp,
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTS.swift:428:31: [1;33mwarning: [1;39mcapture of 'conditioning' with non-Sendable type 'Qwen3TTSModel.Qwen3TTSReferenceConditioning' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m38 |[0;0m }
[0;36m39 |[0;0m
[0;36m40 |[0;0m public struct Qwen3TTSReferenceConditioning {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Qwen3TTSReferenceConditioning' conform to the 'Sendable' protocol[0;0m
[0;36m41 |[0;0m public let speakerEmbedding: MLXArray?
[0;36m42 |[0;0m public let referenceSpeechCodes: MLXArray
[0;36m:[0;0m
[0;36m426 |[0;0m text: text,
[0;36m427 |[0;0m instruct: nil,
[0;36m428 |[0;0m language: conditioning.resolvedLanguage,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'conditioning' with non-Sendable type 'Qwen3TTSModel.Qwen3TTSReferenceConditioning' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m429 |[0;0m refAudio: nil,
[0;36m430 |[0;0m refText: nil,
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Qwen3TTS/Qwen3TTS.swift:450:15: [1;33mwarning: [1;39m'catch' block is unreachable because no errors are thrown in 'do' block[0;0m
[0;36m448 |[0;0m )
[0;36m449 |[0;0m continuation.finish()
[0;36m450 |[0;0m } catch {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'catch' block is unreachable because no errors are thrown in 'do' block[0;0m
[0;36m451 |[0;0m continuation.finish(throwing: error)
[0;36m452 |[0;0m }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/StyleTTS2/KittenTTS/KittenTTSModel.swift:78:13: [1;33mwarning: [1;39mvariable 'predAlnTrg' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m76 |[0;0m let allIndices = MLX.concatenated(indices, axis: 0)
[0;36m77 |[0;0m
[0;36m78 |[0;0m var predAlnTrg = MLXArray.zeros([inputIds.shape[1], allIndices.shape[0]])
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'predAlnTrg' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m79 |[0;0m predAlnTrg[allIndices, MLXArray(Array(0..<Int32(allIndices.shape[0])))] = MLXArray(Float(1))
[0;36m80 |[0;0m let predAln = predAlnTrg.expandedDimensions(axis: 0)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/StyleTTS2/KittenTTS/KittenTTSModules.swift:87:17: [1;33mwarning: [1;39mvariable 'result' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m85 |[0;0m let padded = MLXArray.zeros([h.shape[0], h.shape[1], mask.shape[mask.ndim - 1]])
[0;36m86 |[0;0m let validLen = min(h.shape[2], padded.shape[2])
[0;36m87 |[0;0m var result = padded
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'result' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m88 |[0;0m result[0..., 0..., ..<validLen] = h[0..., 0..., ..<validLen]
[0;36m89 |[0;0m h = result
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioTTS/Models/Chatterbox/ChatterboxModel.swift:873:31: [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m871 |[0;0m text: text,
[0;36m872 |[0;0m voice: voice,
[0;36m873 |[0;0m refAudio: refAudio,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'refAudio' with non-Sendable type 'MLXArray?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m874 |[0;0m refText: refText,
[0;36m875 |[0;0m language: language,
MLX.MLXArray:1:20: [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m final public class MLXArray {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MLXArray' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public internal(set) var ctx: mlx_array { get }
[0;36m3 |[0;0m public init(_ ctx: consuming mlx_array)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Transformer.swift:26:9: [1;33mwarning: [1;39minitialization of immutable value 'halfDim' 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;36m24 |[0;0m let shape = xq.shape
[0;36m25 |[0;0m let lastDim = shape[shape.count - 1]
[0;36m26 |[0;0m let halfDim = lastDim / 2
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of immutable value 'halfDim' 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;36m27 |[0;0m
[0;36m28 |[0;0m let xqR = xq[0..., 0..., 0..., .stride(by: 2)]
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Transformer.swift:136:13: [1;33mwarning: [1;39mvariable 'qT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m134 |[0;0m let newCache = (k, v)
[0;36m135 |[0;0m
[0;36m136 |[0;0m var qT = q.transposed(0, 2, 1, 3)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'qT' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m137 |[0;0m var kT = k.transposed(0, 2, 1, 3)
[0;36m138 |[0;0m var vT = v.transposed(0, 2, 1, 3)
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Conformer.swift:171:13: [1;33mwarning: [1;39mvariable 'q' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m169 |[0;0m let (B, T, _) = (x.dim(0), x.dim(1), x.dim(2))
[0;36m170 |[0;0m
[0;36m171 |[0;0m var q = qProj(x).reshaped(B, T, numHeads, headDim)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'q' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m172 |[0;0m let k = kProj(x).reshaped(B, T, numHeads, headDim)
[0;36m173 |[0;0m let v = vProj(x).reshaped(B, T, numHeads, headDim)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Conformer.swift:270:14: [1;33mwarning: [1;39mimmutable value 'B' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m268 |[0;0m
[0;36m269 |[0;0m func callAsFunction(_ x: MLXArray) -> MLXArray {
[0;36m270 |[0;0m let (B, T, D) = (x.dim(0), x.dim(1), x.dim(2))
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'B' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m271 |[0;0m
[0;36m272 |[0;0m var h = x.expandedDimensions(axis: 3)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Conformer.swift:270:17: [1;33mwarning: [1;39mimmutable value 'T' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m268 |[0;0m
[0;36m269 |[0;0m func callAsFunction(_ x: MLXArray) -> MLXArray {
[0;36m270 |[0;0m let (B, T, D) = (x.dim(0), x.dim(1), x.dim(2))
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'T' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m271 |[0;0m
[0;36m272 |[0;0m var h = x.expandedDimensions(axis: 3)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Conformer.swift:270:20: [1;33mwarning: [1;39mimmutable value 'D' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m268 |[0;0m
[0;36m269 |[0;0m func callAsFunction(_ x: MLXArray) -> MLXArray {
[0;36m270 |[0;0m let (B, T, D) = (x.dim(0), x.dim(1), x.dim(2))
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'D' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m271 |[0;0m
[0;36m272 |[0;0m var h = x.expandedDimensions(axis: 3)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Conformer.swift:280:24: [1;33mwarning: [1;39mimmutable value 'DOut' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m278 |[0;0m h = relu(conv[6]!(h))
[0;36m279 |[0;0m
[0;36m280 |[0;0m let (B2, TOut, DOut, C) = (h.dim(0), h.dim(1), h.dim(2), h.dim(3))
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'DOut' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m281 |[0;0m h = h.transposed(0, 1, 3, 2).reshaped(B2, TOut, -1)
[0;36m282 |[0;0m return out(h)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Conformer.swift:280:30: [1;33mwarning: [1;39mimmutable value 'C' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m278 |[0;0m h = relu(conv[6]!(h))
[0;36m279 |[0;0m
[0;36m280 |[0;0m let (B2, TOut, DOut, C) = (h.dim(0), h.dim(1), h.dim(2), h.dim(3))
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'C' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m281 |[0;0m h = h.transposed(0, 1, 3, 2).reshaped(B2, TOut, -1)
[0;36m282 |[0;0m return out(h)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Detokenizer.swift:110:14: [1;33mwarning: [1;39mimmutable value 'B' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m108 |[0;0m
[0;36m109 |[0;0m private func applyRoPE(_ x: MLXArray, offset: Int = 0) -> MLXArray {
[0;36m110 |[0;0m let (B, H, T, D) = (x.dim(0), x.dim(1), x.dim(2), x.dim(3))
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'B' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m111 |[0;0m let invFreq = 1.0 / MLX.pow(
[0;36m112 |[0;0m MLXArray(ropeTheta),
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Detokenizer.swift:110:17: [1;33mwarning: [1;39mimmutable value 'H' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m108 |[0;0m
[0;36m109 |[0;0m private func applyRoPE(_ x: MLXArray, offset: Int = 0) -> MLXArray {
[0;36m110 |[0;0m let (B, H, T, D) = (x.dim(0), x.dim(1), x.dim(2), x.dim(3))
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'H' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m111 |[0;0m let invFreq = 1.0 / MLX.pow(
[0;36m112 |[0;0m MLXArray(ropeTheta),
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Detokenizer.swift:307:14: [1;33mwarning: [1;39mimmutable value 'B' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m305 |[0;0m
[0;36m306 |[0;0m public func callAsFunction(_ codes: MLXArray) -> MLXArray {
[0;36m307 |[0;0m let (B, K, T) = (codes.dim(0), codes.dim(1), codes.dim(2))
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'B' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m308 |[0;0m
[0;36m309 |[0;0m let clampedCodes = MLX.clip(codes, min: 0, max: config.vocabSize - 1)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Detokenizer.swift:307:17: [1;33mwarning: [1;39mimmutable value 'K' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m305 |[0;0m
[0;36m306 |[0;0m public func callAsFunction(_ codes: MLXArray) -> MLXArray {
[0;36m307 |[0;0m let (B, K, T) = (codes.dim(0), codes.dim(1), codes.dim(2))
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'K' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m308 |[0;0m
[0;36m309 |[0;0m let clampedCodes = MLX.clip(codes, min: 0, max: config.vocabSize - 1)
/Users/admin/builder/spi-builder-workspace/Sources/MLXAudioSTS/Models/LFMAudio/Detokenizer.swift:307:20: [1;33mwarning: [1;39mimmutable value 'T' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m305 |[0;0m
[0;36m306 |[0;0m public func callAsFunction(_ codes: MLXArray) -> MLXArray {
[0;36m307 |[0;0m let (B, K, T) = (codes.dim(0), codes.dim(1), codes.dim(2))
[0;36m|[0;0m `- [1;33mwarning: [1;39mimmutable value 'T' was never used; consider replacing with '_' or removing it[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m308 |[0;0m
[0;36m309 |[0;0m let clampedCodes = MLX.clip(codes, min: 0, max: config.vocabSize - 1)
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
Build complete.
{
"dependencies" : [
{
"identity" : "mlx-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.30.6",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift.git"
},
{
"identity" : "mlx-swift-lm",
"requirement" : {
"range" : [
{
"lower_bound" : "2.30.3",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift-lm.git"
},
{
"identity" : "swift-transformers",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers.git"
},
{
"identity" : "swift-huggingface",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-huggingface.git"
}
],
"manifest_display_name" : "MLXAudio",
"name" : "MLXAudio",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "MLXAudioCore",
"targets" : [
"MLXAudioCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXAudioCodecs",
"targets" : [
"MLXAudioCodecs"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXAudioTTS",
"targets" : [
"MLXAudioTTS"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXAudioSTT",
"targets" : [
"MLXAudioSTT"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXAudioVAD",
"targets" : [
"MLXAudioVAD"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXAudioLID",
"targets" : [
"MLXAudioLID"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXAudioSTS",
"targets" : [
"MLXAudioSTS"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXAudioUI",
"targets" : [
"MLXAudioUI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXAudioG2P",
"targets" : [
"MLXAudioG2P"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXAudio",
"targets" : [
"MLXAudioCore",
"MLXAudioCodecs",
"MLXAudioTTS",
"MLXAudioSTT",
"MLXAudioVAD",
"MLXAudioLID",
"MLXAudioSTS",
"MLXAudioUI",
"MLXAudioG2P"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "mlx-audio-swift-tts",
"targets" : [
"mlx-audio-swift-tts"
],
"type" : {
"executable" : null
}
},
{
"name" : "mlx-audio-swift-codec",
"targets" : [
"mlx-audio-swift-codec"
],
"type" : {
"executable" : null
}
},
{
"name" : "mlx-audio-swift-sts",
"targets" : [
"mlx-audio-swift-sts"
],
"type" : {
"executable" : null
}
},
{
"name" : "mlx-audio-swift-stt",
"targets" : [
"mlx-audio-swift-stt"
],
"type" : {
"executable" : null
}
},
{
"name" : "mlx-audio-swift-lid",
"targets" : [
"mlx-audio-swift-lid"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "mlx_audio_swift_tts",
"module_type" : "SwiftTarget",
"name" : "mlx-audio-swift-tts",
"path" : "Sources/Tools/mlx-audio-swift-tts",
"product_memberships" : [
"mlx-audio-swift-tts"
],
"sources" : [
"App.swift"
],
"target_dependencies" : [
"MLXAudioCore",
"MLXAudioTTS",
"MLXAudioSTT"
],
"type" : "executable"
},
{
"c99name" : "mlx_audio_swift_stt",
"module_type" : "SwiftTarget",
"name" : "mlx-audio-swift-stt",
"path" : "Sources/Tools/mlx-audio-swift-stt",
"product_memberships" : [
"mlx-audio-swift-stt"
],
"sources" : [
"App.swift"
],
"target_dependencies" : [
"MLXAudioCore",
"MLXAudioSTT"
],
"type" : "executable"
},
{
"c99name" : "mlx_audio_swift_sts",
"module_type" : "SwiftTarget",
"name" : "mlx-audio-swift-sts",
"path" : "Sources/Tools/mlx-audio-swift-sts",
"product_memberships" : [
"mlx-audio-swift-sts"
],
"sources" : [
"App.swift"
],
"target_dependencies" : [
"MLXAudioCore",
"MLXAudioSTS"
],
"type" : "executable"
},
{
"c99name" : "mlx_audio_swift_lid",
"module_type" : "SwiftTarget",
"name" : "mlx-audio-swift-lid",
"path" : "Sources/Tools/mlx-audio-swift-lid",
"product_memberships" : [
"mlx-audio-swift-lid"
],
"sources" : [
"App.swift"
],
"target_dependencies" : [
"MLXAudioCore",
"MLXAudioLID"
],
"type" : "executable"
},
{
"c99name" : "mlx_audio_swift_codec",
"module_type" : "SwiftTarget",
"name" : "mlx-audio-swift-codec",
"path" : "Sources/Tools/mlx-audio-swift-codec",
"product_memberships" : [
"mlx-audio-swift-codec"
],
"sources" : [
"App.swift"
],
"target_dependencies" : [
"MLXAudioCore",
"MLXAudioCodecs"
],
"type" : "executable"
},
{
"c99name" : "MLXAudioVAD",
"module_type" : "SwiftTarget",
"name" : "MLXAudioVAD",
"path" : "Sources/MLXAudioVAD",
"product_dependencies" : [
"MLX",
"MLXNN",
"MLXLMCommon",
"HuggingFace"
],
"product_memberships" : [
"MLXAudioVAD",
"MLXAudio"
],
"sources" : [
"Models/SmartTurn/SmartTurn.swift",
"Models/SmartTurn/SmartTurnConfig.swift",
"Models/SmartTurn/SmartTurnFeatures.swift",
"Models/Sortformer/Sortformer.swift",
"Models/Sortformer/SortformerConfig.swift",
"Models/Sortformer/SortformerFeatures.swift",
"VADOutput.swift"
],
"target_dependencies" : [
"MLXAudioCore"
],
"type" : "library"
},
{
"c99name" : "MLXAudioUI",
"module_type" : "SwiftTarget",
"name" : "MLXAudioUI",
"path" : "Sources/MLXAudioUI",
"product_memberships" : [
"MLXAudioUI",
"MLXAudio"
],
"sources" : [
"Placeholder.swift"
],
"target_dependencies" : [
"MLXAudioCore",
"MLXAudioTTS",
"MLXAudioSTS"
],
"type" : "library"
},
{
"c99name" : "MLXAudioTests",
"module_type" : "SwiftTarget",
"name" : "MLXAudioTests",
"path" : "Tests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/media",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"IncrementalMelSpectrogramTests.swift",
"MLXAudioCodecsTests.swift",
"MLXAudioG2PCMUDictTests.swift",
"MLXAudioG2PTests.swift",
"MLXAudioLIDTests.swift",
"MLXAudioSTSTests.swift",
"MLXAudioSTTTests.swift",
"MLXAudioSmokeTests.swift",
"MLXAudioTTSTests.swift",
"MLXAudioVADTests.swift"
],
"target_dependencies" : [
"MLXAudioCore",
"MLXAudioCodecs",
"MLXAudioTTS",
"MLXAudioSTT",
"MLXAudioVAD",
"MLXAudioSTS",
"MLXAudioLID",
"mlx-audio-swift-lid",
"MLXAudioG2P"
],
"type" : "test"
},
{
"c99name" : "MLXAudioTTS",
"module_type" : "SwiftTarget",
"name" : "MLXAudioTTS",
"path" : "Sources/MLXAudioTTS",
"product_dependencies" : [
"MLX",
"MLXFast",
"MLXNN",
"MLXLMCommon",
"MLXLLM",
"HuggingFace",
"Transformers"
],
"product_memberships" : [
"MLXAudioTTS",
"MLXAudioSTS",
"MLXAudioUI",
"MLXAudio",
"mlx-audio-swift-tts",
"mlx-audio-swift-sts"
],
"sources" : [
"Generation.swift",
"Models/Chatterbox/ChatterboxConfig.swift",
"Models/Chatterbox/ChatterboxModel.swift",
"Models/Chatterbox/S3Gen/CAMPPlus.swift",
"Models/Chatterbox/S3Gen/ConformerEncoder.swift",
"Models/Chatterbox/S3Gen/FlowMatching.swift",
"Models/Chatterbox/S3Gen/HiFTGenerator.swift",
"Models/Chatterbox/S3Gen/S3GenMel.swift",
"Models/Chatterbox/S3Tokenizer/S3TokenizerV2.swift",
"Models/Chatterbox/T3/LearnedPositionEmbeddings.swift",
"Models/Chatterbox/T3/Perceiver.swift",
"Models/Chatterbox/T3/T3CondEnc.swift",
"Models/Chatterbox/T3/T3GPT2Model.swift",
"Models/Chatterbox/T3/T3Model.swift",
"Models/Chatterbox/VoiceEncoder/VoiceEncoder.swift",
"Models/Chatterbox/VoiceEncoder/VoiceEncoderMelSpec.swift",
"Models/EchoTTS/EchoDiT.swift",
"Models/EchoTTS/EchoTTSAudio.swift",
"Models/EchoTTS/EchoTTSConfig.swift",
"Models/EchoTTS/EchoTTSModel.swift",
"Models/EchoTTS/EchoTTSSampling.swift",
"Models/EchoTTS/EchoTTSText.swift",
"Models/FishSpeech/FishSpeechConfig.swift",
"Models/FishSpeech/FishSpeechModel.swift",
"Models/FishSpeech/FishSpeechPrompt.swift",
"Models/FishSpeech/FishSpeechTokenizer.swift",
"Models/Llama/LlamaTTS.swift",
"Models/Llama/LlamaTTSConfig.swift",
"Models/Marvis/CSMLlamaModel.swift",
"Models/Marvis/CSMModel.swift",
"Models/Marvis/MarvisTTSModel.swift",
"Models/PocketTTS/PocketTTSConditioners.swift",
"Models/PocketTTS/PocketTTSConfig.swift",
"Models/PocketTTS/PocketTTSFlowLM.swift",
"Models/PocketTTS/PocketTTSMLP.swift",
"Models/PocketTTS/PocketTTSMimiAdapter.swift",
"Models/PocketTTS/PocketTTSModel.swift",
"Models/PocketTTS/PocketTTSTextUtils.swift",
"Models/PocketTTS/PocketTTSTransformer.swift",
"Models/Qwen3/Config.swift",
"Models/Qwen3/Qwen3.swift",
"Models/Qwen3TTS/Qwen3TTS.swift",
"Models/Qwen3TTS/Qwen3TTSCodePredictor.swift",
"Models/Qwen3TTS/Qwen3TTSConfig.swift",
"Models/Qwen3TTS/Qwen3TTSSpeakerEncoder.swift",
"Models/Qwen3TTS/Qwen3TTSSpeechTokenizer.swift",
"Models/Qwen3TTS/Qwen3TTSTalker.swift",
"Models/Soprano/Soprano.swift",
"Models/Soprano/SopranoConfig.swift",
"Models/Soprano/SopranoDecoder.swift",
"Models/Soprano/TextUtils.swift",
"Models/StyleTTS2/Albert.swift",
"Models/StyleTTS2/Blocks/BiLSTM.swift",
"Models/StyleTTS2/Blocks/LinearNorm.swift",
"Models/StyleTTS2/Blocks/Normalization.swift",
"Models/StyleTTS2/Blocks/ResidualBlocks.swift",
"Models/StyleTTS2/Blocks/SineGenerator.swift",
"Models/StyleTTS2/Blocks/UpSample1d.swift",
"Models/StyleTTS2/Blocks/Utilities.swift",
"Models/StyleTTS2/Blocks/WeightNormedConv.swift",
"Models/StyleTTS2/G2P/EnglishG2P.swift",
"Models/StyleTTS2/G2P/EnglishNum2Word.swift",
"Models/StyleTTS2/G2P/FallbackNetwork/BARTConfig.swift",
"Models/StyleTTS2/G2P/FallbackNetwork/BARTDecoderLayer.swift",
"Models/StyleTTS2/G2P/FallbackNetwork/BARTEncoderLayer.swift",
"Models/StyleTTS2/G2P/FallbackNetwork/BARTLayerNorm.swift",
"Models/StyleTTS2/G2P/FallbackNetwork/BARTModel.swift",
"Models/StyleTTS2/G2P/FallbackNetwork/EnglishFallbackNetwork.swift",
"Models/StyleTTS2/G2P/FallbackNetwork/FeedForward.swift",
"Models/StyleTTS2/G2P/FallbackNetwork/MultiHeadAttention.swift",
"Models/StyleTTS2/G2P/G2PExtensions.swift",
"Models/StyleTTS2/G2P/Lexicon/DataResourcesUtil.swift",
"Models/StyleTTS2/G2P/Lexicon/Lexicon.swift",
"Models/StyleTTS2/G2P/Lexicon/PennTagUtil.swift",
"Models/StyleTTS2/G2P/MToken.swift",
"Models/StyleTTS2/G2P/MisakiTextProcessor.swift",
"Models/StyleTTS2/G2P/TokenContext.swift",
"Models/StyleTTS2/KittenTTS/KittenTTSConfig.swift",
"Models/StyleTTS2/KittenTTS/KittenTTSISTFTNet.swift",
"Models/StyleTTS2/KittenTTS/KittenTTSModel.swift",
"Models/StyleTTS2/KittenTTS/KittenTTSModules.swift",
"Models/StyleTTS2/KittenTTS/KittenTTSTextCleaner.swift",
"Models/StyleTTS2/Kokoro/KokoroConfig.swift",
"Models/StyleTTS2/Kokoro/KokoroDecoder.swift",
"Models/StyleTTS2/Kokoro/KokoroModel.swift",
"Models/StyleTTS2/Kokoro/KokoroModules.swift",
"Models/StyleTTS2/Kokoro/KokoroMultilingualProcessor.swift",
"Models/StyleTTS2/SharedConfigs.swift",
"TTSModel.swift",
"TextProcessor.swift"
],
"target_dependencies" : [
"MLXAudioCore",
"MLXAudioCodecs",
"MLXAudioG2P"
],
"type" : "library"
},
{
"c99name" : "MLXAudioSTT",
"module_type" : "SwiftTarget",
"name" : "MLXAudioSTT",
"path" : "Sources/MLXAudioSTT",
"product_dependencies" : [
"MLX",
"MLXFast",
"MLXNN",
"MLXLMCommon",
"MLXLLM",
"HuggingFace",
"Transformers"
],
"product_memberships" : [
"MLXAudioSTT",
"MLXAudioSTS",
"MLXAudioUI",
"MLXAudio",
"mlx-audio-swift-tts",
"mlx-audio-swift-sts",
"mlx-audio-swift-stt"
],
"sources" : [
"Generation.swift",
"MLXAudioSTT.swift",
"Models/CohereTranscribe/CohereTranscribe.swift",
"Models/CohereTranscribe/CohereTranscribeAudio.swift",
"Models/CohereTranscribe/CohereTranscribeConfig.swift",
"Models/CohereTranscribe/CohereTranscribeDecoder.swift",
"Models/CohereTranscribe/CohereTranscribeEncoder.swift",
"Models/CohereTranscribe/CohereTranscribeTokenizer.swift",
"Models/FireRedASR2/FireRedASR2Audio.swift",
"Models/FireRedASR2/FireRedASR2Config.swift",
"Models/FireRedASR2/FireRedASR2Model.swift",
"Models/FireRedASR2/FireRedASR2Tokenizer.swift",
"Models/GLMASR/GLMASR.swift",
"Models/GLMASR/GLMASRConfig.swift",
"Models/GLMASR/GLMASRLayers.swift",
"Models/GLMASR/STTOutput.swift",
"Models/GraniteSpeech/GraniteSpeech.swift",
"Models/GraniteSpeech/GraniteSpeechConfig.swift",
"Models/Parakeet/ParakeetAlignment.swift",
"Models/Parakeet/ParakeetAttention.swift",
"Models/Parakeet/ParakeetAudio.swift",
"Models/Parakeet/ParakeetCTCLayers.swift",
"Models/Parakeet/ParakeetConfig.swift",
"Models/Parakeet/ParakeetConformer.swift",
"Models/Parakeet/ParakeetDecodingLogic.swift",
"Models/Parakeet/ParakeetModel.swift",
"Models/Parakeet/ParakeetRNNTLayers.swift",
"Models/Parakeet/ParakeetTokenizer.swift",
"Models/Qwen3ASR/Qwen3ASR.swift",
"Models/Qwen3ASR/Qwen3ASRConfig.swift",
"Models/Qwen3ASR/Qwen3ForcedAligner.swift",
"Models/SenseVoice/SenseVoiceAudio.swift",
"Models/SenseVoice/SenseVoiceConfig.swift",
"Models/SenseVoice/SenseVoiceModel.swift",
"Models/SenseVoice/SenseVoiceTokenizer.swift",
"Models/VoxtralRealtime/VoxtralRealtime.swift",
"Models/VoxtralRealtime/VoxtralRealtimeAudio.swift",
"Models/VoxtralRealtime/VoxtralRealtimeConfig.swift",
"Models/VoxtralRealtime/VoxtralRealtimeDecoder.swift",
"Models/VoxtralRealtime/VoxtralRealtimeEncoder.swift",
"Models/VoxtralRealtime/VoxtralRealtimeTokenizer.swift",
"Streaming/IncrementalMelSpectrogram.swift",
"Streaming/StreamingEncoder.swift",
"Streaming/StreamingInferenceSession.swift",
"Streaming/StreamingTypes.swift"
],
"target_dependencies" : [
"MLXAudioCore",
"MLXAudioCodecs"
],
"type" : "library"
},
{
"c99name" : "MLXAudioSTS",
"module_type" : "SwiftTarget",
"name" : "MLXAudioSTS",
"path" : "Sources/MLXAudioSTS",
"product_dependencies" : [
"MLX",
"MLXNN",
"MLXFast",
"MLXLMCommon",
"MLXLLM",
"HuggingFace",
"Transformers"
],
"product_memberships" : [
"MLXAudioSTS",
"MLXAudioUI",
"MLXAudio",
"mlx-audio-swift-sts"
],
"sources" : [
"Models/LFMAudio/Conformer.swift",
"Models/LFMAudio/Detokenizer.swift",
"Models/LFMAudio/LFMAudioConfig.swift",
"Models/LFMAudio/LFMAudioModel.swift",
"Models/LFMAudio/Processor.swift",
"Models/LFMAudio/Transformer.swift",
"Models/MossFormer2SE/MossFormer2Config.swift",
"Models/MossFormer2SE/MossFormer2DSP.swift",
"Models/MossFormer2SE/MossFormer2Layers.swift",
"Models/MossFormer2SE/MossFormer2Model.swift",
"Models/SAMAudio/SAMAudio.swift",
"Models/SAMAudio/SAMAudioAlign.swift",
"Models/SAMAudio/SAMAudioConfig.swift",
"Models/SAMAudio/SAMAudioPatcher.swift",
"Models/SAMAudio/SAMAudioProcessor.swift",
"Models/SAMAudio/SAMAudioRope.swift",
"Models/SAMAudio/SAMAudioTextEncoder.swift",
"Models/SAMAudio/SAMAudioTransformer.swift",
"Models/SAMAudio/SAMAudioTypes.swift",
"Models/SAMAudio/SAMAudioWeights.swift",
"STSModel.swift"
],
"target_dependencies" : [
"MLXAudioCore",
"MLXAudioCodecs",
"MLXAudioTTS",
"MLXAudioSTT"
],
"type" : "library"
},
{
"c99name" : "MLXAudioLID",
"module_type" : "SwiftTarget",
"name" : "MLXAudioLID",
"path" : "Sources/MLXAudioLID",
"product_dependencies" : [
"MLX",
"MLXNN",
"HuggingFace"
],
"product_memberships" : [
"MLXAudioLID",
"MLXAudio",
"mlx-audio-swift-lid"
],
"sources" : [
"LIDOutput.swift",
"Models/EcapaTdnn/EcapaMelSpectrogram.swift",
"Models/EcapaTdnn/EcapaTdnnConfig.swift",
"Models/EcapaTdnn/EcapaTdnnLID.swift",
"Models/EcapaTdnn/EcapaTdnnLayers.swift",
"Models/Wav2Vec2/Wav2Vec2Config.swift",
"Models/Wav2Vec2/Wav2Vec2LID.swift",
"Models/Wav2Vec2/Wav2Vec2Layers.swift"
],
"target_dependencies" : [
"MLXAudioCore",
"MLXAudioCodecs"
],
"type" : "library"
},
{
"c99name" : "MLXAudioG2P",
"module_type" : "SwiftTarget",
"name" : "MLXAudioG2P",
"path" : "Sources/MLXAudioG2P",
"product_dependencies" : [
"MLX",
"MLXNN"
],
"product_memberships" : [
"MLXAudioTTS",
"MLXAudioSTS",
"MLXAudioUI",
"MLXAudioG2P",
"MLXAudio",
"mlx-audio-swift-tts",
"mlx-audio-swift-sts"
],
"sources" : [
"Attention.swift",
"Config.swift",
"Decoder.swift",
"DecoderLayer.swift",
"Encoder.swift",
"EncoderLayer.swift",
"FeedForward.swift",
"G2P.swift",
"G2PTypes.swift",
"Lexicon/CMUDict/ARPAbetMapper.swift",
"Lexicon/CMUDict/CMUDictLoader.swift",
"Lexicon/CMUDict/CMUDictParser.swift",
"Lexicon/InMemoryLexicon.swift",
"Lexicon/LexiconEntry.swift",
"Lexicon/LexiconProviding.swift",
"Model.swift",
"NeuralPhonemizer.swift",
"RelativePositionBias.swift",
"Tokenizer.swift",
"Weights.swift"
],
"type" : "library"
},
{
"c99name" : "MLXAudioCore",
"module_type" : "SwiftTarget",
"name" : "MLXAudioCore",
"path" : "Sources/MLXAudioCore",
"product_dependencies" : [
"MLX",
"MLXNN",
"HuggingFace"
],
"product_memberships" : [
"MLXAudioCore",
"MLXAudioCodecs",
"MLXAudioTTS",
"MLXAudioSTT",
"MLXAudioVAD",
"MLXAudioLID",
"MLXAudioSTS",
"MLXAudioUI",
"MLXAudio",
"mlx-audio-swift-tts",
"mlx-audio-swift-codec",
"mlx-audio-swift-sts",
"mlx-audio-swift-stt",
"mlx-audio-swift-lid"
],
"sources" : [
"AudioPlayer.swift",
"AudioSessionManager.swift",
"AudioUtils.swift",
"DSP.swift",
"Generation/GenerationTypes.swift",
"ModelUtils.swift",
"PCMStreamConverter.swift",
"UnigramTokenizer.swift"
],
"type" : "library"
},
{
"c99name" : "MLXAudioCodecs",
"module_type" : "SwiftTarget",
"name" : "MLXAudioCodecs",
"path" : "Sources/MLXAudioCodecs",
"product_dependencies" : [
"MLX",
"MLXFast",
"MLXNN",
"MLXLMCommon",
"HuggingFace"
],
"product_memberships" : [
"MLXAudioCodecs",
"MLXAudioTTS",
"MLXAudioSTT",
"MLXAudioLID",
"MLXAudioSTS",
"MLXAudioUI",
"MLXAudio",
"mlx-audio-swift-tts",
"mlx-audio-swift-codec",
"mlx-audio-swift-sts",
"mlx-audio-swift-stt",
"mlx-audio-swift-lid"
],
"sources" : [
"AudioCodecModel.swift",
"BigVGAN/BigVGAN.swift",
"BigVGAN/BigVGANConfig.swift",
"BigVGAN/BigVGANLayers.swift",
"DACVAE/DACVAE.swift",
"DACVAE/DACVAEConfig.swift",
"DACVAE/DACVAEDecoder.swift",
"DACVAE/DACVAEEncoder.swift",
"DACVAE/DACVAELayers.swift",
"DACVAE/DACVAEWatermark.swift",
"Descript/DescriptDAC.swift",
"Descript/DescriptDACConfig.swift",
"Descript/DescriptQuantization.swift",
"EcapaTdnn/EcapaTdnnBackbone.swift",
"EcapaTdnn/EcapaTdnnConfig.swift",
"Encodec/Encodec.swift",
"Encodec/EncodecConfig.swift",
"Encodec/EncodecLayers.swift",
"Encodec/EncodecQuantization.swift",
"FishS1DAC/FishS1DAC.swift",
"FishS1DAC/FishS1DACConfig.swift",
"FishS1DAC/FishS1DACLayers.swift",
"FishS1DAC/FishS1DACQuantization.swift",
"FishS1DAC/FishS1DACTransformer.swift",
"Mimi/Conv.swift",
"Mimi/Mimi.swift",
"Mimi/Quantization.swift",
"Mimi/Seanet.swift",
"Mimi/Transformer.swift",
"SNAC/Attention.swift",
"SNAC/Config.swift",
"SNAC/Layers.swift",
"SNAC/SNACDecoder.swift",
"SNAC/VQ.swift",
"Vocos/Vocos.swift",
"Vocos/VocosBackbone.swift"
],
"target_dependencies" : [
"MLXAudioCore"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
Done.