microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.77k stars 2.94k forks source link

ort-nightly venv install regressed #22922

Open lutzroeder opened 9 hours ago

lutzroeder commented 9 hours ago

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 commented 7 hours ago

@lutzroeder, See https://github.com/microsoft/onnxruntime/issues/22541 regarding to package name change for nightly.

lutzroeder commented 6 hours ago

@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 commented 5 hours ago

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/