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

ort-nightly venv install regressed #22922

Closed
lutzroeder opened this issue Nov 21, 2024 · 6 comments
Closed

ort-nightly venv install regressed #22922

lutzroeder opened this issue Nov 21, 2024 · 6 comments
Labels
stale issues that have not been addressed in a while; categorized by a bot

Comments

@lutzroeder
Copy link
Member

Describe the issue

ort-nightly blocks when installing in venv printing User for aiinfra.pkgs.visualstudio.com:. This regressed recently.

To reproduce

~: python -m venv env
~: source env/bin/activate
(env) ~: pip install --quiet --upgrade pip setuptools wheel
(env) ~: pip install --upgrade ort-nightly --extra-index https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/
Looking in indexes: https://pypi.org/simple, https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/
Collecting ort-nightly
  Downloading https://aiinfra.pkgs.visualstudio.com/2692857e-05ef-43b4-ba9c-ccf1c22c437c/_packaging/7982ae20-ed19-4a35-a362-a96ac99897b7/pypi/download/ort-nightly/1.20.dev20241015001/ort_nightly-1.20.0.dev20241015001-cp312-cp312-macosx_13_0_universal2.whl (31.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 31.0/31.0 MB 26.7 MB/s eta 0:00:00
Collecting coloredlogs (from ort-nightly)
  Downloading coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB)
Collecting flatbuffers (from ort-nightly)
  Downloading https://aiinfra.pkgs.visualstudio.com/2692857e-05ef-43b4-ba9c-ccf1c22c437c/_packaging/7982ae20-ed19-4a35-a362-a96ac99897b7/pypi/download/flatbuffers/24.3.25/flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB)
Collecting numpy>=1.21.6 (from ort-nightly)
User for aiinfra.pkgs.visualstudio.com: 

Urgency

No response

Platform

Mac

OS Version

15.1.1

ONNX Runtime Installation

Other / Unknown

ONNX Runtime Version or Commit ID

ort_nightly-1.20.0.dev20241015001

ONNX Runtime API

Python

Architecture

ARM64

Execution Provider

Other / Unknown

Execution Provider Library Version

No response

@tianleiwu
Copy link
Contributor

@lutzroeder, See #22541 regarding to package name change for nightly.

@lutzroeder
Copy link
Member Author

lutzroeder commented Nov 21, 2024

@tianleiwu this also reproduces when changing to the new package name.

~: python -m venv env
~: source env/bin/activate
(env) ~: pip install --quiet --upgrade pip setuptools wheel
(env) ~: pip install --upgrade --pre onnxruntime --extra-index https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/
Looking in indexes: https://pypi.org/simple, https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/
Collecting onnxruntime
  Downloading https://aiinfra.pkgs.visualstudio.com/2692857e-05ef-43b4-ba9c-ccf1c22c437c/_packaging/7982ae20-ed19-4a35-a362-a96ac99897b7/pypi/download/onnxruntime/1.21.dev20241120002/onnxruntime-1.21.0.dev20241120002-cp312-cp312-macosx_13_0_universal2.whl (29.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 29.8/29.8 MB 5.3 MB/s eta 0:00:00
Collecting coloredlogs (from onnxruntime)
  Using cached coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB)
Collecting flatbuffers (from onnxruntime)
  Downloading https://aiinfra.pkgs.visualstudio.com/2692857e-05ef-43b4-ba9c-ccf1c22c437c/_packaging/7982ae20-ed19-4a35-a362-a96ac99897b7/pypi/download/flatbuffers/24.3.25/flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB)
Collecting numpy>=1.21.6 (from onnxruntime)
User for aiinfra.pkgs.visualstudio.com: 

@tianleiwu
Copy link
Contributor

You can install like

pip install flatbuffers numpy packaging protobuf sympy
pip install --upgrade --pre onnxruntime --index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/

Copy link
Contributor

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Dec 22, 2024
@lutzroeder
Copy link
Member Author

@tianleiwu this still repros without the workaround.

@tianleiwu
Copy link
Contributor

@lutzroeder,

Unfortunately, we do not cache the dependency in the future.
Please follow https://onnxruntime.ai/docs/install/#python-installs for installation instruction.

@tianleiwu tianleiwu closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale issues that have not been addressed in a while; categorized by a bot
Projects
None yet
Development

No branches or pull requests

2 participants