Description
$ python3.13 -m venv --upgrade-deps venv
$ source venv/bin/activate
When I run the pip installation it fails with the mlx issues, how can I fix that to install instructlab on mac metal m1 ?
$ pip install 'instructlab[mps]'
INFO: pip is looking at multiple versions of instructlab[mps] to determine which version is compatible with other requirements. This could take a while.
Collecting instructlab[mps]
Using cached instructlab-0.17.1-py3-none-any.whl.metadata (31 kB)
WARNING: instructlab 0.17.1 does not provide the extra 'mps'
Using cached instructlab-0.17.0-py3-none-any.whl.metadata (31 kB)
WARNING: instructlab 0.17.0 does not provide the extra 'mps'
Using cached instructlab-0.16.1-py3-none-any.whl.metadata (30 kB)
WARNING: instructlab 0.16.1 does not provide the extra 'mps'
Using cached instructlab-0.16.0-py3-none-any.whl.metadata (30 kB)
WARNING: instructlab 0.16.0 does not provide the extra 'mps'
Using cached instructlab-0.15.1-py3-none-any.whl.metadata (30 kB)
WARNING: instructlab 0.15.1 does not provide the extra 'mps'
ERROR: Cannot install instructlab[mps]==0.15.1, instructlab[mps]==0.16.0, instructlab[mps]==0.16.1, instructlab[mps]==0.17.0, instructlab[mps]==0.17.1 and instructlab[mps]==0.17.2 because these package versions have conflicting dependencies.
The conflict is caused by:
instructlab[mps] 0.17.2 depends on mlx<0.6.0 and >=0.5.1; sys_platform == "darwin" and platform_machine == "arm64"
instructlab[mps] 0.17.1 depends on mlx<0.6.0 and >=0.5.1; sys_platform == "darwin" and platform_machine == "arm64"
instructlab[mps] 0.17.0 depends on mlx<0.6.0 and >=0.5.1; sys_platform == "darwin" and platform_machine == "arm64"
instructlab[mps] 0.16.1 depends on mlx<0.6.0 and >=0.5.1; sys_platform == "darwin" and platform_machine == "arm64"
instructlab[mps] 0.16.0 depends on mlx<0.6.0 and >=0.5.1; sys_platform == "darwin" and platform_machine == "arm64"
instructlab[mps] 0.15.1 depends on mlx<0.6.0 and >=0.5.1; sys_platform == "darwin" and platform_machine == "arm64"