onnxruntime-genai: [Documentation Request] pip install onnxruntime-genai --pre command does not work

pip install onnxruntime-genai --pre

results in

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

on ubuntu 20.04, which runs ollama just fine.


Document Details

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (4 by maintainers)

Most upvoted comments

Updating here about the installation on intel chip MacBook with conda installed.

Complete Option 1 from here https://onnxruntime.ai/docs/genai/howto/build-from-source.html commented all conda related code in .zshrc open terminal and type which python3 to confirm, it should give the system installed python path now from inside onnxruntime-genai folder, run python3 build.py

in my case anaconda didn’t let me install even though commented everything from .zshrc, what I did is log in to mac as another user followed the above steps and switch back user.