Skip to content

ONNX Runtime prebuilt wheels for Apple Silicon (M1 / ARM64)

License

Notifications You must be signed in to change notification settings

verback2308/onnxruntime-silicon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ONNX Runtime for Apple Silicon PyPI

ONNX Runtime prebuilt wheels for Apple Silicon (M1 / arm64)

The official ONNX Runtime now contains arm64 binaries for MacOS as well, but they do only support the CPU backend. This version adds the CoreML backend with version v1.13.0.

Install

To install the prebuilt packages, use the following command to install. The package is called onnxruntime-silicon but is a drop-in-replacement for the onnxruntime package.

pip install onnxruntime-silicon

Build

To build the libraries yourself, please first install the following dependencies and run the build script.

brew install wget cmake protobuf git git-lfs
./build-macos.sh

The pre-built wheel packages should be in the dist directory.

About

MIT License - Copyright (c) 2023 Florian Bruggisser

About

ONNX Runtime prebuilt wheels for Apple Silicon (M1 / ARM64)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.2%
  • Shell 45.8%