Comments (15)
I'm using M1 Pro and encountering the same issue. Python version 3.9.16
from onnxruntime-silicon.
@melMass Github actions is still Intel based
from onnxruntime-silicon.
@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.
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.
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.
@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.
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.
Is it possible to run it on M1 Pro Mac with Mac OS ventura?
from onnxruntime-silicon.
You need to have at least macos12. I had big sur, upgraded and the error went away
from onnxruntime-silicon.
Same happens in a gh action CI (Image: macos-12
)
from onnxruntime-silicon.
@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 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)
from onnxruntime-silicon.
@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.
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.
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 (15)
- Does it work with python? HOT 3
- is amd gpu supported by this? HOT 1
- linux package? HOT 2
- performance drop on macos 14 HOT 7
- ANE Neural engine now working
- Question: How to use onnxruntime-silicon in onnxruntime-nodejs ? HOT 2
- Please release 1.17.0 HOT 7
- Possible supports for using "GPU" instead of "CPU" on arm macs(m1/m2/etc) now? HOT 4
- [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Failed to find kernel for Split(18) (node Split). Kernel not found HOT 2
- Question, how to use embedding using mps ? HOT 2
- ModuleNotFoundError: No module named 'onnxruntime-silicon' HOT 10
- Building from source fails on M2 Pro HOT 5
- No CoreML backend??? HOT 8
- Build error with ORT version 1.15.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onnxruntime-silicon.