Build Information
Successful build of mlx-swift, reference 0.31.3 (61b9e0), with Swift 6.1 for macOS (SPM) on 2 Apr 2026 00:45:51 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-explore/mlx-swift.git
Reference: 0.31.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ml-explore/mlx-swift
* tag 0.31.3 -> FETCH_HEAD
HEAD is now at 61b9e01 hold evalLock during mlx_save_safetensors etc (#379)
Submodule path 'Source/Cmlx/mlx': checked out 'ce45c52505c8158ea48d2a54e8caae05efd86bfe'
Submodule path 'Source/Cmlx/mlx-c': checked out '0726ca922fc902c4c61ef9c27d94132be418e945'
Submodule 'submodules/mlx' (https://github.com/ml-explore/mlx) registered for path 'Source/Cmlx/mlx'
Submodule 'submodules/mlx-c' (https://github.com/ml-explore/mlx-c) registered for path 'Source/Cmlx/mlx-c'
Cloning into '/Users/admin/builder/spi-builder-workspace/Source/Cmlx/mlx'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Source/Cmlx/mlx-c'...
Cloned https://github.com/ml-explore/mlx-swift.git
Revision (git rev-parse @):
61b9e011e09a62b489f6bd647958f1555bdf2896
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift.git at 0.31.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ml-explore/mlx-swift.git
https://github.com/ml-explore/mlx-swift.git
{
"cxx_language_standard" : "gnu++20",
"dependencies" : [
{
"identity" : "swift-numerics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-numerics"
}
],
"manifest_display_name" : "mlx-swift",
"name" : "mlx-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "MLX",
"targets" : [
"MLX"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXRandom",
"targets" : [
"MLXRandom"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXNN",
"targets" : [
"MLXNN"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXOptimizers",
"targets" : [
"MLXOptimizers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXFFT",
"targets" : [
"MLXFFT"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXLinalg",
"targets" : [
"MLXLinalg"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXFast",
"targets" : [
"MLXFast"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Tutorial",
"targets" : [
"Tutorial"
],
"type" : {
"executable" : null
}
},
{
"name" : "Example1",
"targets" : [
"Example1"
],
"type" : {
"executable" : null
}
},
{
"name" : "CustomFunctionExampleSimple",
"targets" : [
"CustomFunctionExampleSimple"
],
"type" : {
"executable" : null
}
},
{
"name" : "CustomFunctionExample",
"targets" : [
"CustomFunctionExample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Tutorial",
"module_type" : "SwiftTarget",
"name" : "Tutorial",
"path" : "Source/Examples",
"product_memberships" : [
"Tutorial"
],
"sources" : [
"Tutorial.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "executable"
},
{
"c99name" : "MLXTests",
"module_type" : "SwiftTarget",
"name" : "MLXTests",
"path" : "Tests/MLXTests",
"sources" : [
"ArrayAtTests.swift",
"DTypeTests.swift",
"ErrorTests.swift",
"ExportTests.swift",
"IntegrationTests.swift",
"LinalgTests.swift",
"LossTests.swift",
"MLXArray+IndexingTests.swift",
"MLXArray+InitTests.swift",
"MLXArray+NormlizerTests.swift",
"MLXArray+OpsTests.swift",
"MLXArrayTests.swift",
"MLXFastKernelTests.swift",
"MLXRandomTests.swift",
"MemoryTests.swift",
"ModuleTests.swift",
"NestedTests.swift",
"OpsTests.swift",
"OptimizerTests.swift",
"PoolingTests.swift",
"QuantizationTests.swift",
"SaveTests.swift",
"StreamTests.swift",
"SubclassTests.swift",
"TransformTests.swift",
"UpsampleTests.swift",
"Utils.swift",
"WiredMemoryTests.swift"
],
"target_dependencies" : [
"MLX",
"MLXNN",
"MLXOptimizers"
],
"type" : "test"
},
{
"c99name" : "MLXRandom",
"module_type" : "SwiftTarget",
"name" : "MLXRandom",
"path" : "Source/MLXRandom",
"product_memberships" : [
"MLXRandom"
],
"sources" : [
"Random.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "library"
},
{
"c99name" : "MLXOptimizers",
"module_type" : "SwiftTarget",
"name" : "MLXOptimizers",
"path" : "Source/MLXOptimizers",
"product_memberships" : [
"MLXOptimizers"
],
"sources" : [
"Optimizers.swift"
],
"target_dependencies" : [
"MLX",
"MLXNN"
],
"type" : "library"
},
{
"c99name" : "MLXNN",
"module_type" : "SwiftTarget",
"name" : "MLXNN",
"path" : "Source/MLXNN",
"product_memberships" : [
"MLXNN",
"MLXOptimizers"
],
"sources" : [
"Activations.swift",
"Cache.swift",
"Containers.swift",
"Convolution.swift",
"ConvolutionTransposed.swift",
"Dropout.swift",
"Embedding.swift",
"Linear.swift",
"Losses.swift",
"Module.swift",
"Normalization.swift",
"Pooling.swift",
"PositionalEncoding.swift",
"Quantized.swift",
"Recurrent.swift",
"Transformer.swift",
"Upsample.swift",
"ValueAndGrad.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "library"
},
{
"c99name" : "MLXLinalg",
"module_type" : "SwiftTarget",
"name" : "MLXLinalg",
"path" : "Source/MLXLinalg",
"product_memberships" : [
"MLXLinalg"
],
"sources" : [
"Linalg.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "library"
},
{
"c99name" : "MLXFast",
"module_type" : "SwiftTarget",
"name" : "MLXFast",
"path" : "Source/MLXFast",
"product_memberships" : [
"MLXFast"
],
"sources" : [
"MLXFast.swift",
"MLXFastKernel.swift"
],
"target_dependencies" : [
"MLX",
"Cmlx"
],
"type" : "library"
},
{
"c99name" : "MLXFFT",
"module_type" : "SwiftTarget",
"name" : "MLXFFT",
"path" : "Source/MLXFFT",
"product_memberships" : [
"MLXFFT"
],
"sources" : [
"FFT.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "library"
},
{
"c99name" : "MLX",
"module_type" : "SwiftTarget",
"name" : "MLX",
"path" : "Source/MLX",
"product_dependencies" : [
"Numerics"
],
"product_memberships" : [
"MLX",
"MLXRandom",
"MLXNN",
"MLXOptimizers",
"MLXFFT",
"MLXLinalg",
"MLXFast",
"Tutorial",
"Example1",
"CustomFunctionExampleSimple",
"CustomFunctionExample"
],
"sources" : [
"ArrayAt.swift",
"Cmlx+Util.swift",
"DType.swift",
"Device.swift",
"ErrorHandler.swift",
"Export.swift",
"FFT.swift",
"Factory.swift",
"Foundation+Util.swift",
"GPU+Metal.swift",
"IO.swift",
"Linalg.swift",
"MLXArray+Bytes.swift",
"MLXArray+Indexing.swift",
"MLXArray+Init.swift",
"MLXArray+Metal.swift",
"MLXArray+Normalizer.swift",
"MLXArray+Ops.swift",
"MLXArray.swift",
"MLXCustomFunction.swift",
"MLXFast.swift",
"MLXFastKernel.swift",
"Memory.swift",
"Nested.swift",
"Ops+Array.swift",
"Ops.swift",
"ParameterTypes.swift",
"Protocols.swift",
"Random.swift",
"State.swift",
"Stream.swift",
"Transforms+Compile.swift",
"Transforms+Eval.swift",
"Transforms+Grad.swift",
"Transforms+Internal.swift",
"Transforms+Vmap.swift",
"Transforms.swift",
"WiredMemory.swift"
],
"target_dependencies" : [
"Cmlx"
],
"type" : "library"
},
{
"c99name" : "Example1",
"module_type" : "SwiftTarget",
"name" : "Example1",
"path" : "Source/Examples",
"product_memberships" : [
"Example1"
],
"sources" : [
"Example1.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "executable"
},
{
"c99name" : "CustomFunctionExampleSimple",
"module_type" : "SwiftTarget",
"name" : "CustomFunctionExampleSimple",
"path" : "Source/Examples",
"product_memberships" : [
"CustomFunctionExampleSimple"
],
"sources" : [
"CustomFunctionExampleSimple.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "executable"
},
{
"c99name" : "CustomFunctionExample",
"module_type" : "SwiftTarget",
"name" : "CustomFunctionExample",
"path" : "Source/Examples",
"product_memberships" : [
"CustomFunctionExample"
],
"sources" : [
"CustomFunctionExample.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "executable"
},
{
"c99name" : "CmlxTests",
"module_type" : "SwiftTarget",
"name" : "CmlxTests",
"path" : "Tests/CmlxTests",
"sources" : [
"CmlxTests.swift"
],
"target_dependencies" : [
"Cmlx"
],
"type" : "test"
},
{
"c99name" : "Cmlx",
"module_type" : "ClangTarget",
"name" : "Cmlx",
"path" : "Source/Cmlx",
"product_memberships" : [
"MLX",
"MLXRandom",
"MLXNN",
"MLXOptimizers",
"MLXFFT",
"MLXLinalg",
"MLXFast",
"Tutorial",
"Example1",
"CustomFunctionExampleSimple",
"CustomFunctionExample"
],
"sources" : [
"fmt/src/format.cc",
"framework/Cmlx.m",
"mlx-c/mlx/c/array.cpp",
"mlx-c/mlx/c/closure.cpp",
"mlx-c/mlx/c/compile.cpp",
"mlx-c/mlx/c/cuda.cpp",
"mlx-c/mlx/c/device.cpp",
"mlx-c/mlx/c/error.cpp",
"mlx-c/mlx/c/export.cpp",
"mlx-c/mlx/c/fast.cpp",
"mlx-c/mlx/c/fft.cpp",
"mlx-c/mlx/c/io.cpp",
"mlx-c/mlx/c/io_types.cpp",
"mlx-c/mlx/c/linalg.cpp",
"mlx-c/mlx/c/map.cpp",
"mlx-c/mlx/c/memory.cpp",
"mlx-c/mlx/c/metal.cpp",
"mlx-c/mlx/c/ops.cpp",
"mlx-c/mlx/c/random.cpp",
"mlx-c/mlx/c/stream.cpp",
"mlx-c/mlx/c/string.cpp",
"mlx-c/mlx/c/transforms.cpp",
"mlx-c/mlx/c/transforms_impl.cpp",
"mlx-c/mlx/c/vector.cpp",
"mlx-c/mlx/c/version.cpp",
"mlx-conditional/compiled_conditional.cpp",
"mlx-generated/arange.cpp",
"mlx-generated/binary.cpp",
"mlx-generated/binary_ops.cpp",
"mlx-generated/binary_two.cpp",
"mlx-generated/compiled_preamble.cpp",
"mlx-generated/conv.cpp",
"mlx-generated/copy.cpp",
"mlx-generated/fft.cpp",
"mlx-generated/fp_quantized.cpp",
"mlx-generated/fp_quantized_nax.cpp",
"mlx-generated/gather.cpp",
"mlx-generated/gather_axis.cpp",
"mlx-generated/gather_front.cpp",
"mlx-generated/gemm.cpp",
"mlx-generated/gemm_nax.cpp",
"mlx-generated/gemv_masked.cpp",
"mlx-generated/hadamard.cpp",
"mlx-generated/logsumexp.cpp",
"mlx-generated/masked_scatter.cpp",
"mlx-generated/quantized.cpp",
"mlx-generated/quantized_nax.cpp",
"mlx-generated/quantized_utils.cpp",
"mlx-generated/reduce.cpp",
"mlx-generated/reduce_utils.cpp",
"mlx-generated/scan.cpp",
"mlx-generated/scatter.cpp",
"mlx-generated/scatter_axis.cpp",
"mlx-generated/softmax.cpp",
"mlx-generated/sort.cpp",
"mlx-generated/steel_attention.cpp",
"mlx-generated/steel_attention_nax.cpp",
"mlx-generated/steel_conv.cpp",
"mlx-generated/steel_conv_3d.cpp",
"mlx-generated/steel_conv_general.cpp",
"mlx-generated/steel_gemm_fused.cpp",
"mlx-generated/steel_gemm_fused_nax.cpp",
"mlx-generated/steel_gemm_gather.cpp",
"mlx-generated/steel_gemm_gather_nax.cpp",
"mlx-generated/steel_gemm_masked.cpp",
"mlx-generated/steel_gemm_segmented.cpp",
"mlx-generated/steel_gemm_splitk.cpp",
"mlx-generated/steel_gemm_splitk_nax.cpp",
"mlx-generated/ternary.cpp",
"mlx-generated/ternary_ops.cpp",
"mlx-generated/unary.cpp",
"mlx-generated/unary_ops.cpp",
"mlx-generated/utils.cpp",
"mlx/mlx/array.cpp",
"mlx/mlx/backend/common/broadcasting.cpp",
"mlx/mlx/backend/common/common.cpp",
"mlx/mlx/backend/common/compiled.cpp",
"mlx/mlx/backend/common/load.cpp",
"mlx/mlx/backend/common/reduce.cpp",
"mlx/mlx/backend/common/slicing.cpp",
"mlx/mlx/backend/common/utils.cpp",
"mlx/mlx/backend/cpu/arg_reduce.cpp",
"mlx/mlx/backend/cpu/binary.cpp",
"mlx/mlx/backend/cpu/cholesky.cpp",
"mlx/mlx/backend/cpu/conv.cpp",
"mlx/mlx/backend/cpu/copy.cpp",
"mlx/mlx/backend/cpu/device_info.cpp",
"mlx/mlx/backend/cpu/distributed.cpp",
"mlx/mlx/backend/cpu/eig.cpp",
"mlx/mlx/backend/cpu/eigh.cpp",
"mlx/mlx/backend/cpu/encoder.cpp",
"mlx/mlx/backend/cpu/eval.cpp",
"mlx/mlx/backend/cpu/fft.cpp",
"mlx/mlx/backend/cpu/gemms/bnns.cpp",
"mlx/mlx/backend/cpu/gemms/cblas.cpp",
"mlx/mlx/backend/cpu/hadamard.cpp",
"mlx/mlx/backend/cpu/indexing.cpp",
"mlx/mlx/backend/cpu/inverse.cpp",
"mlx/mlx/backend/cpu/jit_compiler.cpp",
"mlx/mlx/backend/cpu/logsumexp.cpp",
"mlx/mlx/backend/cpu/luf.cpp",
"mlx/mlx/backend/cpu/masked_mm.cpp",
"mlx/mlx/backend/cpu/matmul.cpp",
"mlx/mlx/backend/cpu/primitives.cpp",
"mlx/mlx/backend/cpu/qrf.cpp",
"mlx/mlx/backend/cpu/quantized.cpp",
"mlx/mlx/backend/cpu/reduce.cpp",
"mlx/mlx/backend/cpu/scan.cpp",
"mlx/mlx/backend/cpu/select.cpp",
"mlx/mlx/backend/cpu/softmax.cpp",
"mlx/mlx/backend/cpu/sort.cpp",
"mlx/mlx/backend/cpu/svd.cpp",
"mlx/mlx/backend/cpu/threefry.cpp",
"mlx/mlx/backend/cpu/unary.cpp",
"mlx/mlx/backend/cuda/no_cuda.cpp",
"mlx/mlx/backend/gpu/copy.cpp",
"mlx/mlx/backend/gpu/primitives.cpp",
"mlx/mlx/backend/gpu/slicing.cpp",
"mlx/mlx/backend/metal/allocator.cpp",
"mlx/mlx/backend/metal/binary.cpp",
"mlx/mlx/backend/metal/compiled.cpp",
"mlx/mlx/backend/metal/conv.cpp",
"mlx/mlx/backend/metal/copy.cpp",
"mlx/mlx/backend/metal/custom_kernel.cpp",
"mlx/mlx/backend/metal/device.cpp",
"mlx/mlx/backend/metal/device_info.cpp",
"mlx/mlx/backend/metal/distributed.cpp",
"mlx/mlx/backend/metal/eval.cpp",
"mlx/mlx/backend/metal/event.cpp",
"mlx/mlx/backend/metal/fence.cpp",
"mlx/mlx/backend/metal/fft.cpp",
"mlx/mlx/backend/metal/hadamard.cpp",
"mlx/mlx/backend/metal/indexing.cpp",
"mlx/mlx/backend/metal/jit_kernels.cpp",
"mlx/mlx/backend/metal/logsumexp.cpp",
"mlx/mlx/backend/metal/matmul.cpp",
"mlx/mlx/backend/metal/metal.cpp",
"mlx/mlx/backend/metal/normalization.cpp",
"mlx/mlx/backend/metal/primitives.cpp",
"mlx/mlx/backend/metal/quantized.cpp",
"mlx/mlx/backend/metal/reduce.cpp",
"mlx/mlx/backend/metal/resident.cpp",
"mlx/mlx/backend/metal/rope.cpp",
"mlx/mlx/backend/metal/scaled_dot_product_attention.cpp",
"mlx/mlx/backend/metal/scan.cpp",
"mlx/mlx/backend/metal/slicing.cpp",
"mlx/mlx/backend/metal/softmax.cpp",
"mlx/mlx/backend/metal/sort.cpp",
"mlx/mlx/backend/metal/ternary.cpp",
"mlx/mlx/backend/metal/unary.cpp",
"mlx/mlx/backend/metal/utils.cpp",
"mlx/mlx/compile.cpp",
"mlx/mlx/device.cpp",
"mlx/mlx/distributed/distributed.cpp",
"mlx/mlx/distributed/jaccl/no_jaccl.cpp",
"mlx/mlx/distributed/mpi/no_mpi.cpp",
"mlx/mlx/distributed/nccl/no_nccl.cpp",
"mlx/mlx/distributed/ops.cpp",
"mlx/mlx/distributed/primitives.cpp",
"mlx/mlx/distributed/ring/no_ring.cpp",
"mlx/mlx/distributed/utils.cpp",
"mlx/mlx/dtype.cpp",
"mlx/mlx/dtype_utils.cpp",
"mlx/mlx/einsum.cpp",
"mlx/mlx/export.cpp",
"mlx/mlx/fast.cpp",
"mlx/mlx/fft.cpp",
"mlx/mlx/graph_utils.cpp",
"mlx/mlx/io/load.cpp",
"mlx/mlx/io/no_gguf.cpp",
"mlx/mlx/io/safetensors.cpp",
"mlx/mlx/linalg.cpp",
"mlx/mlx/ops.cpp",
"mlx/mlx/primitives.cpp",
"mlx/mlx/random.cpp",
"mlx/mlx/scheduler.cpp",
"mlx/mlx/transforms.cpp",
"mlx/mlx/utils.cpp",
"mlx/mlx/version.cpp"
],
"type" : "library"
}
],
"tools_version" : "5.12"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/211] Write sources
[4/211] Write Tutorial-entitlement.plist
[5/211] Write sources
[12/211] Write Example1-entitlement.plist
[14/211] Write CustomFunctionExampleSimple-entitlement.plist
[15/211] Write sources
[17/211] Write CustomFunctionExample-entitlement.plist
[18/211] Compiling _NumericsShims _NumericsShims.c
[19/211] Compiling version.cpp
[20/211] Write swift-version-2F0A5646E1D333AE.txt
[21/211] Compiling utils.cpp
[22/211] Compiling scheduler.cpp
[23/222] Compiling cuda.cpp
[24/222] Compiling compile.cpp
[25/222] Compiling linalg.cpp
[26/222] Compiling random.cpp
[28/222] Compiling RealModule Float80+Real.swift
[29/222] Compiling RealModule RealFunctions.swift
[30/222] Compiling RealModule Real.swift
[31/223] Compiling RealModule Float16+Real.swift
[32/223] Compiling RealModule ElementaryFunctions.swift
[33/223] Compiling RealModule Float+Real.swift
[34/223] Compiling RealModule AlgebraicField.swift
[35/223] Compiling RealModule ApproximateEquality.swift
[36/223] Emitting module RealModule
[37/223] Compiling RealModule AugmentedArithmetic.swift
[38/223] Compiling RealModule Double+Real.swift
[39/223] Compiling RealModule RelaxedArithmetic.swift
[39/223] Compiling closure.cpp
[40/223] Compiling no_gguf.cpp
[42/234] Compiling ComplexModule Polar.swift
[43/235] Compiling ComplexModule Complex+StringConvertible.swift
[44/235] Compiling ComplexModule Complex+IntegerLiteral.swift
[45/235] Compiling ComplexModule Complex+Numeric.swift
[46/235] Compiling ComplexModule Complex+Hashable.swift
[47/235] Compiling ComplexModule Complex.swift
[47/235] Compiling primitives.cpp
[49/235] Compiling ComplexModule Scale.swift
[50/235] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[51/235] Compiling ComplexModule Complex+AlgebraicField.swift
[52/235] Compiling ComplexModule Complex+Codable.swift
[53/235] Compiling ComplexModule Complex+ElementaryFunctions.swift
[54/235] Emitting module ComplexModule
[54/235] Compiling fft.cpp
[55/235] Compiling graph_utils.cpp
[56/237] Compiling load.cpp
[58/237] Compiling Numerics Numerics.swift
[59/237] Emitting module Numerics
[59/237] Compiling transforms.cpp
[60/237] Compiling dtype_utils.cpp
[61/237] Compiling dtype.cpp
[62/237] Compiling utils.cpp
[63/237] Compiling no_ring.cpp
[64/237] Compiling safetensors.cpp
[65/237] Compiling fast.cpp
[66/237] Compiling einsum.cpp
[67/237] Compiling ops.cpp
[68/237] Compiling primitives.cpp
[69/237] Compiling no_nccl.cpp
[70/237] Compiling no_mpi.cpp
[71/237] Compiling device.cpp
[72/237] Compiling no_jaccl.cpp
[73/237] Compiling ops.cpp
[74/237] Compiling distributed.cpp
[75/237] Compiling utils.cpp
[76/237] Compiling unary.cpp
[77/237] Compiling ternary.cpp
[78/237] Compiling softmax.cpp
[79/237] Compiling sort.cpp
[80/237] Compiling scan.cpp
[81/237] Compiling slicing.cpp
[82/237] Compiling compile.cpp
[83/237] Compiling scaled_dot_product_attention.cpp
[84/237] Compiling resident.cpp
[85/237] Compiling rope.cpp
[86/237] Compiling metal.cpp
[87/237] Compiling reduce.cpp
[88/237] Compiling primitives.cpp
[89/237] Compiling normalization.cpp
[90/237] Compiling quantized.cpp
[91/237] Compiling logsumexp.cpp
[92/237] Compiling matmul.cpp
[93/237] Compiling fence.cpp
[94/237] Compiling event.cpp
[95/237] Compiling hadamard.cpp
[96/237] Compiling indexing.cpp
[97/237] Compiling distributed.cpp
[98/237] Compiling eval.cpp
[99/237] Compiling device_info.cpp
[100/237] Compiling jit_kernels.cpp
[101/237] Compiling fft.cpp
[102/237] Compiling slicing.cpp
[103/237] Compiling copy.cpp
[104/237] Compiling allocator.cpp
[105/237] Compiling conv.cpp
[106/237] Compiling binary.cpp
[107/237] Compiling threefry.cpp
[108/237] Compiling compiled.cpp
[109/237] Compiling primitives.cpp
[110/237] Compiling device.cpp
[111/237] Compiling export.cpp
[112/237] Compiling no_cuda.cpp
[113/237] Compiling custom_kernel.cpp
[114/237] Compiling copy.cpp
[115/237] Compiling select.cpp
[116/237] Compiling softmax.cpp
[117/237] Compiling scan.cpp
[118/237] Compiling qrf.cpp
[119/237] Compiling svd.cpp
[120/237] Compiling sort.cpp
[121/237] Compiling quantized.cpp
[122/237] Compiling jit_compiler.cpp
[123/237] Compiling primitives.cpp
[124/237] Compiling matmul.cpp
[125/237] Compiling luf.cpp
[126/237] Compiling logsumexp.cpp
[127/237] Compiling masked_mm.cpp
[128/237] Compiling hadamard.cpp
[129/237] Compiling cblas.cpp
[130/237] Compiling inverse.cpp
[131/237] Compiling encoder.cpp
[132/237] Compiling unary.cpp
[133/237] Compiling bnns.cpp
[134/237] Compiling eval.cpp
[135/237] Compiling device_info.cpp
[136/237] Compiling distributed.cpp
[137/237] Compiling fft.cpp
[138/237] Compiling indexing.cpp
[139/237] Compiling eigh.cpp
[140/237] Compiling eig.cpp
[141/237] Compiling utils.cpp
[142/237] Compiling slicing.cpp
[143/237] Compiling arg_reduce.cpp
[144/237] Compiling cholesky.cpp
[145/237] Compiling reduce.cpp
[146/237] Compiling utils.cpp
[147/237] Compiling unary_ops.cpp
[148/237] Compiling unary.cpp
[149/237] Compiling ternary_ops.cpp
[150/237] Compiling ternary.cpp
[151/237] Compiling steel_gemm_splitk_nax.cpp
[152/237] Compiling steel_gemm_splitk.cpp
[153/237] Compiling steel_gemm_segmented.cpp
[154/237] Compiling steel_gemm_masked.cpp
[155/237] Compiling steel_gemm_gather_nax.cpp
[156/237] Compiling steel_gemm_gather.cpp
[157/237] Compiling steel_gemm_fused_nax.cpp
[158/237] Compiling steel_gemm_fused.cpp
[159/237] Compiling load.cpp
[160/237] Compiling steel_conv_general.cpp
[161/237] Compiling steel_conv_3d.cpp
[162/237] Compiling steel_conv.cpp
[163/237] Compiling steel_attention_nax.cpp
[164/237] Compiling steel_attention.cpp
[165/237] Compiling sort.cpp
[166/237] Compiling softmax.cpp
[167/237] Compiling broadcasting.cpp
[168/237] Compiling scatter_axis.cpp
[169/237] Compiling scatter.cpp
[170/237] Compiling scan.cpp
[171/237] Compiling reduce_utils.cpp
[172/237] Compiling reduce.cpp
[173/237] Compiling quantized_utils.cpp
[174/237] Compiling quantized_nax.cpp
[175/237] Compiling quantized.cpp
[176/237] Compiling masked_scatter.cpp
[177/237] Compiling logsumexp.cpp
[178/237] Compiling hadamard.cpp
[179/237] Compiling gemv_masked.cpp
[180/237] Compiling gemm_nax.cpp
[181/237] Compiling compiled.cpp
[182/237] Compiling gemm.cpp
[183/237] Compiling gather_front.cpp
[184/237] Compiling gather_axis.cpp
[185/237] Compiling gather.cpp
[186/237] Compiling common.cpp
[187/237] Compiling fp_quantized.cpp
[187/237] Compiling fp_quantized_nax.cpp
[189/237] Compiling fft.cpp
[190/237] Compiling copy.cpp
[191/237] Compiling conv.cpp
[192/237] Compiling binary_two.cpp
[193/237] Compiling compiled_preamble.cpp
[194/237] Compiling binary_ops.cpp
[195/237] Compiling binary.cpp
[196/237] Compiling arange.cpp
[197/237] Compiling conv.cpp
[198/237] Compiling copy.cpp
[199/237] Compiling array.cpp
[200/237] Compiling version.cpp
[201/237] Compiling string.cpp
[202/237] Compiling transforms_impl.cpp
[203/237] Compiling stream.cpp
[204/237] Compiling transforms.cpp
[205/237] Compiling vector.cpp
[206/237] Compiling reduce.cpp
[207/237] Compiling compiled_conditional.cpp
[208/237] Compiling random.cpp
[209/237] Compiling metal.cpp
[210/237] Compiling memory.cpp
[211/237] Compiling linalg.cpp
[212/237] Compiling io_types.cpp
[213/237] Compiling map.cpp
[214/237] Compiling ops.cpp
[215/237] Compiling io.cpp
[216/237] Compiling error.cpp
[217/237] Compiling fft.cpp
[218/237] Compiling fast.cpp
[219/237] Compiling format.cc
[220/237] Compiling export.cpp
[221/237] Compiling device.cpp
[222/237] Compiling array.cpp
[223/237] Compiling Cmlx.m
[224/237] Compiling binary.cpp
[226/273] Emitting module MLX
[227/276] Compiling MLX Transforms+Vmap.swift
[228/276] Compiling MLX Transforms.swift
[229/276] Compiling MLX WiredMemory.swift
[230/276] Compiling MLX ArrayAt.swift
[231/276] Compiling MLX Cmlx+Util.swift
[232/276] Compiling MLX DType.swift
[233/276] Compiling MLX Device.swift
[234/276] Compiling MLX Transforms+Eval.swift
[235/276] Compiling MLX Transforms+Grad.swift
[236/276] Compiling MLX Transforms+Internal.swift
[237/276] Compiling MLX Random.swift
[238/276] Compiling MLX State.swift
[239/276] Compiling MLX Stream.swift
[240/276] Compiling MLX Transforms+Compile.swift
[241/276] Compiling MLX Foundation+Util.swift
/Users/admin/builder/spi-builder-workspace/Source/MLX/IO.swift:290:5: warning: using '_' to ignore the result of a Void-returning function is redundant
288 | defer { mlx_io_writer_free(writer) }
289 |
290 | _ = evalLock.withLock {
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
291 | _ = evalLock.withLock {
292 | mlx_save_safetensors_writer(writer, mlx_arrays, mlx_metadata)
[242/276] Compiling MLX GPU+Metal.swift
/Users/admin/builder/spi-builder-workspace/Source/MLX/IO.swift:290:5: warning: using '_' to ignore the result of a Void-returning function is redundant
288 | defer { mlx_io_writer_free(writer) }
289 |
290 | _ = evalLock.withLock {
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
291 | _ = evalLock.withLock {
292 | mlx_save_safetensors_writer(writer, mlx_arrays, mlx_metadata)
[243/276] Compiling MLX IO.swift
/Users/admin/builder/spi-builder-workspace/Source/MLX/IO.swift:290:5: warning: using '_' to ignore the result of a Void-returning function is redundant
288 | defer { mlx_io_writer_free(writer) }
289 |
290 | _ = evalLock.withLock {
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
291 | _ = evalLock.withLock {
292 | mlx_save_safetensors_writer(writer, mlx_arrays, mlx_metadata)
[244/276] Compiling MLX Linalg.swift
/Users/admin/builder/spi-builder-workspace/Source/MLX/IO.swift:290:5: warning: using '_' to ignore the result of a Void-returning function is redundant
288 | defer { mlx_io_writer_free(writer) }
289 |
290 | _ = evalLock.withLock {
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
291 | _ = evalLock.withLock {
292 | mlx_save_safetensors_writer(writer, mlx_arrays, mlx_metadata)
[245/276] Compiling MLX MLXArray+Normalizer.swift
[246/276] Compiling MLX MLXArray+Ops.swift
[247/276] Compiling MLX MLXArray.swift
[248/276] Compiling MLX MLXCustomFunction.swift
[249/276] Compiling MLX ErrorHandler.swift
[250/276] Compiling MLX Export.swift
[251/276] Compiling MLX FFT.swift
[252/276] Compiling MLX Factory.swift
[253/276] Compiling MLX MLXFast.swift
[254/276] Compiling MLX MLXFastKernel.swift
[255/276] Compiling MLX Memory.swift
[256/276] Compiling MLX Nested.swift
[257/276] Compiling MLX Ops+Array.swift
[258/276] Compiling MLX Ops.swift
[259/276] Compiling MLX ParameterTypes.swift
[260/276] Compiling MLX Protocols.swift
[261/276] Compiling MLX MLXArray+Bytes.swift
[262/276] Compiling MLX MLXArray+Indexing.swift
[263/276] Compiling MLX MLXArray+Init.swift
[264/276] Compiling MLX MLXArray+Metal.swift
[265/311] Compiling MLXFast MLXFastKernel.swift
[266/311] Compiling MLXFast MLXFast.swift
[267/311] Emitting module MLXFast
[268/311] Emitting module MLXFFT
[269/311] Compiling MLXFFT FFT.swift
[270/311] Compiling MLXLinalg Linalg.swift
[271/311] Emitting module MLXLinalg
[272/311] Emitting module CustomFunctionExample
[273/311] Compiling CustomFunctionExample CustomFunctionExample.swift
[273/311] Write Objects.LinkFileList
[275/311] Compiling Example1 Example1.swift
[276/311] Emitting module Example1
[277/311] Emitting module MLXRandom
[278/311] Compiling MLXRandom Random.swift
[278/311] Write Objects.LinkFileList
[280/311] Compiling CustomFunctionExampleSimple CustomFunctionExampleSimple.swift
[281/311] Emitting module CustomFunctionExampleSimple
[281/311] Write Objects.LinkFileList
[283/311] Compiling Tutorial Tutorial.swift
[284/311] Emitting module Tutorial
[284/311] Write Objects.LinkFileList
[286/311] Compiling MLXNN Upsample.swift
[287/312] Compiling MLXNN Recurrent.swift
[288/312] Compiling MLXNN Transformer.swift
[289/312] Compiling MLXNN Normalization.swift
[290/312] Compiling MLXNN Pooling.swift
[291/312] Compiling MLXNN PositionalEncoding.swift
[292/312] Compiling MLXNN Quantized.swift
[293/312] Compiling MLXNN ValueAndGrad.swift
[294/312] Compiling MLXNN Containers.swift
[295/312] Compiling MLXNN Convolution.swift
[296/312] Compiling MLXNN Embedding.swift
[297/312] Compiling MLXNN Linear.swift
[298/312] Compiling MLXNN ConvolutionTransposed.swift
[299/312] Compiling MLXNN Dropout.swift
[300/312] Compiling MLXNN Activations.swift
[301/312] Compiling MLXNN Cache.swift
[302/312] Emitting module MLXNN
[303/312] Compiling MLXNN Losses.swift
/Users/admin/builder/spi-builder-workspace/Source/MLXNN/Module.swift:1407:34: warning: conditional downcast from 'T?' to 'T' does nothing
1405 | // note: this gives a warning but it does in fact do something
1406 | // in the case where this is e.g. ParameterInfo<MLXArray?>
1407 | if let value = value as? T {
| `- warning: conditional downcast from 'T?' to 'T' does nothing
1408 | return value
1409 | } else {
/Users/admin/builder/spi-builder-workspace/Source/MLXNN/Module.swift:1520:36: warning: conditional downcast from 'T?' to 'T' does nothing
1518 | // note: this gives a warning but it does in fact do something
1519 | // in the case where this is e.g. ModuleInfo<Linear?>
1520 | if let module = module as? T {
| `- warning: conditional downcast from 'T?' to 'T' does nothing
1521 | return module
1522 | } else {
/Users/admin/builder/spi-builder-workspace/Source/MLXNN/Module.swift:293:13: warning: default will never be executed
291 | return isAllNone ? .none : .array(result)
292 |
293 | default:
| `- warning: default will never be executed
294 | fatalError("Unexpected leaf \(vk) = \(v)")
295 | }
[304/312] Compiling MLXNN Module.swift
/Users/admin/builder/spi-builder-workspace/Source/MLXNN/Module.swift:1407:34: warning: conditional downcast from 'T?' to 'T' does nothing
1405 | // note: this gives a warning but it does in fact do something
1406 | // in the case where this is e.g. ParameterInfo<MLXArray?>
1407 | if let value = value as? T {
| `- warning: conditional downcast from 'T?' to 'T' does nothing
1408 | return value
1409 | } else {
/Users/admin/builder/spi-builder-workspace/Source/MLXNN/Module.swift:1520:36: warning: conditional downcast from 'T?' to 'T' does nothing
1518 | // note: this gives a warning but it does in fact do something
1519 | // in the case where this is e.g. ModuleInfo<Linear?>
1520 | if let module = module as? T {
| `- warning: conditional downcast from 'T?' to 'T' does nothing
1521 | return module
1522 | } else {
/Users/admin/builder/spi-builder-workspace/Source/MLXNN/Module.swift:293:13: warning: default will never be executed
291 | return isAllNone ? .none : .array(result)
292 |
293 | default:
| `- warning: default will never be executed
294 | fatalError("Unexpected leaf \(vk) = \(v)")
295 | }
[305/314] Emitting module MLXOptimizers
[306/314] Compiling MLXOptimizers Optimizers.swift
[306/314] Linking CustomFunctionExample
[307/314] Linking Tutorial
[308/314] Linking CustomFunctionExampleSimple
[309/314] Linking Example1
[310/314] Applying CustomFunctionExample
[311/314] Applying Tutorial
[312/314] Applying CustomFunctionExampleSimple
[313/314] Applying Example1
Build complete! (41.70s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (0.89s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.38s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Source/Examples/CustomFunctionExampleSimple.swift
/Users/admin/builder/spi-builder-workspace/Source/Examples/CustomFunctionExample.swift
/Users/admin/builder/spi-builder-workspace/Source/Examples/Example1.swift
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Source/Examples/CustomFunctionExampleSimple.swift
/Users/admin/builder/spi-builder-workspace/Source/Examples/CustomFunctionExample.swift
/Users/admin/builder/spi-builder-workspace/Source/Examples/Tutorial.swift
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Source/Examples/Tutorial.swift
/Users/admin/builder/spi-builder-workspace/Source/Examples/CustomFunctionExample.swift
/Users/admin/builder/spi-builder-workspace/Source/Examples/Example1.swift
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Source/Examples/CustomFunctionExampleSimple.swift
/Users/admin/builder/spi-builder-workspace/Source/Examples/Example1.swift
/Users/admin/builder/spi-builder-workspace/Source/Examples/Tutorial.swift
Build complete.
{
"cxx_language_standard" : "gnu++20",
"dependencies" : [
{
"identity" : "swift-numerics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-numerics"
}
],
"manifest_display_name" : "mlx-swift",
"name" : "mlx-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "MLX",
"targets" : [
"MLX"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXRandom",
"targets" : [
"MLXRandom"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXNN",
"targets" : [
"MLXNN"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXOptimizers",
"targets" : [
"MLXOptimizers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXFFT",
"targets" : [
"MLXFFT"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXLinalg",
"targets" : [
"MLXLinalg"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLXFast",
"targets" : [
"MLXFast"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Tutorial",
"targets" : [
"Tutorial"
],
"type" : {
"executable" : null
}
},
{
"name" : "Example1",
"targets" : [
"Example1"
],
"type" : {
"executable" : null
}
},
{
"name" : "CustomFunctionExampleSimple",
"targets" : [
"CustomFunctionExampleSimple"
],
"type" : {
"executable" : null
}
},
{
"name" : "CustomFunctionExample",
"targets" : [
"CustomFunctionExample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Tutorial",
"module_type" : "SwiftTarget",
"name" : "Tutorial",
"path" : "Source/Examples",
"product_memberships" : [
"Tutorial"
],
"sources" : [
"Tutorial.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "executable"
},
{
"c99name" : "MLXTests",
"module_type" : "SwiftTarget",
"name" : "MLXTests",
"path" : "Tests/MLXTests",
"sources" : [
"ArrayAtTests.swift",
"DTypeTests.swift",
"ErrorTests.swift",
"ExportTests.swift",
"IntegrationTests.swift",
"LinalgTests.swift",
"LossTests.swift",
"MLXArray+IndexingTests.swift",
"MLXArray+InitTests.swift",
"MLXArray+NormlizerTests.swift",
"MLXArray+OpsTests.swift",
"MLXArrayTests.swift",
"MLXFastKernelTests.swift",
"MLXRandomTests.swift",
"MemoryTests.swift",
"ModuleTests.swift",
"NestedTests.swift",
"OpsTests.swift",
"OptimizerTests.swift",
"PoolingTests.swift",
"QuantizationTests.swift",
"SaveTests.swift",
"StreamTests.swift",
"SubclassTests.swift",
"TransformTests.swift",
"UpsampleTests.swift",
"Utils.swift",
"WiredMemoryTests.swift"
],
"target_dependencies" : [
"MLX",
"MLXNN",
"MLXOptimizers"
],
"type" : "test"
},
{
"c99name" : "MLXRandom",
"module_type" : "SwiftTarget",
"name" : "MLXRandom",
"path" : "Source/MLXRandom",
"product_memberships" : [
"MLXRandom"
],
"sources" : [
"Random.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "library"
},
{
"c99name" : "MLXOptimizers",
"module_type" : "SwiftTarget",
"name" : "MLXOptimizers",
"path" : "Source/MLXOptimizers",
"product_memberships" : [
"MLXOptimizers"
],
"sources" : [
"Optimizers.swift"
],
"target_dependencies" : [
"MLX",
"MLXNN"
],
"type" : "library"
},
{
"c99name" : "MLXNN",
"module_type" : "SwiftTarget",
"name" : "MLXNN",
"path" : "Source/MLXNN",
"product_memberships" : [
"MLXNN",
"MLXOptimizers"
],
"sources" : [
"Activations.swift",
"Cache.swift",
"Containers.swift",
"Convolution.swift",
"ConvolutionTransposed.swift",
"Dropout.swift",
"Embedding.swift",
"Linear.swift",
"Losses.swift",
"Module.swift",
"Normalization.swift",
"Pooling.swift",
"PositionalEncoding.swift",
"Quantized.swift",
"Recurrent.swift",
"Transformer.swift",
"Upsample.swift",
"ValueAndGrad.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "library"
},
{
"c99name" : "MLXLinalg",
"module_type" : "SwiftTarget",
"name" : "MLXLinalg",
"path" : "Source/MLXLinalg",
"product_memberships" : [
"MLXLinalg"
],
"sources" : [
"Linalg.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "library"
},
{
"c99name" : "MLXFast",
"module_type" : "SwiftTarget",
"name" : "MLXFast",
"path" : "Source/MLXFast",
"product_memberships" : [
"MLXFast"
],
"sources" : [
"MLXFast.swift",
"MLXFastKernel.swift"
],
"target_dependencies" : [
"MLX",
"Cmlx"
],
"type" : "library"
},
{
"c99name" : "MLXFFT",
"module_type" : "SwiftTarget",
"name" : "MLXFFT",
"path" : "Source/MLXFFT",
"product_memberships" : [
"MLXFFT"
],
"sources" : [
"FFT.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "library"
},
{
"c99name" : "MLX",
"module_type" : "SwiftTarget",
"name" : "MLX",
"path" : "Source/MLX",
"product_dependencies" : [
"Numerics"
],
"product_memberships" : [
"MLX",
"MLXRandom",
"MLXNN",
"MLXOptimizers",
"MLXFFT",
"MLXLinalg",
"MLXFast",
"Tutorial",
"Example1",
"CustomFunctionExampleSimple",
"CustomFunctionExample"
],
"sources" : [
"ArrayAt.swift",
"Cmlx+Util.swift",
"DType.swift",
"Device.swift",
"ErrorHandler.swift",
"Export.swift",
"FFT.swift",
"Factory.swift",
"Foundation+Util.swift",
"GPU+Metal.swift",
"IO.swift",
"Linalg.swift",
"MLXArray+Bytes.swift",
"MLXArray+Indexing.swift",
"MLXArray+Init.swift",
"MLXArray+Metal.swift",
"MLXArray+Normalizer.swift",
"MLXArray+Ops.swift",
"MLXArray.swift",
"MLXCustomFunction.swift",
"MLXFast.swift",
"MLXFastKernel.swift",
"Memory.swift",
"Nested.swift",
"Ops+Array.swift",
"Ops.swift",
"ParameterTypes.swift",
"Protocols.swift",
"Random.swift",
"State.swift",
"Stream.swift",
"Transforms+Compile.swift",
"Transforms+Eval.swift",
"Transforms+Grad.swift",
"Transforms+Internal.swift",
"Transforms+Vmap.swift",
"Transforms.swift",
"WiredMemory.swift"
],
"target_dependencies" : [
"Cmlx"
],
"type" : "library"
},
{
"c99name" : "Example1",
"module_type" : "SwiftTarget",
"name" : "Example1",
"path" : "Source/Examples",
"product_memberships" : [
"Example1"
],
"sources" : [
"Example1.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "executable"
},
{
"c99name" : "CustomFunctionExampleSimple",
"module_type" : "SwiftTarget",
"name" : "CustomFunctionExampleSimple",
"path" : "Source/Examples",
"product_memberships" : [
"CustomFunctionExampleSimple"
],
"sources" : [
"CustomFunctionExampleSimple.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "executable"
},
{
"c99name" : "CustomFunctionExample",
"module_type" : "SwiftTarget",
"name" : "CustomFunctionExample",
"path" : "Source/Examples",
"product_memberships" : [
"CustomFunctionExample"
],
"sources" : [
"CustomFunctionExample.swift"
],
"target_dependencies" : [
"MLX"
],
"type" : "executable"
},
{
"c99name" : "CmlxTests",
"module_type" : "SwiftTarget",
"name" : "CmlxTests",
"path" : "Tests/CmlxTests",
"sources" : [
"CmlxTests.swift"
],
"target_dependencies" : [
"Cmlx"
],
"type" : "test"
},
{
"c99name" : "Cmlx",
"module_type" : "ClangTarget",
"name" : "Cmlx",
"path" : "Source/Cmlx",
"product_memberships" : [
"MLX",
"MLXRandom",
"MLXNN",
"MLXOptimizers",
"MLXFFT",
"MLXLinalg",
"MLXFast",
"Tutorial",
"Example1",
"CustomFunctionExampleSimple",
"CustomFunctionExample"
],
"sources" : [
"fmt/src/format.cc",
"framework/Cmlx.m",
"mlx-c/mlx/c/array.cpp",
"mlx-c/mlx/c/closure.cpp",
"mlx-c/mlx/c/compile.cpp",
"mlx-c/mlx/c/cuda.cpp",
"mlx-c/mlx/c/device.cpp",
"mlx-c/mlx/c/error.cpp",
"mlx-c/mlx/c/export.cpp",
"mlx-c/mlx/c/fast.cpp",
"mlx-c/mlx/c/fft.cpp",
"mlx-c/mlx/c/io.cpp",
"mlx-c/mlx/c/io_types.cpp",
"mlx-c/mlx/c/linalg.cpp",
"mlx-c/mlx/c/map.cpp",
"mlx-c/mlx/c/memory.cpp",
"mlx-c/mlx/c/metal.cpp",
"mlx-c/mlx/c/ops.cpp",
"mlx-c/mlx/c/random.cpp",
"mlx-c/mlx/c/stream.cpp",
"mlx-c/mlx/c/string.cpp",
"mlx-c/mlx/c/transforms.cpp",
"mlx-c/mlx/c/transforms_impl.cpp",
"mlx-c/mlx/c/vector.cpp",
"mlx-c/mlx/c/version.cpp",
"mlx-conditional/compiled_conditional.cpp",
"mlx-generated/arange.cpp",
"mlx-generated/binary.cpp",
"mlx-generated/binary_ops.cpp",
"mlx-generated/binary_two.cpp",
"mlx-generated/compiled_preamble.cpp",
"mlx-generated/conv.cpp",
"mlx-generated/copy.cpp",
"mlx-generated/fft.cpp",
"mlx-generated/fp_quantized.cpp",
"mlx-generated/fp_quantized_nax.cpp",
"mlx-generated/gather.cpp",
"mlx-generated/gather_axis.cpp",
"mlx-generated/gather_front.cpp",
"mlx-generated/gemm.cpp",
"mlx-generated/gemm_nax.cpp",
"mlx-generated/gemv_masked.cpp",
"mlx-generated/hadamard.cpp",
"mlx-generated/logsumexp.cpp",
"mlx-generated/masked_scatter.cpp",
"mlx-generated/quantized.cpp",
"mlx-generated/quantized_nax.cpp",
"mlx-generated/quantized_utils.cpp",
"mlx-generated/reduce.cpp",
"mlx-generated/reduce_utils.cpp",
"mlx-generated/scan.cpp",
"mlx-generated/scatter.cpp",
"mlx-generated/scatter_axis.cpp",
"mlx-generated/softmax.cpp",
"mlx-generated/sort.cpp",
"mlx-generated/steel_attention.cpp",
"mlx-generated/steel_attention_nax.cpp",
"mlx-generated/steel_conv.cpp",
"mlx-generated/steel_conv_3d.cpp",
"mlx-generated/steel_conv_general.cpp",
"mlx-generated/steel_gemm_fused.cpp",
"mlx-generated/steel_gemm_fused_nax.cpp",
"mlx-generated/steel_gemm_gather.cpp",
"mlx-generated/steel_gemm_gather_nax.cpp",
"mlx-generated/steel_gemm_masked.cpp",
"mlx-generated/steel_gemm_segmented.cpp",
"mlx-generated/steel_gemm_splitk.cpp",
"mlx-generated/steel_gemm_splitk_nax.cpp",
"mlx-generated/ternary.cpp",
"mlx-generated/ternary_ops.cpp",
"mlx-generated/unary.cpp",
"mlx-generated/unary_ops.cpp",
"mlx-generated/utils.cpp",
"mlx/mlx/array.cpp",
"mlx/mlx/backend/common/broadcasting.cpp",
"mlx/mlx/backend/common/common.cpp",
"mlx/mlx/backend/common/compiled.cpp",
"mlx/mlx/backend/common/load.cpp",
"mlx/mlx/backend/common/reduce.cpp",
"mlx/mlx/backend/common/slicing.cpp",
"mlx/mlx/backend/common/utils.cpp",
"mlx/mlx/backend/cpu/arg_reduce.cpp",
"mlx/mlx/backend/cpu/binary.cpp",
"mlx/mlx/backend/cpu/cholesky.cpp",
"mlx/mlx/backend/cpu/conv.cpp",
"mlx/mlx/backend/cpu/copy.cpp",
"mlx/mlx/backend/cpu/device_info.cpp",
"mlx/mlx/backend/cpu/distributed.cpp",
"mlx/mlx/backend/cpu/eig.cpp",
"mlx/mlx/backend/cpu/eigh.cpp",
"mlx/mlx/backend/cpu/encoder.cpp",
"mlx/mlx/backend/cpu/eval.cpp",
"mlx/mlx/backend/cpu/fft.cpp",
"mlx/mlx/backend/cpu/gemms/bnns.cpp",
"mlx/mlx/backend/cpu/gemms/cblas.cpp",
"mlx/mlx/backend/cpu/hadamard.cpp",
"mlx/mlx/backend/cpu/indexing.cpp",
"mlx/mlx/backend/cpu/inverse.cpp",
"mlx/mlx/backend/cpu/jit_compiler.cpp",
"mlx/mlx/backend/cpu/logsumexp.cpp",
"mlx/mlx/backend/cpu/luf.cpp",
"mlx/mlx/backend/cpu/masked_mm.cpp",
"mlx/mlx/backend/cpu/matmul.cpp",
"mlx/mlx/backend/cpu/primitives.cpp",
"mlx/mlx/backend/cpu/qrf.cpp",
"mlx/mlx/backend/cpu/quantized.cpp",
"mlx/mlx/backend/cpu/reduce.cpp",
"mlx/mlx/backend/cpu/scan.cpp",
"mlx/mlx/backend/cpu/select.cpp",
"mlx/mlx/backend/cpu/softmax.cpp",
"mlx/mlx/backend/cpu/sort.cpp",
"mlx/mlx/backend/cpu/svd.cpp",
"mlx/mlx/backend/cpu/threefry.cpp",
"mlx/mlx/backend/cpu/unary.cpp",
"mlx/mlx/backend/cuda/no_cuda.cpp",
"mlx/mlx/backend/gpu/copy.cpp",
"mlx/mlx/backend/gpu/primitives.cpp",
"mlx/mlx/backend/gpu/slicing.cpp",
"mlx/mlx/backend/metal/allocator.cpp",
"mlx/mlx/backend/metal/binary.cpp",
"mlx/mlx/backend/metal/compiled.cpp",
"mlx/mlx/backend/metal/conv.cpp",
"mlx/mlx/backend/metal/copy.cpp",
"mlx/mlx/backend/metal/custom_kernel.cpp",
"mlx/mlx/backend/metal/device.cpp",
"mlx/mlx/backend/metal/device_info.cpp",
"mlx/mlx/backend/metal/distributed.cpp",
"mlx/mlx/backend/metal/eval.cpp",
"mlx/mlx/backend/metal/event.cpp",
"mlx/mlx/backend/metal/fence.cpp",
"mlx/mlx/backend/metal/fft.cpp",
"mlx/mlx/backend/metal/hadamard.cpp",
"mlx/mlx/backend/metal/indexing.cpp",
"mlx/mlx/backend/metal/jit_kernels.cpp",
"mlx/mlx/backend/metal/logsumexp.cpp",
"mlx/mlx/backend/metal/matmul.cpp",
"mlx/mlx/backend/metal/metal.cpp",
"mlx/mlx/backend/metal/normalization.cpp",
"mlx/mlx/backend/metal/primitives.cpp",
"mlx/mlx/backend/metal/quantized.cpp",
"mlx/mlx/backend/metal/reduce.cpp",
"mlx/mlx/backend/metal/resident.cpp",
"mlx/mlx/backend/metal/rope.cpp",
"mlx/mlx/backend/metal/scaled_dot_product_attention.cpp",
"mlx/mlx/backend/metal/scan.cpp",
"mlx/mlx/backend/metal/slicing.cpp",
"mlx/mlx/backend/metal/softmax.cpp",
"mlx/mlx/backend/metal/sort.cpp",
"mlx/mlx/backend/metal/ternary.cpp",
"mlx/mlx/backend/metal/unary.cpp",
"mlx/mlx/backend/metal/utils.cpp",
"mlx/mlx/compile.cpp",
"mlx/mlx/device.cpp",
"mlx/mlx/distributed/distributed.cpp",
"mlx/mlx/distributed/jaccl/no_jaccl.cpp",
"mlx/mlx/distributed/mpi/no_mpi.cpp",
"mlx/mlx/distributed/nccl/no_nccl.cpp",
"mlx/mlx/distributed/ops.cpp",
"mlx/mlx/distributed/primitives.cpp",
"mlx/mlx/distributed/ring/no_ring.cpp",
"mlx/mlx/distributed/utils.cpp",
"mlx/mlx/dtype.cpp",
"mlx/mlx/dtype_utils.cpp",
"mlx/mlx/einsum.cpp",
"mlx/mlx/export.cpp",
"mlx/mlx/fast.cpp",
"mlx/mlx/fft.cpp",
"mlx/mlx/graph_utils.cpp",
"mlx/mlx/io/load.cpp",
"mlx/mlx/io/no_gguf.cpp",
"mlx/mlx/io/safetensors.cpp",
"mlx/mlx/linalg.cpp",
"mlx/mlx/ops.cpp",
"mlx/mlx/primitives.cpp",
"mlx/mlx/random.cpp",
"mlx/mlx/scheduler.cpp",
"mlx/mlx/transforms.cpp",
"mlx/mlx/utils.cpp",
"mlx/mlx/version.cpp"
],
"type" : "library"
}
],
"tools_version" : "5.12"
}
Done.