From 7906590c0e51b1f5306f52bda78ee53ab406612f Mon Sep 17 00:00:00 2001 From: Angelos Katharopoulos Date: Thu, 24 Apr 2025 10:09:33 -0700 Subject: [PATCH] Another fix --- mlx/backend/metal/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlx/backend/metal/device.cpp b/mlx/backend/metal/device.cpp index e7f9668e1..1321fb8d9 100644 --- a/mlx/backend/metal/device.cpp +++ b/mlx/backend/metal/device.cpp @@ -108,7 +108,7 @@ std::pair load_swiftpm_library( auto bundles = NS::Bundle::allBundles(); for (int i = 0, c = (int)bundles->count(); i < c; i++) { auto bundle = reinterpret_cast(bundles->object(i)); - library = try_load_bundle(device, bundle->resourceURL()); + library = try_load_bundle(device, bundle->resourceURL(), lib_name); if (library != nullptr) { return {library, nullptr}; }