The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of mlx-swift, reference main (62de22), with Swift 6.0 for macOS (SPM) on 10 Dec 2025 05:54:44 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-explore/mlx-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ml-explore/mlx-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 62de22d add .arrays back to ScaledDotProductAttentionMaskMode (#314)
Submodule path 'Source/Cmlx/mlx': checked out '54f1cc6e3e398a1274fb3bcd73cb543eea643da2'
Submodule path 'Source/Cmlx/mlx-c': checked out '0fd809867528589daba11c6a0b9ec26426067be9'
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 @):
62de22dc0d706d4158f84b6e83e74958727dcc49
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ml-explore/mlx-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/198] Compiling fft.cpp
[1/198] Compiling memory.cpp
[2/198] Compiling metal.cpp
[2/198] Write sources
[2/198] Write Tutorial-entitlement.plist
[2/198] Write sources
[2/198] Compiling fast.cpp
[2/198] Write sources
[2/198] Compiling compile.cpp
[2/198] Compiling export.cpp
[2/198] Write sources
[2/198] Compiling map.cpp
[2/198] Compiling device.cpp
[2/198] Write sources
[2/198] Write Example1-entitlement.plist
[2/198] Write sources
[2/198] Compiling linalg.cpp
[2/198] Write sources
[2/198] Write CustomFunctionExampleSimple-entitlement.plist
[2/198] Write CustomFunctionExample-entitlement.plist
[2/198] Write sources
[27/198] Compiling _NumericsShims _NumericsShims.c
[28/198] Compiling version.cpp
[29/198] Write swift-version-5BDAB9E9C0126B9D.txt
[30/198] Compiling closure.cpp
[31/209] Compiling utils.cpp
[32/209] Compiling no_gguf.cpp
[33/209] Compiling scheduler.cpp
[35/209] Compiling RealModule RealFunctions.swift
[36/210] Compiling RealModule Real.swift
[37/210] Compiling RealModule Float80+Real.swift
[38/210] Compiling RealModule Float16+Real.swift
[39/210] Compiling RealModule Float+Real.swift
[40/210] Compiling RealModule ElementaryFunctions.swift
[41/210] Compiling RealModule RelaxedArithmetic.swift
[42/210] Compiling RealModule AugmentedArithmetic.swift
[43/210] Emitting module RealModule
[44/210] Compiling RealModule AlgebraicField.swift
[45/210] Compiling RealModule ApproximateEquality.swift
[46/210] Compiling RealModule Double+Real.swift
[46/210] Compiling random.cpp
[47/210] Compiling linalg.cpp
[49/221] Compiling ComplexModule Polar.swift
[50/222] Compiling ComplexModule Complex+StringConvertible.swift
[51/222] Compiling ComplexModule Complex+Numeric.swift
[52/222] Compiling ComplexModule Complex+IntegerLiteral.swift
[53/222] Compiling ComplexModule Complex.swift
[54/222] Compiling ComplexModule Complex+Hashable.swift
[55/222] Compiling ComplexModule Scale.swift
[56/222] Compiling ComplexModule Complex+ElementaryFunctions.swift
[57/222] Compiling ComplexModule Complex+Codable.swift
[58/222] Emitting module ComplexModule
[59/222] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[60/222] Compiling ComplexModule Complex+AlgebraicField.swift
[60/222] Compiling fft.cpp
[61/222] Compiling load.cpp
[62/222] Compiling graph_utils.cpp
[64/224] Emitting module Numerics
[65/224] Compiling Numerics Numerics.swift
[65/224] Compiling primitives.cpp
[66/224] Compiling safetensors.cpp
[67/224] Compiling dtype.cpp
[68/224] Compiling dtype_utils.cpp
[69/224] Compiling no_ring.cpp
[70/224] Compiling transforms.cpp
[71/224] Compiling fast.cpp
[72/224] Compiling device.cpp
[73/224] Compiling no_nccl.cpp
[74/224] Compiling no_mpi.cpp
[75/224] Compiling einsum.cpp
[76/224] Compiling primitives.cpp
[77/224] Compiling ops.cpp
[78/224] Compiling distributed.cpp
[79/224] Compiling ops.cpp
[80/224] Compiling utils.cpp
[81/224] Compiling unary.cpp
[82/224] Compiling softmax.cpp
[83/224] Compiling sort.cpp
[84/224] Compiling ternary.cpp
[85/224] Compiling scan.cpp
[86/224] Compiling slicing.cpp
[87/224] Compiling compile.cpp
[88/224] Compiling scaled_dot_product_attention.cpp
[89/224] Compiling resident.cpp
[90/224] Compiling rope.cpp
[91/224] Compiling reduce.cpp
[92/224] Compiling primitives.cpp
[93/224] Compiling metal.cpp
[94/224] Compiling normalization.cpp
[95/224] Compiling quantized.cpp
[96/224] Compiling logsumexp.cpp
[97/224] Compiling matmul.cpp
[98/224] Compiling fence.cpp
[99/224] Compiling event.cpp
[100/224] Compiling hadamard.cpp
[101/224] Compiling eval.cpp
[102/224] Compiling indexing.cpp
[103/224] Compiling distributed.cpp
[104/224] Compiling jit_kernels.cpp
[105/224] Compiling fft.cpp
[106/224] Compiling slicing.cpp
[107/224] Compiling copy.cpp
[108/224] Compiling device.cpp
[109/224] Compiling conv.cpp
[110/224] Compiling compiled.cpp
[111/224] Compiling threefry.cpp
[112/224] Compiling binary.cpp
[113/224] Compiling allocator.cpp
[114/224] Compiling primitives.cpp
[115/224] Compiling no_cuda.cpp
[116/224] Compiling copy.cpp
[117/224] Compiling custom_kernel.cpp
[118/224] Compiling select.cpp
[119/224] Compiling export.cpp
[120/224] Compiling softmax.cpp
[121/224] Compiling scan.cpp
[122/224] Compiling svd.cpp
[123/224] Compiling qrf.cpp
[124/224] Compiling quantized.cpp
[125/224] Compiling sort.cpp
[126/224] Compiling jit_compiler.cpp
[127/224] Compiling matmul.cpp
[128/224] Compiling luf.cpp
[129/224] Compiling logsumexp.cpp
[130/224] Compiling masked_mm.cpp
[131/224] Compiling primitives.cpp
[132/224] Compiling hadamard.cpp
[133/224] Compiling inverse.cpp
[134/224] Compiling encoder.cpp
[135/224] Compiling eval.cpp
[136/224] Compiling cblas.cpp
[137/224] Compiling bnns.cpp
[138/224] Compiling unary.cpp
[139/224] Compiling fft.cpp
[140/224] Compiling available.cpp
[141/224] Compiling distributed.cpp
[142/224] Compiling eig.cpp
[143/224] Compiling eigh.cpp
[144/224] Compiling indexing.cpp
[145/224] Compiling utils.cpp
[146/224] Compiling cholesky.cpp
[147/224] Compiling arg_reduce.cpp
[148/224] Compiling slicing.cpp
[149/224] Compiling reduce.cpp
[150/224] Compiling load.cpp
[151/224] Compiling utils.cpp
[152/224] Compiling unary_ops.cpp
[153/224] Compiling unary.cpp
[154/224] Compiling ternary_ops.cpp
[155/224] Compiling ternary.cpp
[156/224] Compiling steel_gemm_splitk.cpp
[157/224] Compiling allocator.cpp
[158/224] Compiling steel_gemm_segmented.cpp
[159/224] Compiling steel_gemm_gather.cpp
[160/224] Compiling steel_gemm_masked.cpp
[161/224] Compiling steel_gemm_fused.cpp
[162/224] Compiling steel_conv_general.cpp
[163/224] Compiling steel_conv.cpp
[164/224] Compiling sort.cpp
[165/224] Compiling scatter_axis.cpp
[166/224] Compiling softmax.cpp
[167/224] Compiling compiled.cpp
[168/224] Compiling scatter.cpp
[169/224] Compiling scan.cpp
[170/224] Compiling broadcasting.cpp
[171/224] Compiling reduce_utils.cpp
[172/224] Compiling reduce.cpp
[173/224] Compiling quantized.cpp
[173/224] Compiling quantized_utils.cpp
[175/224] Compiling masked_scatter.cpp
[176/224] Compiling logsumexp.cpp
[176/224] Compiling hadamard.cpp
[176/224] Compiling gemv_masked.cpp
[179/224] Compiling gemm.cpp
[180/224] Compiling gather_axis.cpp
[181/224] Compiling gather.cpp
[181/224] Compiling gather_front.cpp
[183/224] Compiling fp_quantized.cpp
[184/224] Compiling copy.cpp
[184/224] Compiling conv.cpp
[185/224] Compiling fft.cpp
[187/224] Compiling compiled_preamble.cpp
[188/224] Compiling common.cpp
[189/224] Compiling binary_ops.cpp
[190/224] Compiling arange.cpp
[190/224] Compiling binary_two.cpp
[192/224] Compiling binary.cpp
[193/224] Compiling conv.cpp
[194/224] Compiling array.cpp
[195/224] Compiling copy.cpp
[196/224] Compiling version.cpp
[197/224] Compiling transforms_impl.cpp
[198/224] Compiling transforms.cpp
[199/224] Compiling string.cpp
[200/224] Compiling vector.cpp
[201/224] Compiling error.cpp
[202/224] Compiling stream.cpp
[203/224] Compiling random.cpp
[204/224] Compiling compiled_conditional.cpp
[205/224] Compiling io_types.cpp
[206/224] Compiling io.cpp
[207/224] Compiling reduce.cpp
[208/224] Compiling ops.cpp
[209/224] Compiling format.cc
[210/224] Compiling array.cpp
[211/224] Compiling binary.cpp
[213/258] Emitting module MLX
[214/261] Compiling MLX Transforms+Internal.swift
[215/261] Compiling MLX Transforms+Vmap.swift
[216/261] Compiling MLX Transforms.swift
[217/261] Compiling MLX Transforms+Compile.swift
[218/261] Compiling MLX Transforms+Eval.swift
[219/261] Compiling MLX Transforms+Grad.swift
[220/261] Compiling MLX Random.swift
[221/261] Compiling MLX State.swift
[222/261] Compiling MLX Stream.swift
[223/261] Compiling MLX MLXFastKernel.swift
[224/261] Compiling MLX Memory.swift
[225/261] Compiling MLX Nested.swift
[226/261] Compiling MLX Ops+Array.swift
[227/261] Compiling MLX Ops.swift
[228/261] Compiling MLX ParameterTypes.swift
[229/261] Compiling MLX Protocols.swift
[230/261] Compiling MLX MLXArray+Ops.swift
[231/261] Compiling MLX MLXArray.swift
[232/261] Compiling MLX MLXCustomFunction.swift
[233/261] Compiling MLX MLXFast.swift
[234/261] Compiling MLX ArrayAt.swift
[235/261] Compiling MLX Cmlx+Util.swift
[236/261] Compiling MLX DType.swift
[237/261] Compiling MLX Device.swift
[238/261] Compiling MLX ErrorHandler.swift
[239/261] Compiling MLX Export.swift
[240/261] Compiling MLX FFT.swift
[241/261] Compiling MLX Factory.swift
[242/261] Compiling MLX MLXArray+Bytes.swift
[243/261] Compiling MLX MLXArray+Indexing.swift
[244/261] Compiling MLX MLXArray+Init.swift
[245/261] Compiling MLX MLXArray+Metal.swift
[246/261] Compiling MLX Foundation+Util.swift
[247/261] Compiling MLX GPU+Metal.swift
[248/261] Compiling MLX IO.swift
[249/261] Compiling MLX Linalg.swift
[250/278] Emitting module MLXFFT
[251/278] Compiling MLXFFT FFT.swift
[252/278] Compiling MLXLinalg Linalg.swift
[253/278] Emitting module MLXLinalg
[254/278] Compiling MLXRandom Random.swift
[255/278] Emitting module MLXRandom
[256/278] Compiling MLXFast MLXFastKernel.swift
[257/278] Emitting module MLXFast
[258/278] Compiling MLXFast MLXFast.swift
[259/278] Emitting module Example1
[260/278] Compiling Example1 Example1.swift
[260/278] Write Objects.LinkFileList
[262/278] Emitting module Tutorial
[263/278] Compiling Tutorial Tutorial.swift
[263/278] Write Objects.LinkFileList
[265/278] Compiling CustomFunctionExampleSimple CustomFunctionExampleSimple.swift
[266/278] Emitting module CustomFunctionExampleSimple
[267/278] Emitting module CustomFunctionExample
[268/278] Compiling CustomFunctionExample CustomFunctionExample.swift
[268/278] Write Objects.LinkFileList
[271/296] Compiling MLXNN Normalization.swift
[272/296] Compiling MLXNN Pooling.swift
[273/296] Compiling MLXNN Upsample.swift
[274/297] Compiling MLXNN PositionalEncoding.swift
[275/297] Compiling MLXNN Quantized.swift
[276/297] Compiling MLXNN Recurrent.swift
[277/297] Compiling MLXNN Transformer.swift
[278/297] Compiling MLXNN ValueAndGrad.swift
[279/297] Compiling MLXNN Containers.swift
[280/297] Compiling MLXNN Convolution.swift
[281/297] Compiling MLXNN Embedding.swift
[282/297] Compiling MLXNN Linear.swift
[283/297] Compiling MLXNN Activations.swift
[284/297] Compiling MLXNN Cache.swift
[285/297] Compiling MLXNN ConvolutionTransposed.swift
[286/297] Compiling MLXNN Dropout.swift
[287/297] Emitting module MLXNN
[288/297] Compiling MLXNN Losses.swift
/Users/admin/builder/spi-builder-workspace/Source/MLXNN/Module.swift:1377:34: warning: conditional downcast from 'T?' to 'T' does nothing
1375 |             // note: this gives a warning but it does in fact do something
1376 |             // in the case where this is e.g. ParameterInfo<MLXArray?>
1377 |             if let value = value as? T {
     |                                  `- warning: conditional downcast from 'T?' to 'T' does nothing
1378 |                 return value
1379 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/MLXNN/Module.swift:1490:36: warning: conditional downcast from 'T?' to 'T' does nothing
1488 |             // note: this gives a warning but it does in fact do something
1489 |             // in the case where this is e.g. ModuleInfo<Linear?>
1490 |             if let module = module as? T {
     |                                    `- warning: conditional downcast from 'T?' to 'T' does nothing
1491 |                 return module
1492 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/MLXNN/Module.swift:288:13: warning: default will never be executed
 286 |                 return isAllNone ? .none : .array(result)
 287 |
 288 |             default:
     |             `- warning: default will never be executed
 289 |                 fatalError("Unexpected leaf \(vk) = \(v)")
 290 |             }
[289/297] Compiling MLXNN Module.swift
/Users/admin/builder/spi-builder-workspace/Source/MLXNN/Module.swift:1377:34: warning: conditional downcast from 'T?' to 'T' does nothing
1375 |             // note: this gives a warning but it does in fact do something
1376 |             // in the case where this is e.g. ParameterInfo<MLXArray?>
1377 |             if let value = value as? T {
     |                                  `- warning: conditional downcast from 'T?' to 'T' does nothing
1378 |                 return value
1379 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/MLXNN/Module.swift:1490:36: warning: conditional downcast from 'T?' to 'T' does nothing
1488 |             // note: this gives a warning but it does in fact do something
1489 |             // in the case where this is e.g. ModuleInfo<Linear?>
1490 |             if let module = module as? T {
     |                                    `- warning: conditional downcast from 'T?' to 'T' does nothing
1491 |                 return module
1492 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/MLXNN/Module.swift:288:13: warning: default will never be executed
 286 |                 return isAllNone ? .none : .array(result)
 287 |
 288 |             default:
     |             `- warning: default will never be executed
 289 |                 fatalError("Unexpected leaf \(vk) = \(v)")
 290 |             }
[290/299] Compiling MLXOptimizers Optimizers.swift
[291/299] Emitting module MLXOptimizers
[291/299] Linking CustomFunctionExample
[292/299] Linking Example1
[293/299] Linking CustomFunctionExampleSimple
[294/299] Linking Tutorial
[295/299] Applying CustomFunctionExample
[296/299] Applying Example1
[297/299] Applying CustomFunctionExampleSimple
[298/299] Applying Tutorial
Build complete! (40.26s)
Fetching https://github.com/apple/swift-numerics
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.25s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.47s)
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/Tutorial.swift
    /Users/admin/builder/spi-builder-workspace/Source/Examples/Example1.swift
