nod-ai / SHARK-Studio

SHARK Studio -- Web UI for SHARK+IREE High Performance Machine Learning Distribution
Apache License 2.0
1.42k stars 171 forks source link

No matching distribution found for torch-mlir and iree-compiler #1403

Open Vitkarus opened 1 year ago

Vitkarus commented 1 year ago

I'm trying to install SHARK, but I keep getting these errors:

ERROR: Could not find a version that satisfies the requirement torch-mlir (from versions: none)
ERROR: No matching distribution found for torch-mlir
rm: .use-iree: No such file or directory
Installing https://nod-ai.github.io/SHARK-Runtime/pip-release-links.html...
Looking in links: https://nod-ai.github.io/SHARK-Runtime/pip-release-links.html
ERROR: Could not find a version that satisfies the requirement iree-compiler (from versions: none)
ERROR: No matching distribution found for iree-compiler
Looking in links: https://llvm.github.io/torch-mlir/package-index/, https://nod-ai.github.io/SHARK-Runtime/pip-release-links.html, https://download.pytorch.org/whl/nightly/torch/
Obtaining file:///Users/vitkarus/Documents/Git/SHARK
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      Looking in links: https://llvm.github.io/torch-mlir/package-index/, https://nod-ai.github.io/SHARK-Runtime/pip-release-links.html, https://download.pytorch.org/whl/nightly/torch/
      Collecting setuptools>=42
        Using cached setuptools-67.7.2-py3-none-any.whl (1.1 MB)
      Collecting wheel
        Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
      Collecting packaging
        Using cached packaging-23.1-py3-none-any.whl (48 kB)
      Collecting numpy>=1.22.4
        Using cached numpy-1.24.3-cp311-cp311-macosx_10_9_x86_64.whl (19.8 MB)
      ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
      ERROR: Could not find a version that satisfies the requirement torch-mlir>=20221021.633 (from versions: none)
      ERROR: No matching distribution found for torch-mlir>=20221021.633
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Tried to use Python 10 and 11, Intel Mac 13.3.1 with RX6600XT

Valiice commented 1 year ago

Got the same exact issue.

marcel12bell commented 1 year ago

same here but with with AMD 5500M.

suneecat commented 1 year ago

same problem:

(shark_venv) PS C:\Users\Paul_L\nod_ai_shark> pip install nodai-shark -f https://nod-ai.github.io/SHARK/package-index/ -f https://llvm.github.io/torch-mlir/package-index/ -f https://nod-ai.github.io/SRT/pip-release-links.html --extra-index-url https://download.pytorch.org/whl/nightly/cpu Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu Looking in links: https://nod-ai.github.io/SHARK/package-index/, https://llvm.github.io/torch-mlir/package-index/, https://nod-ai.github.io/SRT/pip-release-links.html ERROR: Could not find a version that satisfies the requirement nodai-shark (from versions: none) ERROR: No matching distribution found for nodai-shark (shark_venv) PS C:\Users\Paul_L\nod_ai_shark>