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

pip install onnxruntime-genai does not work #1102

Closed
xquyvu opened this issue Nov 26, 2024 · 4 comments
Closed

pip install onnxruntime-genai does not work #1102

xquyvu opened this issue Nov 26, 2024 · 4 comments

Comments

@xquyvu
Copy link

xquyvu commented Nov 26, 2024

Describe the bug

Cannot install the package. Got the following error message:

ERROR: Could not find a version that satisfies the requirement onnxruntime-genai (from versions: none)
ERROR: No matching distribution found for onnxruntime-genai

I'm aware of this open issue: #559, but it's not fully resolved.

To Reproduce
Steps to reproduce the behavior:

pip install onnxruntime-genai
or
pip install onnxruntime-genai --pre

Expected behavior
The package installs without issue

Desktop (please complete the following information):

>>> import platform
>>> print(platform.machine())
aarch64
>>> print(platform.version())
#1 SMP Wed Oct  2 16:38:00 UTC 2024
>>> print(platform.platform())
Linux-6.10.4-linuxkit-aarch64-with-glibc2.35
>>> print(platform.system())
Linux
>>> print(platform.processor())
aarch64

Python version: 3.12.7

Additional context
Add any other context about the problem here.

@xquyvu
Copy link
Author

xquyvu commented Nov 26, 2024

But works when running on an AML compute instance

>>> import platform
>>> print(platform.machine())
x86_64
>>> print(platform.version())
#82~20.04.1-Ubuntu SMP Tue Sep 3 12:27:43 UTC 2024
>>> print(platform.platform())
Linux-5.15.0-1073-azure-x86_64-with-glibc2.31
>>> print(platform.system())
Linux
>>> print(platform.processor())
x86_64

Python version: 3.12.2

@maulberto3
Copy link

I believe this is happening starting with version 0.5.2 uploaded to pypi Nov 25. Because I just downloaded it a few days ago and everything went fine.

@maulberto3
Copy link

This is what pip says as well: (...) onnxruntime-genai==0.5.1 is unusable because no wheels are available with a matching Python implementation, we can conclude that
onnxruntime-genai<0.5.2 cannot be used. (...)

@baijumeswani
Copy link
Collaborator

Python whls for linux aarch64 are not published. You would need to build the whl from source for linux aarch64.

We can look into adding this for an upcoming release.

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

3 participants