Build complete.
{
  "cxx_language_standard" : "gnu++17",
  "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+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"
      ],
      "target_dependencies" : [
        "MLX",
        "MLXRandom",
        "MLXNN",
        "MLXOptimizers",
        "MLXFFT",
        "MLXLinalg",
        "MLXFast"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MLXRandom",
      "module_type" : "SwiftTarget",
      "name" : "MLXRandom",
      "path" : "Source/MLXRandom",
      "product_memberships" : [
        "MLXRandom",
        "MLXNN",
        "MLXOptimizers"
      ],
      "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",
        "MLXRandom",
        "MLXFast"
      ],
      "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" : [
        "MLXNN",
        "MLXOptimizers",
        "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+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"
      ],
      "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",
        "mlx-c/mlx/c/array.cpp",
        "mlx-c/mlx/c/closure.cpp",
        "mlx-c/mlx/c/compile.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/gather.cpp",
        "mlx-generated/gather_axis.cpp",
        "mlx-generated/gather_front.cpp",
        "mlx-generated/gemm.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_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_conv.cpp",
        "mlx-generated/steel_conv_general.cpp",
        "mlx-generated/steel_gemm_fused.cpp",
        "mlx-generated/steel_gemm_gather.cpp",
        "mlx-generated/steel_gemm_masked.cpp",
        "mlx-generated/steel_gemm_segmented.cpp",
        "mlx-generated/steel_gemm_splitk.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/allocator.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/available.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/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/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/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/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.