ml-explore / mlx-swift-examples

Examples using MLX Swift
MIT License
1.03k stars 110 forks source link

Phi-3 on iOS, #59

Closed fromparis closed 7 months ago

fromparis commented 7 months ago

impossible to run the iOS version I get :

import MLX - No such module 'MLX'

Screenshot 2024-04-25 at 23 07 22
MatthewWaller commented 7 months ago

Maybe try reset package cache? It doesn't look like your Package Dependencies on the left are all pulled yet.

fromparis commented 7 months ago

Package.resolved file is corrupted or malformed; fix or delete the file to continue: unknown 'PinsStorage' version '3' at '/Users/mac/Downloads/mlx-swift-examples-main 12/mlx-swift-examples.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved'.

nan can build I downloaded 20 times, same issue

davidkoski commented 7 months ago

https://github.com/ml-explore/mlx-swift-examples/blob/main/mlx-swift-examples.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

maybe this:

  "version" : 3
davidkoski commented 7 months ago

@fromparis -- if you get a chance see if #60 (branch fix-package-resolved) fixes the problem.

fromparis commented 7 months ago

I think it's working,