-
Notifications
You must be signed in to change notification settings - Fork 61
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
Info about Python 3.13 compatibility #74
Comments
ml-explore/mlx@9bd3a71 adds Python 3.13 to the CI, so am expecting a Python 3.13 mlx wheel in coming days. |
solved (for devs to preview) in #90
Not good enough to close issue for now, but all developer types can be unblocked to move forward. |
the build instructions from the original repo works as is! https://github.com/google/sentencepiece/blob/master/python/README.md#build-and-install-sentencepiece % git clone https://github.com/google/sentencepiece.git /your/path/sentencepiece
% cd sentencepiece
% mkdir build
% cd build
% cmake .. -DSPM_ENABLE_SHARED=OFF -DCMAKE_INSTALL_PREFIX=./root
% make install
% cd ../python
% python setup.py bdist_wheel
% pip install dist/sentencepiece*.whl This produces an artifact to The trick is, can this be packaged reasonably for intermediate users while Google takes its time updating the 3.13 wheel for the library... |
Issue #74 - python 3.13 pip install now working
I expect people will use the newest Python 3.13 and try to install mflux and fail. Sharing the latest compat info that I gathered.
Known blockers
torch
needs to provide wheels for macOS Python 3.13 tracking issueAs of October 10, torch nightly builds shows
*cp312-none-mac*
as the latest matches. We need to wait forcp313-none-mac
to be available then can test withpip install --pre torch --index-url https://download.pytorch.org/whl
I expect torch to update within a month.
mlx
's CircleCI configs needs to build and distribute wheels for 3.13As of Oct 10, https://github.com/search?q=repo%3Aml-explore%2Fmlx%203.12&type=code shows 3.12 as the newest python versions accounted for.
I have a local git clone of
mlx
that I compiled withpython3.13
and I can get it to install, so I expect this to be resolved soon upstream.other libraries
these other libraries do not
pip install
as of Oct 10, but I did not investigate how ready these upstream projects are for 3.13tokenizers
tracking issuesentencepiece
Unknown blockers
there may be transitive dependencies that also need to distribute wheels for 3.13 before
mflux
project can advertise 3.13 supportThe text was updated successfully, but these errors were encountered: