-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiled wheels on PyPI would be really useful #864
Comments
It looks like this repo is using both Rust and |
This is the simplest example I've found of |
The PyPI builds of
mistralrs
- https://pypi.org/project/mistralrs/ and https://pypi.org/project/mistralrs-metal/ and suchlike - currently only ship a.tar.gz
file.This means the user must have a Rust toolchain installed in order for
pip install mistralrs-metal
to work.It would be great if you could publish compiled wheels for macOS and Linux (and Windows too if that works) to PyPI.
Here's a macOS Apple Silicon Python 3.10 wheel I built when I ran
pip install mistralrs-metal
just now:https://static.simonwillison.net/static/2024/mistralrs_metal-0.3.1-cp310-cp310-macosx_11_0_arm64.whl
Anyone with Python 3.10 on macOS Apple Silicon should be able to install that like this:
GitHub Actions has macOS runners for Apple Silicon now so it should be possible to do this entirely in a GitHub Actions workflow.
I believe https://github.com/pypa/cibuildwheel is the best way to do this kind of thing, but I've not used it myself.
The text was updated successfully, but these errors were encountered: