Git Product home page Git Product logo

Comments (15)

bdavidzhang avatar bdavidzhang commented on May 30, 2024 2

I'm using M1 Pro and encountering the same issue. Python version 3.9.16

from onnxruntime-silicon.

cansik avatar cansik commented on May 30, 2024 1

@melMass Github actions is still Intel based

from onnxruntime-silicon.

cansik avatar cansik commented on May 30, 2024 1

@melMass Are you sure it is running under arm64 or is the parameter just ignored? As far as I know there are no runners for arm64 on macOS at the moment, see github/roadmap#528 and actions/runner-images#2187.

from onnxruntime-silicon.

cansik avatar cansik commented on May 30, 2024

Most of the time this is a problem with your python environment, not with the package itself. Especially if more than one package does not work. Try to create a clean env and install it there.

from onnxruntime-silicon.

DanielEdrisian avatar DanielEdrisian commented on May 30, 2024

Same. @cansik

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

[notice] A new release of pip is available: 23.0.1 -> 23.1.1
[notice] To update, run: pip install --upgrade pip

from onnxruntime-silicon.

cansik avatar cansik commented on May 30, 2024

@DanielEdrisian Please provide some information about your system. Which python version, conda or venv, what OS version, are you using Rosetta2 and so on...

At the moment I do not have access to a M2 Mac, so debugging is difficult on my side.

from onnxruntime-silicon.

rjadr avatar rjadr commented on May 30, 2024

I had the same error trying to install on python 3.11; onnx does not yet support python 3.11, building from source also didn't work. Got it running by installing this nightly version

from onnxruntime-silicon.

koushyk avatar koushyk commented on May 30, 2024

Is it possible to run it on M1 Pro Mac with Mac OS ventura?

from onnxruntime-silicon.

Rigo-m avatar Rigo-m commented on May 30, 2024

You need to have at least macos12. I had big sur, upgraded and the error went away

from onnxruntime-silicon.

melMass avatar melMass commented on May 30, 2024

Same happens in a gh action CI (Image: macos-12)
image

from onnxruntime-silicon.

melMass avatar melMass commented on May 30, 2024

@melMass Github actions is still Intel based

Thanks I missed that, but isn't the emulation layer still in arm64? (There is dedicated images for Intel and dedicated ones for arm)

from onnxruntime-silicon.

melMass avatar melMass commented on May 30, 2024

@melMass Github actions is still Intel based

I will do further testing today to be sure, but I think that is not true actually. Specifying arm64 arch does use arm64 (which my action did)

https://github.com/melMass/comfy_mtb/blob/b0fb5222cb19e4004533d3367863be5c9ce8e72b/.github/workflows/package_wheels.yml#L20

from onnxruntime-silicon.

melMass avatar melMass commented on May 30, 2024

@melMass Are you sure it is running under arm64 or is the parameter just ignored? As far as I know there are no runners for arm64 on macOS at the moment, see github/roadmap#528 and actions/runner-images#2187.

Sorry it looks like I'm wrong indeed! This made me learn about self hosted runners!! I'll use that thanks

from onnxruntime-silicon.

VarunNSrivastava avatar VarunNSrivastava commented on May 30, 2024

I would like to indicate that I am getting this issue as well. I am on a M1 mac, OS 12.6. I have tried installing this library in Python 3.8, 3.9, and 3.10, all in fresh environments with matching versions of pip. I am getting the following error each time

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

I have additionally attempted building from source, but I'm receiving incompatible distribution errors, say, like this:

ERROR: onnxruntime_silicon-1.15.0-cp310-cp310-macosx_12_0_arm64.whl is not a supported wheel on this platform.

edit: somewhat resolved, had to do with bad conda installation

from onnxruntime-silicon.

cansik avatar cansik commented on May 30, 2024

I am closing this issue as it has not been possible to reproduce the error on a correctly configured system. Please refer to the newly created Frequently Asked Questions for help or comment on this issue with further information on how to reproduce (as stated in the FAQ).

from onnxruntime-silicon.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.