Build Information
Successful build of whisperkit, reference v0.18.0 (e2adab), with Swift 6.2 for macOS (SPM) on 20 Apr 2026 01:47:35 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/argmaxinc/argmax-oss-swift.git
Reference: v0.18.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/argmaxinc/argmax-oss-swift
* tag v0.18.0 -> FETCH_HEAD
HEAD is now at e2adabb Release v0.18.0
Cloned https://github.com/argmaxinc/argmax-oss-swift.git
Revision (git rev-parse @):
e2adabbe7d98dc4d0ab9a5b75424ecc42a9cdbef
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/argmaxinc/argmax-oss-swift.git at v0.18.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/argmaxinc/argmax-oss-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/24] Write sources
[3/24] Write whisperkit-cli-entitlement.plist
[3/24] Write sources
[10/24] Copying t5_tokenizer_config.json
[13/24] Copying PrivacyInfo.xcprivacy
[13/24] Write sources
[17/24] Copying gpt2_tokenizer_config.json
[17/24] Write sources
[19/24] Write swift-version--3CB7CFEC50E0D141.txt
[21/131] Compiling Crypto ASN1Null.swift
[22/131] Compiling Crypto ASN1OctetString.swift
[23/131] Compiling Crypto GeneralizedTime.swift
[24/131] Compiling Crypto ObjectIdentifier.swift
[25/131] Compiling Crypto ASN1Identifier.swift
[26/131] Compiling Crypto ASN1Integer.swift
[27/131] Compiling Crypto ChaChaPoly_boring.swift
[28/131] Compiling Crypto ChaChaPoly.swift
[29/131] Compiling Crypto ASN1Strings.swift
[30/131] Compiling Crypto ArraySliceBigint.swift
[31/131] Emitting module InternalCollectionsUtilities
[32/131] Compiling Crypto Cipher.swift
[33/131] Compiling Crypto Nonces.swift
[34/131] Compiling Crypto ASN1BitString.swift
[35/131] Compiling Crypto ASN1Boolean.swift
[36/131] Compiling Crypto AES-GCM.swift
[37/131] Compiling Crypto AES-GCM_boring.swift
[38/131] Compiling Crypto ASN1.swift
[39/131] Compiling Crypto ASN1Any.swift
[40/132] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[41/132] Compiling ArgumentParserToolInfo ToolInfo.swift
[42/132] Emitting module ArgumentParserToolInfo
[42/235] Compiling yyjson.c
[44/235] Compiling ArgumentParser ExpressibleByArgument.swift
[45/235] Compiling ArgumentParser ParsableArguments.swift
[46/235] Compiling ArgumentParser InputKey.swift
[47/235] Compiling ArgumentParser InputOrigin.swift
[48/235] Compiling ArgumentParser Name.swift
[49/235] Compiling ArgumentParser Parsed.swift
[50/241] Compiling ArgumentParser FishCompletionsGenerator.swift
[51/241] Compiling ArgumentParser ZshCompletionsGenerator.swift
[52/241] Compiling ArgumentParser Argument.swift
[53/241] Compiling ArgumentParser ArgumentDiscussion.swift
[54/241] Compiling ArgumentParser ParsableCommand.swift
[55/241] Compiling ArgumentParser ArgumentDecoder.swift
[56/241] Compiling ArgumentParser ArgumentHelp.swift
[57/241] Compiling ArgumentParser ArgumentVisibility.swift
[58/241] Compiling ArgumentParser CompletionKind.swift
[59/241] Compiling ArgumentParser Errors.swift
[60/241] Compiling ArgumentParser Flag.swift
[61/241] Compiling ArgumentParser NameSpecification.swift
[62/241] Compiling ArgumentParser ArgumentDefinition.swift
[63/241] Compiling ArgumentParser ArgumentSet.swift
[64/241] Compiling ArgumentParser CommandParser.swift
[65/241] Compiling ArgumentParser CommandConfiguration.swift
[66/241] Compiling ArgumentParser CommandGroup.swift
[67/241] Compiling ArgumentParser EnumerableFlag.swift
[68/241] Compiling ArgumentParser Option.swift
[69/241] Compiling ArgumentParser OptionGroup.swift
[70/241] Compiling ArgumentParser ParentCommand.swift
[71/241] Compiling ArgumentParser AsyncParsableCommand.swift
[72/241] Compiling ArgumentParser BashCompletionsGenerator.swift
[73/241] Compiling ArgumentParser CompletionsGenerator.swift
[74/241] Compiling ArgumentParser SequenceExtensions.swift
[75/241] Compiling ArgumentParser StringExtensions.swift
[76/241] Compiling ArgumentParser SwiftExtensions.swift
[77/241] Compiling ArgumentParser Tree.swift
[78/241] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[79/241] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[80/241] Compiling ArgumentParser MessageInfo.swift
[81/241] Compiling ArgumentParser UsageGenerator.swift
[82/241] Compiling ArgumentParser CollectionExtensions.swift
[83/241] Compiling ArgumentParser Foundation.swift
[84/241] Compiling ArgumentParser Mutex.swift
[85/241] Compiling ArgumentParser Platform.swift
[86/241] Compiling ArgumentParser ParsedValues.swift
[87/241] Compiling ArgumentParser ParserError.swift
[88/241] Compiling ArgumentParser SplitArguments.swift
[89/241] Compiling ArgumentParser DumpHelpGenerator.swift
[90/241] Compiling ArgumentParser HelpCommand.swift
[91/241] Compiling ArgumentParser HelpGenerator.swift
[92/241] Compiling OrderedCollections _HashTable+Bucket.swift
[93/241] Compiling OrderedCollections _HashTable+BucketIterator.swift
[94/241] Compiling OrderedCollections _HashTable+Constants.swift
[95/241] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[96/241] Compiling OrderedCollections _HashTable+Testing.swift
[97/241] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[98/241] Compiling OrderedCollections _HashTable.swift
[99/241] Compiling OrderedCollections OrderedSet+SubSequence.swift
[100/241] Compiling OrderedCollections OrderedSet+Testing.swift
[101/241] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[102/241] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[103/241] Compiling OrderedCollections OrderedSet.swift
[104/241] Compiling OrderedCollections _UnsafeBitset.swift
[105/241] Emitting module OrderedCollections
[111/260] Compiling Jinja AST.swift
[112/260] Compiling Jinja Error.swift
[113/260] Compiling Jinja Filters.swift
[114/260] Compiling Jinja Globals.swift
[115/260] Compiling Jinja Interpreter.swift
[116/260] Compiling Jinja Lexer.swift
[117/260] Compiling Jinja Macro.swift
[118/260] Compiling Jinja Parser.swift
[121/260] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[122/260] Compiling Crypto HPKE-KEM.swift
[123/260] Compiling Crypto HPKE-Errors.swift
[124/260] Compiling Crypto HPKE.swift
[125/260] Compiling Crypto HPKE-Context.swift
[126/260] Compiling Crypto HPKE-KeySchedule.swift
[127/260] Compiling Crypto HPKE-Modes.swift
[128/260] Compiling Crypto Insecure.swift
[129/260] Compiling Crypto Insecure_HashFunctions.swift
[159/269] Emitting module Crypto
[170/269] Compiling Crypto MLKEM_boring.swift
[171/269] Compiling Crypto MLKEM_wrapper.swift
[172/269] Compiling Crypto XWing_boring.swift
[173/269] Compiling Crypto KEM-Errors.swift
[174/269] Compiling Crypto KEM.swift
[175/269] Compiling Crypto MLKEM.swift
[176/269] Compiling Crypto XWing.swift
[177/269] Compiling Crypto ECDH_boring.swift
[178/269] Compiling Crypto DH.swift
[186/269] Compiling ArgumentParser CodingKeyValidator.swift
[187/269] Compiling ArgumentParser NonsenseFlagsValidator.swift
[188/269] Compiling ArgumentParser ParsableArgumentsValidation.swift
[192/269] Compiling Crypto SymmetricKeys.swift
[193/269] Compiling Crypto HMAC.swift
[194/269] Compiling Crypto MACFunctions.swift
[195/269] Compiling Crypto MessageAuthenticationCode.swift
[196/269] Compiling Crypto AES.swift
[197/269] Compiling Crypto ECDSASignature_boring.swift
[198/269] Compiling ArgumentParser PositionalArgumentsValidator.swift
[199/269] Compiling ArgumentParser UniqueNamesValidator.swift
[212/269] Emitting module ArgumentParser
[213/269] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[214/269] Compiling Crypto RNG_boring.swift
[215/269] Compiling Crypto SafeCompare_boring.swift
[216/269] Compiling Crypto Zeroization_boring.swift
[217/269] Compiling Crypto PrettyBytes.swift
[218/269] Compiling Crypto SafeCompare.swift
[219/269] Compiling Crypto SecureBytes.swift
[220/269] Compiling Crypto Zeroization.swift
[221/269] Compiling Crypto resource_bundle_accessor.swift
[238/269] Compiling Jinja Utilities.swift
[241/269] Compiling Jinja Template.swift
[242/269] Compiling Jinja Token.swift
[243/270] Compiling Jinja PropertyMembers.swift
[244/270] Compiling Jinja Tests.swift
[262/270] Compiling Jinja Value.swift
[265/270] Emitting module Jinja
[268/278] Compiling Hub YYJSONParser.swift
[269/278] Compiling Hub resource_bundle_accessor.swift
[270/278] Compiling Hub Downloader.swift
[271/278] Compiling Hub Hub.swift
[272/278] Compiling Hub Config.swift
[273/278] Compiling Hub BinaryDistinct.swift
[274/278] Emitting module Hub
[275/278] Compiling Hub HubApi.swift
[276/303] Compiling Tokenizers TokenLattice.swift
[277/303] Compiling Tokenizers BPETokenizer.swift
[278/303] Compiling Tokenizers BertTokenizer.swift
[279/303] Emitting module Tokenizers
[280/303] Compiling Tokenizers Tokenizer.swift
[281/303] Compiling Tokenizers PostProcessor.swift
[282/303] Compiling Tokenizers String+PreTokenization.swift
[283/303] Compiling Tokenizers ByteEncoder.swift
[284/303] Compiling Tokenizers Decoder.swift
[285/303] Compiling Tokenizers Normalizer.swift
[286/303] Compiling Tokenizers PreTokenizer.swift
[287/303] Compiling Tokenizers Trie.swift
[288/304] Compiling Tokenizers UnigramTokenizer.swift
[289/304] Compiling ArgmaxCore ModelState.swift
[290/304] Compiling ArgmaxCore MLMultiArrayExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ArgmaxCore/MLMultiArrayExtensions.swift:88:9: warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
70 | // MARK: - MLMultiArray Indexing & Fill
71 |
72 | public extension MLMultiArray {
| `- note: add '@available' attribute to enclosing extension
73 | /// Computes the linear offset from multi-dimensional indices using strides.
74 | @inline(__always)
:
84 | /// Fills a range of indices in the last dimension with a value.
85 | /// Requires shape [1, 1, n].
86 | func fillLastDimension(indexes: Range<Int>, with value: FloatType) {
| `- note: add '@available' attribute to enclosing instance method
87 | precondition(shape.count == 3 && shape[0] == 1 && shape[1] == 1, "Must have [1, 1, n] shape")
88 | withUnsafeMutableBufferPointer(ofType: FloatType.self) { ptr, strides in
| |- warning: conformance of 'Float16' to 'MLShapedArrayScalar' is only available in macOS 15.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
89 | for index in indexes {
90 | ptr[index * strides[2]] = value
[291/305] Compiling ArgmaxCore ModelManager.swift
[292/305] Compiling ArgmaxCore MLTensorExtensions.swift
[293/305] Compiling ArgmaxCore MLModelLoading.swift
[294/305] Compiling ArgmaxCore ModelDownloader.swift
[297/305] Compiling ArgmaxCore ArgmaxCoreError.swift
[298/305] Compiling ArgmaxCore ConcurrencyUtilities.swift
[299/305] Emitting module ArgmaxCore
[302/305] Compiling ArgmaxCore ModelUtilities.swift
[303/347] Compiling WhisperKit Logging.swift
[304/347] Compiling WhisperKit ModelUtilities.swift
[305/347] Compiling WhisperKit ResultWriter.swift
[306/347] Compiling WhisperKit TextUtilities.swift
[307/349] Compiling TTSKit PromptCache.swift
[308/349] Compiling TTSKit Sampling.swift
[309/349] Compiling TTSKit EmbedTypes.swift
[310/349] Compiling TTSKit KVCache.swift
[311/351] Compiling WhisperKit TranscriptionUtilities.swift
[312/351] Compiling WhisperKit WhisperError.swift
[313/351] Compiling WhisperKit LogitsFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:155:25: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
153 | guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
154 | data: logprobsInputPointer,
155 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
156 | shape: .vector(logits.count, stride: 1)
157 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:163:25: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
161 |
162 | let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
163 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
164 | shape: .vector(logits.count, stride: 1)
165 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:169:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
167 |
168 | do {
169 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
170 | activation: BNNS.ActivationFunction.logSoftmax,
171 | input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:170:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
168 | do {
169 | try BNNS.applyActivation(
170 | activation: BNNS.ActivationFunction.logSoftmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
171 | input: logprobsInputDescriptor,
172 | output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:185:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
183 | guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
184 | data: logSumExpInputPointer,
185 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
186 | shape: .vector(timeTokenCount, stride: 1)
187 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:193:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
191 |
192 | let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
193 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
194 | shape: .vector(1, stride: 1)
195 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:212:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
210 | guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
211 | data: maxTextTokenLogProbInputPointer,
212 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
213 | shape: .vector(noTimeTokenCount, stride: 1)
214 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:220:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
218 |
219 | let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
220 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
221 | shape: .vector(1, stride: 1)
222 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:80:36: warning: 'asIntArray()' is deprecated: Use await toIntArray() instead. [#DeprecatedDeclaration]
78 |
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
| `- warning: 'asIntArray()' is deprecated: Use await toIntArray() instead. [#DeprecatedDeclaration]
81 | logprob: nextLogprobTensor.asFloatArray()[0]
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:81:40: warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead. [#DeprecatedDeclaration]
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
81 | logprob: nextLogprobTensor.asFloatArray()[0]
| `- warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead. [#DeprecatedDeclaration]
82 | )
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:103:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
27 | }
28 |
29 | open class GreedyTokenSampler: TokenSampling {
| `- note: add '@available' attribute to enclosing class
30 | public var temperature: FloatType
31 | public var eotToken: Int
:
84 | #endif
85 |
86 | private func sampleWithBNNS(logits: MLMultiArray) -> (token: Int, logprob: Float) {
| `- note: add '@available' attribute to enclosing instance method
87 | // TODO: BNNS operations here are deprecated, replace with vDSP or MLX
88 | var softmaxOutput: BNNSNDArrayDescriptor?
:
101 | let logitsDescriptor = BNNSNDArrayDescriptor(
102 | data: logitsRawPointer,
103 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
104 | shape: .vector(logits.count, stride: 1)
105 | )!
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:112:33: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
27 | }
28 |
29 | open class GreedyTokenSampler: TokenSampling {
| `- note: add '@available' attribute to enclosing class
30 | public var temperature: FloatType
31 | public var eotToken: Int
:
84 | #endif
85 |
86 | private func sampleWithBNNS(logits: MLMultiArray) -> (token: Int, logprob: Float) {
| `- note: add '@available' attribute to enclosing instance method
87 | // TODO: BNNS operations here are deprecated, replace with vDSP or MLX
88 | var softmaxOutput: BNNSNDArrayDescriptor?
:
110 | if temperature != 0.0 {
111 | let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
112 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
113 | shape: .vector(logits.count, stride: 1)
114 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:116:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
114 | )
115 |
116 | try! BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
118 | input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:117:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
115 |
116 | try! BNNS.applyActivation(
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
118 | input: logitsDescriptor,
119 | output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:133:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
131 | )
132 |
133 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
134 | activation: BNNS.ActivationFunction.softmax,
135 | input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
132 |
133 | try BNNS.applyActivation(
134 | activation: BNNS.ActivationFunction.softmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
135 | input: softmaxInput!,
136 | output: softmaxOutput!,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[314/351] Compiling TTSKit Qwen3Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:155:25: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
153 | guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
154 | data: logprobsInputPointer,
155 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
156 | shape: .vector(logits.count, stride: 1)
157 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:163:25: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
161 |
162 | let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
163 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
164 | shape: .vector(logits.count, stride: 1)
165 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:169:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
167 |
168 | do {
169 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
170 | activation: BNNS.ActivationFunction.logSoftmax,
171 | input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:170:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
168 | do {
169 | try BNNS.applyActivation(
170 | activation: BNNS.ActivationFunction.logSoftmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
171 | input: logprobsInputDescriptor,
172 | output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:185:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
183 | guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
184 | data: logSumExpInputPointer,
185 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
186 | shape: .vector(timeTokenCount, stride: 1)
187 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:193:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
191 |
192 | let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
193 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
194 | shape: .vector(1, stride: 1)
195 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:212:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
210 | guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
211 | data: maxTextTokenLogProbInputPointer,
212 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
213 | shape: .vector(noTimeTokenCount, stride: 1)
214 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:220:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
218 |
219 | let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
220 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
221 | shape: .vector(1, stride: 1)
222 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:80:36: warning: 'asIntArray()' is deprecated: Use await toIntArray() instead. [#DeprecatedDeclaration]
78 |
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
| `- warning: 'asIntArray()' is deprecated: Use await toIntArray() instead. [#DeprecatedDeclaration]
81 | logprob: nextLogprobTensor.asFloatArray()[0]
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:81:40: warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead. [#DeprecatedDeclaration]
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
81 | logprob: nextLogprobTensor.asFloatArray()[0]
| `- warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead. [#DeprecatedDeclaration]
82 | )
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:103:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
27 | }
28 |
29 | open class GreedyTokenSampler: TokenSampling {
| `- note: add '@available' attribute to enclosing class
30 | public var temperature: FloatType
31 | public var eotToken: Int
:
84 | #endif
85 |
86 | private func sampleWithBNNS(logits: MLMultiArray) -> (token: Int, logprob: Float) {
| `- note: add '@available' attribute to enclosing instance method
87 | // TODO: BNNS operations here are deprecated, replace with vDSP or MLX
88 | var softmaxOutput: BNNSNDArrayDescriptor?
:
101 | let logitsDescriptor = BNNSNDArrayDescriptor(
102 | data: logitsRawPointer,
103 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
104 | shape: .vector(logits.count, stride: 1)
105 | )!
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:112:33: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
27 | }
28 |
29 | open class GreedyTokenSampler: TokenSampling {
| `- note: add '@available' attribute to enclosing class
30 | public var temperature: FloatType
31 | public var eotToken: Int
:
84 | #endif
85 |
86 | private func sampleWithBNNS(logits: MLMultiArray) -> (token: Int, logprob: Float) {
| `- note: add '@available' attribute to enclosing instance method
87 | // TODO: BNNS operations here are deprecated, replace with vDSP or MLX
88 | var softmaxOutput: BNNSNDArrayDescriptor?
:
110 | if temperature != 0.0 {
111 | let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
112 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
113 | shape: .vector(logits.count, stride: 1)
114 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:116:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
114 | )
115 |
116 | try! BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
118 | input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:117:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
115 |
116 | try! BNNS.applyActivation(
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
118 | input: logitsDescriptor,
119 | output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:133:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
131 | )
132 |
133 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
134 | activation: BNNS.ActivationFunction.softmax,
135 | input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
132 |
133 | try BNNS.applyActivation(
134 | activation: BNNS.ActivationFunction.softmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
135 | input: softmaxInput!,
136 | output: softmaxOutput!,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[315/351] Compiling TTSKit Qwen3MultiCodeDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:155:25: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
153 | guard let logprobsInputDescriptor = BNNSNDArrayDescriptor(
154 | data: logprobsInputPointer,
155 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
156 | shape: .vector(logits.count, stride: 1)
157 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:163:25: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
161 |
162 | let logprobs = BNNSNDArrayDescriptor.allocateUninitialized(
163 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
164 | shape: .vector(logits.count, stride: 1)
165 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:169:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
167 |
168 | do {
169 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
170 | activation: BNNS.ActivationFunction.logSoftmax,
171 | input: logprobsInputDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:170:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
168 | do {
169 | try BNNS.applyActivation(
170 | activation: BNNS.ActivationFunction.logSoftmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
171 | input: logprobsInputDescriptor,
172 | output: logprobs,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:185:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
183 | guard let logSumExpInputDescriptor = BNNSNDArrayDescriptor(
184 | data: logSumExpInputPointer,
185 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
186 | shape: .vector(timeTokenCount, stride: 1)
187 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:193:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
191 |
192 | let timestampLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
193 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
194 | shape: .vector(1, stride: 1)
195 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:212:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
210 | guard let maxTextTokenLogProbInputDescriptor = BNNSNDArrayDescriptor(
211 | data: maxTextTokenLogProbInputPointer,
212 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
213 | shape: .vector(noTimeTokenCount, stride: 1)
214 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/LogitsFilter.swift:220:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
53 |
54 | /// Implementation based on https://github.com/openai/whisper/blob/master/whisper/decoding.py#L441
55 | open class TimestampRulesFilter: LogitsFiltering {
| `- note: add '@available' attribute to enclosing class
56 | let specialTokens: SpecialTokens
57 | let sampleBegin: Int
:
143 | }
144 |
145 | private func sumOfProbabilityOverTimestampsIsAboveAnyOtherToken(logits: MLMultiArray, timeTokenBegin: Int) -> Bool {
| `- note: add '@available' attribute to enclosing instance method
146 | let timeTokenBeginOffset = logits.linearOffset(for: [0, 0, timeTokenBegin as NSNumber])
147 |
:
218 |
219 | let maxTextTokenLogProb = BNNSNDArrayDescriptor.allocateUninitialized(
220 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
221 | shape: .vector(1, stride: 1)
222 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:80:36: warning: 'asIntArray()' is deprecated: Use await toIntArray() instead. [#DeprecatedDeclaration]
78 |
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
| `- warning: 'asIntArray()' is deprecated: Use await toIntArray() instead. [#DeprecatedDeclaration]
81 | logprob: nextLogprobTensor.asFloatArray()[0]
82 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:81:40: warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead. [#DeprecatedDeclaration]
79 | return (
80 | token: nextTokenTensor.asIntArray()[0],
81 | logprob: nextLogprobTensor.asFloatArray()[0]
| `- warning: 'asFloatArray()' is deprecated: Use await toFloatArray() instead. [#DeprecatedDeclaration]
82 | )
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:103:29: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
27 | }
28 |
29 | open class GreedyTokenSampler: TokenSampling {
| `- note: add '@available' attribute to enclosing class
30 | public var temperature: FloatType
31 | public var eotToken: Int
:
84 | #endif
85 |
86 | private func sampleWithBNNS(logits: MLMultiArray) -> (token: Int, logprob: Float) {
| `- note: add '@available' attribute to enclosing instance method
87 | // TODO: BNNS operations here are deprecated, replace with vDSP or MLX
88 | var softmaxOutput: BNNSNDArrayDescriptor?
:
101 | let logitsDescriptor = BNNSNDArrayDescriptor(
102 | data: logitsRawPointer,
103 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
104 | shape: .vector(logits.count, stride: 1)
105 | )!
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:112:33: warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
27 | }
28 |
29 | open class GreedyTokenSampler: TokenSampling {
| `- note: add '@available' attribute to enclosing class
30 | public var temperature: FloatType
31 | public var eotToken: Int
:
84 | #endif
85 |
86 | private func sampleWithBNNS(logits: MLMultiArray) -> (token: Int, logprob: Float) {
| `- note: add '@available' attribute to enclosing instance method
87 | // TODO: BNNS operations here are deprecated, replace with vDSP or MLX
88 | var softmaxOutput: BNNSNDArrayDescriptor?
:
110 | if temperature != 0.0 {
111 | let scaledLogits = BNNSNDArrayDescriptor.allocateUninitialized(
112 | scalarType: FloatType.self,
| |- warning: conformance of 'Float16' to 'BNNSScalar' is only available in macOS 26.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
113 | shape: .vector(logits.count, stride: 1)
114 | )
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:116:27: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
114 | )
115 |
116 | try! BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
118 | input: logitsDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:117:38: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
115 |
116 | try! BNNS.applyActivation(
117 | activation: BNNS.ActivationFunction.linear(alpha: Float(1 / temperature)),
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
118 | input: logitsDescriptor,
119 | output: scaledLogits,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:133:22: warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
131 | )
132 |
133 | try BNNS.applyActivation(
| `- warning: 'applyActivation(activation:input:output:batchSize:filterParameters:)' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
134 | activation: BNNS.ActivationFunction.softmax,
135 | input: softmaxInput!,
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/Text/TokenSampler.swift:134:34: warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
132 |
133 | try BNNS.applyActivation(
134 | activation: BNNS.ActivationFunction.softmax,
| `- warning: 'ActivationFunction' is deprecated: Use the BNNSGraph API instead. [#DeprecatedDeclaration]
135 | input: softmaxInput!,
136 | output: softmaxOutput!,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[318/351] Compiling WhisperKit WhisperKit.swift
[319/351] Compiling WhisperKit Concurrency.swift
[320/351] Compiling TTSKit TTSError.swift
[321/351] Compiling TTSKit TextChunker.swift
[322/351] Compiling WhisperKit AudioChunker.swift
[323/351] Compiling WhisperKit AudioProcessor.swift
[324/351] Compiling WhisperKit AudioStreamTranscriber.swift
[325/351] Emitting module WhisperKit
[326/351] Compiling WhisperKit TextDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:498:31: warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension' [#DeprecatedDeclaration]
496 |
497 | public var supportsWordTimestamps: Bool {
498 | return ModelUtilities.getModelOutputDimention(model, named: "alignment_heads_weights", position: 0) != nil
| |- warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension' [#DeprecatedDeclaration]
| `- note: use 'getModelOutputDimension' instead
499 | }
500 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:502:31: warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension' [#DeprecatedDeclaration]
500 |
501 | public var logitsSize: Int? {
502 | return ModelUtilities.getModelOutputDimention(model, named: "logits", position: 2)
| |- warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension' [#DeprecatedDeclaration]
| `- note: use 'getModelOutputDimension' instead
503 | }
504 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:506:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
504 |
505 | public var kvCacheEmbedDim: Int? {
506 | return ModelUtilities.getModelInputDimention(model, named: "key_cache", position: 1)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
| `- note: use 'getModelInputDimension' instead
507 | }
508 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:510:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
508 |
509 | public var kvCacheMaxSequenceLength: Int? {
510 | return ModelUtilities.getModelInputDimention(model, named: "key_cache", position: 3)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
| `- note: use 'getModelInputDimension' instead
511 | }
512 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:514:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
512 |
513 | public var windowSize: Int? {
514 | return ModelUtilities.getModelInputDimention(model, named: "encoder_output_embeds", position: 3)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
| `- note: use 'getModelInputDimension' instead
515 | }
516 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:518:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
516 |
517 | public var embedSize: Int? {
518 | return ModelUtilities.getModelInputDimention(model, named: "encoder_output_embeds", position: 1)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
| `- note: use 'getModelInputDimension' instead
519 | }
520 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[327/351] Compiling WhisperKit TranscribeTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:498:31: warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension' [#DeprecatedDeclaration]
496 |
497 | public var supportsWordTimestamps: Bool {
498 | return ModelUtilities.getModelOutputDimention(model, named: "alignment_heads_weights", position: 0) != nil
| |- warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension' [#DeprecatedDeclaration]
| `- note: use 'getModelOutputDimension' instead
499 | }
500 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:502:31: warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension' [#DeprecatedDeclaration]
500 |
501 | public var logitsSize: Int? {
502 | return ModelUtilities.getModelOutputDimention(model, named: "logits", position: 2)
| |- warning: 'getModelOutputDimention(_:named:position:)' is deprecated: renamed to 'getModelOutputDimension' [#DeprecatedDeclaration]
| `- note: use 'getModelOutputDimension' instead
503 | }
504 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:506:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
504 |
505 | public var kvCacheEmbedDim: Int? {
506 | return ModelUtilities.getModelInputDimention(model, named: "key_cache", position: 1)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
| `- note: use 'getModelInputDimension' instead
507 | }
508 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:510:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
508 |
509 | public var kvCacheMaxSequenceLength: Int? {
510 | return ModelUtilities.getModelInputDimention(model, named: "key_cache", position: 3)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
| `- note: use 'getModelInputDimension' instead
511 | }
512 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:514:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
512 |
513 | public var windowSize: Int? {
514 | return ModelUtilities.getModelInputDimention(model, named: "encoder_output_embeds", position: 3)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
| `- note: use 'getModelInputDimension' instead
515 | }
516 |
/Users/admin/builder/spi-builder-workspace/Sources/WhisperKit/Core/TextDecoder.swift:518:31: warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
516 |
517 | public var embedSize: Int? {
518 | return ModelUtilities.getModelInputDimention(model, named: "encoder_output_embeds", position: 1)
| |- warning: 'getModelInputDimention(_:named:position:)' is deprecated: renamed to 'getModelInputDimension' [#DeprecatedDeclaration]
| `- note: use 'getModelInputDimension' instead
519 | }
520 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[328/351] Compiling WhisperKit Configurations.swift
[329/351] Compiling WhisperKit FeatureExtractor.swift
[330/351] Compiling TTSKit TTSKit.swift
[331/351] Compiling WhisperKit EnergyVAD.swift
[334/369] Compiling SpeakerKit PyannoteModelManager.swift
[335/369] Compiling SpeakerKit SpeakerClustering.swift
[336/369] Compiling SpeakerKit RTTMLine.swift
[337/369] Compiling SpeakerKit SpeakerInfo.swift
[338/369] Compiling SpeakerKit SpeakerSegmenterModel.swift
[339/369] Compiling SpeakerKit VBxClustering.swift
[340/369] Compiling SpeakerKit ClusteringAlgorithms.swift
[341/369] Compiling SpeakerKit MathOps.swift
[342/369] Compiling SpeakerKit SpeakerKit.swift
[343/369] Compiling SpeakerKit SpeakerKitConfig.swift
[344/369] Compiling SpeakerKit DiarizationResult.swift
[345/369] Compiling SpeakerKit Diarizer.swift
[346/369] Emitting module TTSKit
[347/369] Compiling SpeakerKit SpeakerEmbedderModel.swift
[348/369] Compiling SpeakerKit SpeakerPreEmbedderModel.swift
[351/369] Compiling SpeakerKit SpeakerKitDiarizer.swift
[352/370] Compiling SpeakerKit SpeakerSegment.swift
[361/370] Compiling SpeakerKit PyannoteConfig.swift
[362/370] Compiling SpeakerKit PyannoteDiarizer.swift
[367/370] Emitting module SpeakerKit
[368/378] Compiling WhisperKitCLI WhisperKitCLI.swift
[369/378] Compiling WhisperKitCLI TranscribeCLIUtils.swift
[370/378] Compiling WhisperKitCLI TranscribeCLIArguments.swift
[371/378] Compiling WhisperKitCLI TTSCLI.swift
[372/378] Compiling WhisperKitCLI CLIUtils.swift
[373/378] Emitting module WhisperKitCLI
[374/378] Compiling WhisperKitCLI TranscribeCLI.swift
[375/378] Compiling WhisperKitCLI DiarizeCLI.swift
[375/378] Write Objects.LinkFileList
[376/378] Linking whisperkit-cli
[377/378] Applying whisperkit-cli
Build complete! (44.69s)
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6236] Fetching swift-transformers
[438/23765] Fetching swift-transformers, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.77s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.77s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.1.9 (2.35s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/1051] Fetching swift-jinja
[159/24620] Fetching swift-jinja, swift-collections
[1173/29063] Fetching swift-jinja, swift-collections, yyjson
[1525/46479] Fetching swift-jinja, swift-collections, yyjson, swift-crypto
Fetched https://github.com/ibireme/yyjson.git from cache (1.47s)
[4443/42036] Fetching swift-jinja, swift-collections, swift-crypto
Fetched https://github.com/huggingface/swift-jinja.git from cache (4.89s)
Fetched https://github.com/apple/swift-collections.git from cache (4.90s)
Fetched https://github.com/apple/swift-crypto.git from cache (4.90s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (5.62s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.58s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.62s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (2.49s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.99s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.67s)
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.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.5
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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.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.7.1
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.1.9
Build complete.
{
"dependencies" : [
{
"identity" : "swift-transformers",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.6",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "whisperkit",
"name" : "whisperkit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "WhisperKit",
"targets" : [
"WhisperKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TTSKit",
"targets" : [
"TTSKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeakerKit",
"targets" : [
"SpeakerKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "whisperkit-cli",
"targets" : [
"WhisperKitCLI"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "WhisperKitTests",
"module_type" : "SwiftTarget",
"name" : "WhisperKitTests",
"path" : "Tests/WhisperKitTests",
"product_dependencies" : [
"Hub",
"Tokenizers"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/8_Channel_ID.m4a",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v02.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v03.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/config-v04.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/es_test_clip.wav",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/ja_test_clip.wav",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/jfk.wav",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/jfk_441khz.m4a",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/WhisperKitTests/Resources/ted_60.m4a",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Evaluate/DistanceCalculation.swift",
"Evaluate/NormalizeEn.swift",
"Evaluate/SpellingMapping.swift",
"Evaluate/WERUtils.swift",
"FunctionalTests.swift",
"RegressionTestUtils.swift",
"RegressionTests.swift",
"TestUtils.swift",
"UnitTests.swift"
],
"target_dependencies" : [
"WhisperKit"
],
"type" : "test"
},
{
"c99name" : "WhisperKitCLI",
"module_type" : "SwiftTarget",
"name" : "WhisperKitCLI",
"path" : "Sources/WhisperKitCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"whisperkit-cli"
],
"sources" : [
"CLIUtils.swift",
"DiarizeCLI.swift",
"TTSCLI.swift",
"TranscribeCLI.swift",
"TranscribeCLIArguments.swift",
"TranscribeCLIUtils.swift",
"WhisperKitCLI.swift"
],
"target_dependencies" : [
"WhisperKit",
"TTSKit",
"SpeakerKit"
],
"type" : "executable"
},
{
"c99name" : "WhisperKit",
"module_type" : "SwiftTarget",
"name" : "WhisperKit",
"path" : "Sources/WhisperKit",
"product_dependencies" : [
"Hub",
"Tokenizers"
],
"product_memberships" : [
"WhisperKit",
"SpeakerKit",
"whisperkit-cli"
],
"sources" : [
"Core/Audio/AudioChunker.swift",
"Core/Audio/AudioProcessor.swift",
"Core/Audio/AudioStreamTranscriber.swift",
"Core/Audio/EnergyVAD.swift",
"Core/Audio/VoiceActivityDetector.swift",
"Core/AudioEncoder.swift",
"Core/Configurations.swift",
"Core/FeatureExtractor.swift",
"Core/Models.swift",
"Core/Text/LogitsFilter.swift",
"Core/Text/SegmentSeeker.swift",
"Core/Text/TokenSampler.swift",
"Core/TextDecoder.swift",
"Core/TranscribeTask.swift",
"Core/WhisperKit.swift",
"Utilities/Concurrency.swift",
"Utilities/Extensions+Internal.swift",
"Utilities/Extensions+Public.swift",
"Utilities/Logging.swift",
"Utilities/ModelUtilities.swift",
"Utilities/ResultWriter.swift",
"Utilities/TextUtilities.swift",
"Utilities/TranscriptionUtilities.swift",
"Utilities/WhisperError.swift"
],
"target_dependencies" : [
"ArgmaxCore"
],
"type" : "library"
},
{
"c99name" : "TTSKitTests",
"module_type" : "SwiftTarget",
"name" : "TTSKitTests",
"path" : "Tests/TTSKitTests",
"sources" : [
"TTSKitIntegrationTests.swift",
"TTSKitUnitTests.swift"
],
"target_dependencies" : [
"TTSKit"
],
"type" : "test"
},
{
"c99name" : "TTSKit",
"module_type" : "SwiftTarget",
"name" : "TTSKit",
"path" : "Sources/TTSKit",
"product_dependencies" : [
"Tokenizers",
"Hub"
],
"product_memberships" : [
"TTSKit",
"whisperkit-cli"
],
"sources" : [
"Configurations.swift",
"Generating.swift",
"Models.swift",
"Protocols.swift",
"Qwen3TTS/Qwen3CodeDecoder.swift",
"Qwen3TTS/Qwen3Config.swift",
"Qwen3TTS/Qwen3Embedders.swift",
"Qwen3TTS/Qwen3GenerateTask.swift",
"Qwen3TTS/Qwen3Models.swift",
"Qwen3TTS/Qwen3MultiCodeDecoder.swift",
"Qwen3TTS/Qwen3SpeechDecoder.swift",
"Qwen3TTS/Qwen3TextProjector.swift",
"TTSKit.swift",
"Utilities/AudioOutput.swift",
"Utilities/EmbedTypes.swift",
"Utilities/KVCache.swift",
"Utilities/PromptCache.swift",
"Utilities/Sampling.swift",
"Utilities/TTSError.swift",
"Utilities/TextChunker.swift"
],
"target_dependencies" : [
"ArgmaxCore"
],
"type" : "library"
},
{
"c99name" : "SpeakerKitTests",
"module_type" : "SwiftTarget",
"name" : "SpeakerKitTests",
"path" : "Tests/SpeakerKitTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeakerKitTests/Resources/VADAudio.wav",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SpeakerKitTests/Resources/jfk.wav",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ClusterAlgorithmsTests.swift",
"DiarizationResultTests.swift",
"DiarizerPostProcessingTests.swift",
"ExclusiveReconciliationTests.swift",
"MathOpsTests.swift",
"PyannoteIntegrationTests.swift",
"RTTMLineTests.swift",
"SpeakerEmbedderContextTests.swift"
],
"target_dependencies" : [
"SpeakerKit",
"WhisperKit"
],
"type" : "test"
},
{
"c99name" : "SpeakerKit",
"module_type" : "SwiftTarget",
"name" : "SpeakerKit",
"path" : "Sources/SpeakerKit",
"product_dependencies" : [
"Hub"
],
"product_memberships" : [
"SpeakerKit",
"whisperkit-cli"
],
"sources" : [
"DiarizationResult.swift",
"Diarizer.swift",
"Pyannote/ClusteringAlgorithms.swift",
"Pyannote/MathOps.swift",
"Pyannote/PyannoteConfig.swift",
"Pyannote/PyannoteDiarizer.swift",
"Pyannote/PyannoteModelManager.swift",
"Pyannote/SpeakerClustering.swift",
"Pyannote/SpeakerEmbedderModel.swift",
"Pyannote/SpeakerPreEmbedderModel.swift",
"Pyannote/SpeakerSegmenterModel.swift",
"Pyannote/VBxClustering.swift",
"RTTMLine.swift",
"SpeakerInfo.swift",
"SpeakerKit.swift",
"SpeakerKitConfig.swift",
"SpeakerKitDiarizer.swift",
"SpeakerSegment.swift"
],
"target_dependencies" : [
"ArgmaxCore",
"WhisperKit"
],
"type" : "library"
},
{
"c99name" : "ArgmaxCore",
"module_type" : "SwiftTarget",
"name" : "ArgmaxCore",
"path" : "Sources/ArgmaxCore",
"product_dependencies" : [
"Hub"
],
"product_memberships" : [
"WhisperKit",
"TTSKit",
"SpeakerKit",
"whisperkit-cli"
],
"sources" : [
"ArgmaxCoreError.swift",
"ConcurrencyUtilities.swift",
"FloatType.swift",
"FoundationExtensions.swift",
"Logging.swift",
"MLModelExtensions.swift",
"MLModelLoading.swift",
"MLMultiArrayExtensions.swift",
"MLTensorExtensions.swift",
"ModelDownloader.swift",
"ModelManager.swift",
"ModelState.swift",
"ModelUtilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.