mistral.rs icon indicating copy to clipboard operation
mistral.rs copied to clipboard

`phi4mm.py` script is failing on MacOS M2 (Python 3.13.2)

Open DeepBhupatkar opened this issue 8 months ago • 1 comments

I am trying to run the phi4mm.py script on my MacOS M2 machine using Python 3.13.2, but it fails with the following traceback:

Traceback (most recent call last): File "/Users/UserDB/Desktop/Developer/mistral.rs/examples/python/phi4mm.py", line 6, in arch=VisionArchitecture.Phi4MM, ^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'builtins.VisionArchitecture' has no attribute 'Phi4MM'

DeepBhupatkar avatar Mar 06 '25 11:03 DeepBhupatkar

Got simillar error not sure if related:

arch=VisionArchitecture.Qwen2VL, AttributeError: type object 'builtins.VisionArchitecture' has no attribute 'Qwen2VL'

MonolithFoundation avatar Mar 10 '25 07:03 MonolithFoundation

This is the issue. They don't have the wheels available for Mac. Only suggestion is to either try a different platform or build it from source yourself.

ERROR: Could not find a version that satisfies the requirement mistralrs==0.6.0 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.7, 0.1.8, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.1.19, 0.1.20, 0.1.21, 0.1.22, 0.1.23, 0.1.24, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.3.0, 0.3.1) ERROR: No matching distribution found for mistralrs==0.6.0

kodecreer avatar Jun 28 '25 01:06 kodecreer