Skip to content
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

Build Python 3.9 Wheels #25

Closed
QuantumEntangledAndy opened this issue Feb 1, 2021 · 3 comments
Closed

Build Python 3.9 Wheels #25

QuantumEntangledAndy opened this issue Feb 1, 2021 · 3 comments

Comments

@QuantumEntangledAndy
Copy link

When trying to install into python3.9 it will not install a version later than 0.2.2. I am not certain but I believe that this is because wheels are only build for versions 3.6, 3.7 and 3.8. Would it be possible to add wheels for the 3.9 version?

@bminixhofer
Copy link
Collaborator

Hi, sorry about that! That is indeed the issue.

I'll build for Python 3.9 and release.

@bminixhofer bminixhofer changed the title Pip with Python 3.9 won't install latest version Build Python 3.9 Wheels Feb 1, 2021
@bminixhofer
Copy link
Collaborator

bminixhofer commented Feb 1, 2021

Unfortunately onnxruntime does not yet support Python 3.9: microsoft/onnxruntime#6125 and microsoft/onnxruntime#5697.

They say:

The next release will be in late Feb. or early March.

So until then NNSplit can unfortunately not support Python 3.9. If you really want to use NNSplit with 3.9 I just manually built a wheel for Linux:

nnsplit-0.5.2_post0-cp39-cp39-manylinux2014_x86_64.zip

(rename it from .zip to .whl, GH issues doesn't let me upload wheels)

You'll have to also install the dev wheels for onnxruntime in that case: https://test.pypi.org/project/ort-nightly/#files

Also, to avoid confusion like in the original issue, I yanked version 0.2.2 and downwards of NNSplit since that was an old Python-only version that is not comparable to the current package.

@bminixhofer
Copy link
Collaborator

onnxruntime now has Python 3.9 wheels! So it was easy to fix now. As of Release 0.5.7, NNSplit supports Python 3.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants