Name | onnx JSON |
Version |
1.17.0
JSON |
| download |
home_page | None |
Summary | Open Neural Network Exchange |
upload_time | 2024-10-01 21:48:40 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | Apache License v2.0 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<!--
Copyright (c) ONNX Project Contributors
SPDX-License-Identifier: Apache-2.0
-->
<p align="center"><img width="40%" src="https://github.com/onnx/onnx/raw/main/docs/onnx-horizontal-color.png" /></p>
[![PyPI - Version](https://img.shields.io/pypi/v/onnx.svg)](https://pypi.org/project/onnx)
[![CI](https://github.com/onnx/onnx/actions/workflows/main.yml/badge.svg)](https://github.com/onnx/onnx/actions/workflows/main.yml)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/3313/badge)](https://bestpractices.coreinfrastructure.org/projects/3313)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/onnx/onnx/badge)](https://api.securityscorecards.dev/projects/github.com/onnx/onnx)
[![REUSE compliant](https://api.reuse.software/badge/github.com/onnx/onnx)](https://api.reuse.software/info/github.com/onnx/onnx)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[Open Neural Network Exchange (ONNX)](https://onnx.ai) is an open ecosystem that empowers AI developers
to choose the right tools as their project evolves. ONNX provides an open source format for AI models, both deep learning and traditional ML. It defines an extensible computation graph model, as well as definitions of built-in operators and standard
data types. Currently we focus on the capabilities needed for inferencing (scoring).
ONNX is [widely supported](http://onnx.ai/supported-tools) and can be found in many frameworks, tools, and hardware. Enabling interoperability between different frameworks and streamlining the path from research to production helps increase the speed of innovation in the AI community. We invite the community to join us and further evolve ONNX.
# Use ONNX
* [Documentation of ONNX Python Package](https://onnx.ai/onnx/)
* [Tutorials for creating ONNX models](https://github.com/onnx/tutorials)
* [Pre-trained ONNX models](https://github.com/onnx/models)
# Learn about the ONNX spec
* [Overview](https://github.com/onnx/onnx/blob/main/docs/Overview.md)
* [ONNX intermediate representation spec](https://github.com/onnx/onnx/blob/main/docs/IR.md)
* [Versioning principles of the spec](https://github.com/onnx/onnx/blob/main/docs/Versioning.md)
* [Operators documentation](https://github.com/onnx/onnx/blob/main/docs/Operators.md)
* [Operators documentation](https://onnx.ai/onnx/operators/index.html) (latest release)
* [Python API Overview](https://github.com/onnx/onnx/blob/main/docs/PythonAPIOverview.md)
# Programming utilities for working with ONNX Graphs
* [Shape and Type Inference](https://github.com/onnx/onnx/blob/main/docs/ShapeInference.md)
* [Graph Optimization](https://github.com/onnx/optimizer)
* [Opset Version Conversion](https://github.com/onnx/onnx/blob/main/docs/docsgen/source/api/version_converter.md)
# Contribute
ONNX is a community project and the open governance model is described [here](https://github.com/onnx/onnx/blob/main/community/readme.md). We encourage you to join the effort and contribute feedback, ideas, and code. You can participate in the [Special Interest Groups](https://github.com/onnx/onnx/blob/main/community/sigs.md) and [Working Groups](https://github.com/onnx/onnx/blob/main/community/working-groups.md) to shape the future of ONNX.
Check out our [contribution guide](https://github.com/onnx/onnx/blob/main/CONTRIBUTING.md) to get started.
If you think some operator should be added to ONNX specification, please read
[this document](https://github.com/onnx/onnx/blob/main/docs/AddNewOp.md).
# Community meetings
The schedules of the regular meetings of the Steering Committee, the working groups and the SIGs can be found [here](https://onnx.ai/calendar)
Community Meetups are held at least once a year. Content from previous community meetups are at:
* 2020.04.09 <https://wiki.lfaidata.foundation/display/DL/LF+AI+Day+-ONNX+Community+Virtual+Meetup+-+Silicon+Valley+-+April+9>
* 2020.10.14 <https://wiki.lfaidata.foundation/display/DL/LF+AI+Day+-+ONNX+Community+Workshop+-+October+14>
* 2021.03.24 <https://wiki.lfaidata.foundation/pages/viewpage.action?pageId=35160391>
* 2021.10.21 <https://wiki.lfaidata.foundation/pages/viewpage.action?pageId=46989689>
* 2022.06.24 <https://wiki.lfaidata.foundation/display/DL/ONNX+Community+Day+-+June+24>
* 2023.06.28 <https://wiki.lfaidata.foundation/display/DL/ONNX+Community+Day+2023+-+June+28>
# Discuss
We encourage you to open [Issues](https://github.com/onnx/onnx/issues), or use [Slack](https://lfaifoundation.slack.com/) (If you have not joined yet, please use this [link](https://join.slack.com/t/lfaifoundation/shared_invite/zt-o65errpw-gMTbwNr7FnNbVXNVFkmyNA) to join the group) for more real-time discussion.
# Follow Us
Stay up to date with the latest ONNX news. [[Facebook](https://www.facebook.com/onnxai/)] [[Twitter](https://twitter.com/onnxai)]
# Roadmap
A roadmap process takes place every year. More details can be found [here](https://github.com/onnx/steering-committee/tree/main/roadmap)
# Installation
## Official Python packages
ONNX released packages are published in PyPi.
```sh
pip install onnx # or pip install onnx[reference] for optional reference implementation dependencies
```
[ONNX weekly packages](https://pypi.org/project/onnx-weekly/) are published in PyPI to enable experimentation and early testing.
## vcpkg packages
onnx is in the maintenance list of [vcpkg](https://github.com/microsoft/vcpkg), you can easily use vcpkg to build and install it.
```sh
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.bat # For powershell
./bootstrap-vcpkg.sh # For bash
./vcpkg install onnx
```
## Conda packages
A binary build of ONNX is available from [Conda](https://conda.io), in [conda-forge](https://conda-forge.org/):
```sh
conda install -c conda-forge onnx
```
## Build ONNX from Source
Before building from source uninstall any existing versions of onnx `pip uninstall onnx`.
c++17 or higher C++ compiler version is required to build ONNX from source. Still, users can specify their own `CMAKE_CXX_STANDARD` version for building ONNX.
If you don't have protobuf installed, ONNX will internally download and build protobuf for ONNX build.
Or, you can manually install [protobuf C/C++ libraries and tools](https://github.com/protocolbuffers/protobuf) with specified version before proceeding forward. Then depending on how you installed protobuf, you need to set environment variable CMAKE_ARGS to "-DONNX_USE_PROTOBUF_SHARED_LIBS=ON" or "-DONNX_USE_PROTOBUF_SHARED_LIBS=OFF". For example, you may need to run the following command:
Linux:
```sh
export CMAKE_ARGS="-DONNX_USE_PROTOBUF_SHARED_LIBS=ON"
```
Windows:
```bat
set CMAKE_ARGS="-DONNX_USE_PROTOBUF_SHARED_LIBS=ON"
```
The ON/OFF depends on what kind of protobuf library you have. Shared libraries are files ending with \*.dll/\*.so/\*.dylib. Static libraries are files ending with \*.a/\*.lib. This option depends on how you get your protobuf library and how it was built. And it is default OFF. You don't need to run the commands above if you'd prefer to use a static protobuf library.
### Windows
If you are building ONNX from source, it is recommended that you also build Protobuf locally as a static library. The version distributed with conda-forge is a DLL, but ONNX expects it to be a static library. Building protobuf locally also lets you control the version of protobuf. The tested and recommended version is 3.21.12.
The instructions in this README assume you are using Visual Studio. It is recommended that you run all the commands from a shell started from "x64 Native Tools Command Prompt for VS 2019" and keep the build system generator for cmake (e.g., cmake -G "Visual Studio 16 2019") consistent while building protobuf as well as ONNX.
You can get protobuf by running the following commands:
```bat
git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
git checkout v21.12
cd cmake
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_INSTALL_PREFIX=<protobuf_install_dir> -Dprotobuf_MSVC_STATIC_RUNTIME=OFF -Dprotobuf_BUILD_SHARED_LIBS=OFF -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_EXAMPLES=OFF .
msbuild protobuf.sln /m /p:Configuration=Release
msbuild INSTALL.vcxproj /p:Configuration=Release
```
Then it will be built as a static library and installed to <protobuf_install_dir>. Please add the bin directory(which contains protoc.exe) to your PATH.
```bat
set CMAKE_PREFIX_PATH=<protobuf_install_dir>;%CMAKE_PREFIX_PATH%
```
Please note: if your protobuf_install_dir contains spaces, **do not** add quotation marks around it.
Alternative: if you don't want to change your PATH, you can set ONNX_PROTOC_EXECUTABLE instead.
```bat
set CMAKE_ARGS=-DONNX_PROTOC_EXECUTABLE=<full_path_to_protoc.exe>
```
Then you can build ONNX as:
```
git clone https://github.com/onnx/onnx.git
cd onnx
git submodule update --init --recursive
# prefer lite proto
set CMAKE_ARGS=-DONNX_USE_LITE_PROTO=ON
pip install -e . -v
```
### Linux
First, you need to install protobuf. The minimum Protobuf compiler (protoc) version required by ONNX is 3.6.1. Please note that old protoc versions might not work with `CMAKE_ARGS=-DONNX_USE_LITE_PROTO=ON`.
Ubuntu 20.04 (and newer) users may choose to install protobuf via
```sh
apt-get install python3-pip python3-dev libprotobuf-dev protobuf-compiler
```
In this case, it is required to add `-DONNX_USE_PROTOBUF_SHARED_LIBS=ON` to CMAKE_ARGS in the ONNX build step.
A more general way is to build and install it from source. See the instructions below for more details.
<details>
<summary> Installing Protobuf from source </summary>
Debian/Ubuntu:
```sh
git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
git checkout v21.12
git submodule update --init --recursive
mkdir build_source && cd build_source
cmake ../cmake -Dprotobuf_BUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_POSITION_INDEPENDENT_CODE=ON -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
make install
```
CentOS/RHEL/Fedora:
```sh
git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
git checkout v21.12
git submodule update --init --recursive
mkdir build_source && cd build_source
cmake ../cmake -DCMAKE_INSTALL_LIBDIR=lib64 -Dprotobuf_BUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_POSITION_INDEPENDENT_CODE=ON -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
make install
```
Here "-DCMAKE_POSITION_INDEPENDENT_CODE=ON" is crucial. By default static libraries are built without "-fPIC" flag, they are not position independent code. But shared libraries must be position independent code. Python C/C++ extensions(like ONNX) are shared libraries. So if a static library was not built with "-fPIC", it can't be linked to such a shared library.
Once build is successful, update PATH to include protobuf paths.
</details>
Then you can build ONNX as:
```sh
git clone https://github.com/onnx/onnx.git
cd onnx
git submodule update --init --recursive
# Optional: prefer lite proto
export CMAKE_ARGS=-DONNX_USE_LITE_PROTO=ON
pip install -e . -v
```
### Mac
```sh
export NUM_CORES=`sysctl -n hw.ncpu`
brew update
brew install autoconf && brew install automake
wget https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protobuf-cpp-3.21.12.tar.gz
tar -xvf protobuf-cpp-3.21.12.tar.gz
cd protobuf-3.21.12
mkdir build_source && cd build_source
cmake ../cmake -Dprotobuf_BUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release
make -j${NUM_CORES}
make install
```
Once build is successful, update PATH to include protobuf paths.
Then you can build ONNX as:
```sh
git clone --recursive https://github.com/onnx/onnx.git
cd onnx
# Optional: prefer lite proto
set CMAKE_ARGS=-DONNX_USE_LITE_PROTO=ON
pip install -e . -v
```
## Verify Installation
After installation, run
```sh
python -c "import onnx"
```
to verify it works.
## Common Build Options
For full list refer to CMakeLists.txt
### Environment variables
* `USE_MSVC_STATIC_RUNTIME` should be 1 or 0, not ON or OFF. When set to 1 onnx links statically to runtime library.
**Default**: `USE_MSVC_STATIC_RUNTIME=0`
* `DEBUG` should be 0 or 1. When set to 1 onnx is built in debug mode. or debug versions of the dependencies, you need to open the [CMakeLists file](https://github.com/onnx/onnx/blob/main/CMakeLists.txt) and append a letter `d` at the end of the package name lines. For example, `NAMES protobuf-lite` would become `NAMES protobuf-lited`.
**Default**: `Debug=0`
### CMake variables
* `ONNX_USE_PROTOBUF_SHARED_LIBS` should be `ON` or `OFF`.
**Default**: `ONNX_USE_PROTOBUF_SHARED_LIBS=OFF USE_MSVC_STATIC_RUNTIME=0`
`ONNX_USE_PROTOBUF_SHARED_LIBS` determines how onnx links to protobuf libraries.
* When set to `ON` - onnx will dynamically link to protobuf shared libs, PROTOBUF_USE_DLLS will be defined as described [here](https://github.com/protocolbuffers/protobuf/blob/main/cmake/README.md#dlls-vs-static-linking), Protobuf_USE_STATIC_LIBS will be set to `OFF` and `USE_MSVC_STATIC_RUNTIME` must be 0.
* When set to `OFF` - onnx will link statically to protobuf, and Protobuf_USE_STATIC_LIBS will be set to `ON` (to force the use of the static libraries) and `USE_MSVC_STATIC_RUNTIME` can be `0` or `1`.
* `ONNX_USE_LITE_PROTO` should be `ON` or `OFF`. When set to `ON` onnx uses lite protobuf instead of full protobuf.
**Default**: `ONNX_USE_LITE_PROTO=OFF`
* `ONNX_WERROR` should be `ON` or `OFF`. When set to `ON` warnings are treated as errors.
**Default**: `ONNX_WERROR=OFF` in local builds, `ON` in CI and release pipelines.
## Common Errors
* Note: the `import onnx` command does not work from the source checkout directory; in this case you'll see `ModuleNotFoundError: No module named 'onnx.onnx_cpp2py_export'`. Change into another directory to fix this error.
* If you run into any issues while building Protobuf as a static library, please ensure that shared Protobuf libraries, like libprotobuf, are not installed on your device or in the conda environment. If these shared libraries exist, either remove them to build Protobuf from source as a static library, or skip the Protobuf build from source to use the shared version directly.
* If you run into any issues while building ONNX from source, and your error message reads, `Could not find pythonXX.lib`, ensure that you have consistent Python versions for common commands, such as `python` and `pip`. Clean all existing build files and rebuild ONNX again.
# Testing
ONNX uses [pytest](https://docs.pytest.org) as test driver. In order to run tests, you will first need to install `pytest`:
```sh
pip install pytest nbval
```
After installing pytest, use the following command to run tests.
```sh
pytest
```
# Development
Check out the [contributor guide](https://github.com/onnx/onnx/blob/main/CONTRIBUTING.md) for instructions.
# License
[Apache License v2.0](LICENSE)
# Code of Conduct
[ONNX Open Source Code of Conduct](https://onnx.ai/codeofconduct.html)
Raw data
{
"_id": null,
"home_page": null,
"name": "onnx",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "ONNX Contributors <onnx-technical-discuss@lists.lfaidata.foundation>",
"download_url": "https://files.pythonhosted.org/packages/9a/54/0e385c26bf230d223810a9c7d06628d954008a5e5e4b73ee26ef02327282/onnx-1.17.0.tar.gz",
"platform": null,
"description": "<!--\nCopyright (c) ONNX Project Contributors\n\nSPDX-License-Identifier: Apache-2.0\n-->\n\n<p align=\"center\"><img width=\"40%\" src=\"https://github.com/onnx/onnx/raw/main/docs/onnx-horizontal-color.png\" /></p>\n\n[![PyPI - Version](https://img.shields.io/pypi/v/onnx.svg)](https://pypi.org/project/onnx)\n[![CI](https://github.com/onnx/onnx/actions/workflows/main.yml/badge.svg)](https://github.com/onnx/onnx/actions/workflows/main.yml)\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/3313/badge)](https://bestpractices.coreinfrastructure.org/projects/3313)\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/onnx/onnx/badge)](https://api.securityscorecards.dev/projects/github.com/onnx/onnx)\n[![REUSE compliant](https://api.reuse.software/badge/github.com/onnx/onnx)](https://api.reuse.software/info/github.com/onnx/onnx)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n[Open Neural Network Exchange (ONNX)](https://onnx.ai) is an open ecosystem that empowers AI developers\nto choose the right tools as their project evolves. ONNX provides an open source format for AI models, both deep learning and traditional ML. It defines an extensible computation graph model, as well as definitions of built-in operators and standard\ndata types. Currently we focus on the capabilities needed for inferencing (scoring).\n\nONNX is [widely supported](http://onnx.ai/supported-tools) and can be found in many frameworks, tools, and hardware. Enabling interoperability between different frameworks and streamlining the path from research to production helps increase the speed of innovation in the AI community. We invite the community to join us and further evolve ONNX.\n\n# Use ONNX\n\n* [Documentation of ONNX Python Package](https://onnx.ai/onnx/)\n* [Tutorials for creating ONNX models](https://github.com/onnx/tutorials)\n* [Pre-trained ONNX models](https://github.com/onnx/models)\n\n# Learn about the ONNX spec\n\n* [Overview](https://github.com/onnx/onnx/blob/main/docs/Overview.md)\n* [ONNX intermediate representation spec](https://github.com/onnx/onnx/blob/main/docs/IR.md)\n* [Versioning principles of the spec](https://github.com/onnx/onnx/blob/main/docs/Versioning.md)\n* [Operators documentation](https://github.com/onnx/onnx/blob/main/docs/Operators.md)\n* [Operators documentation](https://onnx.ai/onnx/operators/index.html) (latest release)\n* [Python API Overview](https://github.com/onnx/onnx/blob/main/docs/PythonAPIOverview.md)\n\n# Programming utilities for working with ONNX Graphs\n\n* [Shape and Type Inference](https://github.com/onnx/onnx/blob/main/docs/ShapeInference.md)\n* [Graph Optimization](https://github.com/onnx/optimizer)\n* [Opset Version Conversion](https://github.com/onnx/onnx/blob/main/docs/docsgen/source/api/version_converter.md)\n\n# Contribute\n\nONNX is a community project and the open governance model is described [here](https://github.com/onnx/onnx/blob/main/community/readme.md). We encourage you to join the effort and contribute feedback, ideas, and code. You can participate in the [Special Interest Groups](https://github.com/onnx/onnx/blob/main/community/sigs.md) and [Working Groups](https://github.com/onnx/onnx/blob/main/community/working-groups.md) to shape the future of ONNX.\n\nCheck out our [contribution guide](https://github.com/onnx/onnx/blob/main/CONTRIBUTING.md) to get started.\n\nIf you think some operator should be added to ONNX specification, please read\n[this document](https://github.com/onnx/onnx/blob/main/docs/AddNewOp.md).\n\n# Community meetings\n\nThe schedules of the regular meetings of the Steering Committee, the working groups and the SIGs can be found [here](https://onnx.ai/calendar)\n\nCommunity Meetups are held at least once a year. Content from previous community meetups are at:\n\n* 2020.04.09 <https://wiki.lfaidata.foundation/display/DL/LF+AI+Day+-ONNX+Community+Virtual+Meetup+-+Silicon+Valley+-+April+9>\n* 2020.10.14 <https://wiki.lfaidata.foundation/display/DL/LF+AI+Day+-+ONNX+Community+Workshop+-+October+14>\n* 2021.03.24 <https://wiki.lfaidata.foundation/pages/viewpage.action?pageId=35160391>\n* 2021.10.21 <https://wiki.lfaidata.foundation/pages/viewpage.action?pageId=46989689>\n* 2022.06.24 <https://wiki.lfaidata.foundation/display/DL/ONNX+Community+Day+-+June+24>\n* 2023.06.28 <https://wiki.lfaidata.foundation/display/DL/ONNX+Community+Day+2023+-+June+28>\n\n# Discuss\n\nWe encourage you to open [Issues](https://github.com/onnx/onnx/issues), or use [Slack](https://lfaifoundation.slack.com/) (If you have not joined yet, please use this [link](https://join.slack.com/t/lfaifoundation/shared_invite/zt-o65errpw-gMTbwNr7FnNbVXNVFkmyNA) to join the group) for more real-time discussion.\n\n# Follow Us\n\nStay up to date with the latest ONNX news. [[Facebook](https://www.facebook.com/onnxai/)] [[Twitter](https://twitter.com/onnxai)]\n\n# Roadmap\n\nA roadmap process takes place every year. More details can be found [here](https://github.com/onnx/steering-committee/tree/main/roadmap)\n\n# Installation\n\n## Official Python packages\n\nONNX released packages are published in PyPi.\n\n```sh\npip install onnx # or pip install onnx[reference] for optional reference implementation dependencies\n```\n\n[ONNX weekly packages](https://pypi.org/project/onnx-weekly/) are published in PyPI to enable experimentation and early testing.\n\n## vcpkg packages\n\nonnx is in the maintenance list of [vcpkg](https://github.com/microsoft/vcpkg), you can easily use vcpkg to build and install it.\n\n```sh\ngit clone https://github.com/microsoft/vcpkg.git\ncd vcpkg\n./bootstrap-vcpkg.bat # For powershell\n./bootstrap-vcpkg.sh # For bash\n./vcpkg install onnx\n```\n\n## Conda packages\n\nA binary build of ONNX is available from [Conda](https://conda.io), in [conda-forge](https://conda-forge.org/):\n\n```sh\nconda install -c conda-forge onnx\n```\n\n## Build ONNX from Source\n\nBefore building from source uninstall any existing versions of onnx `pip uninstall onnx`.\n\nc++17 or higher C++ compiler version is required to build ONNX from source. Still, users can specify their own `CMAKE_CXX_STANDARD` version for building ONNX.\n\nIf you don't have protobuf installed, ONNX will internally download and build protobuf for ONNX build.\n\nOr, you can manually install [protobuf C/C++ libraries and tools](https://github.com/protocolbuffers/protobuf) with specified version before proceeding forward. Then depending on how you installed protobuf, you need to set environment variable CMAKE_ARGS to \"-DONNX_USE_PROTOBUF_SHARED_LIBS=ON\" or \"-DONNX_USE_PROTOBUF_SHARED_LIBS=OFF\". For example, you may need to run the following command:\n\nLinux:\n\n```sh\nexport CMAKE_ARGS=\"-DONNX_USE_PROTOBUF_SHARED_LIBS=ON\"\n```\n\nWindows:\n\n```bat\nset CMAKE_ARGS=\"-DONNX_USE_PROTOBUF_SHARED_LIBS=ON\"\n```\n\nThe ON/OFF depends on what kind of protobuf library you have. Shared libraries are files ending with \\*.dll/\\*.so/\\*.dylib. Static libraries are files ending with \\*.a/\\*.lib. This option depends on how you get your protobuf library and how it was built. And it is default OFF. You don't need to run the commands above if you'd prefer to use a static protobuf library.\n\n### Windows\n\nIf you are building ONNX from source, it is recommended that you also build Protobuf locally as a static library. The version distributed with conda-forge is a DLL, but ONNX expects it to be a static library. Building protobuf locally also lets you control the version of protobuf. The tested and recommended version is 3.21.12.\n\nThe instructions in this README assume you are using Visual Studio. It is recommended that you run all the commands from a shell started from \"x64 Native Tools Command Prompt for VS 2019\" and keep the build system generator for cmake (e.g., cmake -G \"Visual Studio 16 2019\") consistent while building protobuf as well as ONNX.\n\nYou can get protobuf by running the following commands:\n\n```bat\ngit clone https://github.com/protocolbuffers/protobuf.git\ncd protobuf\ngit checkout v21.12\ncd cmake\ncmake -G \"Visual Studio 16 2019\" -A x64 -DCMAKE_INSTALL_PREFIX=<protobuf_install_dir> -Dprotobuf_MSVC_STATIC_RUNTIME=OFF -Dprotobuf_BUILD_SHARED_LIBS=OFF -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_EXAMPLES=OFF .\nmsbuild protobuf.sln /m /p:Configuration=Release\nmsbuild INSTALL.vcxproj /p:Configuration=Release\n```\n\nThen it will be built as a static library and installed to <protobuf_install_dir>. Please add the bin directory(which contains protoc.exe) to your PATH.\n\n```bat\nset CMAKE_PREFIX_PATH=<protobuf_install_dir>;%CMAKE_PREFIX_PATH%\n```\n\nPlease note: if your protobuf_install_dir contains spaces, **do not** add quotation marks around it.\n\nAlternative: if you don't want to change your PATH, you can set ONNX_PROTOC_EXECUTABLE instead.\n\n```bat\nset CMAKE_ARGS=-DONNX_PROTOC_EXECUTABLE=<full_path_to_protoc.exe>\n```\n\nThen you can build ONNX as:\n\n```\ngit clone https://github.com/onnx/onnx.git\ncd onnx\ngit submodule update --init --recursive\n# prefer lite proto\nset CMAKE_ARGS=-DONNX_USE_LITE_PROTO=ON\npip install -e . -v\n```\n\n### Linux\n\nFirst, you need to install protobuf. The minimum Protobuf compiler (protoc) version required by ONNX is 3.6.1. Please note that old protoc versions might not work with `CMAKE_ARGS=-DONNX_USE_LITE_PROTO=ON`.\n\nUbuntu 20.04 (and newer) users may choose to install protobuf via\n\n```sh\napt-get install python3-pip python3-dev libprotobuf-dev protobuf-compiler\n```\n\nIn this case, it is required to add `-DONNX_USE_PROTOBUF_SHARED_LIBS=ON` to CMAKE_ARGS in the ONNX build step.\n\nA more general way is to build and install it from source. See the instructions below for more details.\n\n<details>\n <summary> Installing Protobuf from source </summary>\n\n Debian/Ubuntu:\n\n ```sh\n git clone https://github.com/protocolbuffers/protobuf.git\n cd protobuf\n git checkout v21.12\n git submodule update --init --recursive\n mkdir build_source && cd build_source\n cmake ../cmake -Dprotobuf_BUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_POSITION_INDEPENDENT_CODE=ON -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release\n make -j$(nproc)\n make install\n ```\n\n CentOS/RHEL/Fedora:\n\n ```sh\n git clone https://github.com/protocolbuffers/protobuf.git\n cd protobuf\n git checkout v21.12\n git submodule update --init --recursive\n mkdir build_source && cd build_source\n cmake ../cmake -DCMAKE_INSTALL_LIBDIR=lib64 -Dprotobuf_BUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_POSITION_INDEPENDENT_CODE=ON -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release\n make -j$(nproc)\n make install\n ```\n\n Here \"-DCMAKE_POSITION_INDEPENDENT_CODE=ON\" is crucial. By default static libraries are built without \"-fPIC\" flag, they are not position independent code. But shared libraries must be position independent code. Python C/C++ extensions(like ONNX) are shared libraries. So if a static library was not built with \"-fPIC\", it can't be linked to such a shared library.\n\n Once build is successful, update PATH to include protobuf paths.\n\n</details>\n\nThen you can build ONNX as:\n\n```sh\ngit clone https://github.com/onnx/onnx.git\ncd onnx\ngit submodule update --init --recursive\n# Optional: prefer lite proto\nexport CMAKE_ARGS=-DONNX_USE_LITE_PROTO=ON\npip install -e . -v\n```\n\n### Mac\n\n```sh\nexport NUM_CORES=`sysctl -n hw.ncpu`\nbrew update\nbrew install autoconf && brew install automake\nwget https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protobuf-cpp-3.21.12.tar.gz\ntar -xvf protobuf-cpp-3.21.12.tar.gz\ncd protobuf-3.21.12\nmkdir build_source && cd build_source\ncmake ../cmake -Dprotobuf_BUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release\nmake -j${NUM_CORES}\nmake install\n```\n\nOnce build is successful, update PATH to include protobuf paths.\n\nThen you can build ONNX as:\n\n```sh\ngit clone --recursive https://github.com/onnx/onnx.git\ncd onnx\n# Optional: prefer lite proto\nset CMAKE_ARGS=-DONNX_USE_LITE_PROTO=ON\npip install -e . -v\n```\n\n## Verify Installation\n\nAfter installation, run\n\n```sh\npython -c \"import onnx\"\n```\n\nto verify it works.\n\n## Common Build Options\n\nFor full list refer to CMakeLists.txt\n\n### Environment variables\n\n* `USE_MSVC_STATIC_RUNTIME` should be 1 or 0, not ON or OFF. When set to 1 onnx links statically to runtime library.\n**Default**: `USE_MSVC_STATIC_RUNTIME=0`\n\n* `DEBUG` should be 0 or 1. When set to 1 onnx is built in debug mode. or debug versions of the dependencies, you need to open the [CMakeLists file](https://github.com/onnx/onnx/blob/main/CMakeLists.txt) and append a letter `d` at the end of the package name lines. For example, `NAMES protobuf-lite` would become `NAMES protobuf-lited`.\n**Default**: `Debug=0`\n\n### CMake variables\n\n* `ONNX_USE_PROTOBUF_SHARED_LIBS` should be `ON` or `OFF`.\n**Default**: `ONNX_USE_PROTOBUF_SHARED_LIBS=OFF USE_MSVC_STATIC_RUNTIME=0`\n`ONNX_USE_PROTOBUF_SHARED_LIBS` determines how onnx links to protobuf libraries.\n * When set to `ON` - onnx will dynamically link to protobuf shared libs, PROTOBUF_USE_DLLS will be defined as described [here](https://github.com/protocolbuffers/protobuf/blob/main/cmake/README.md#dlls-vs-static-linking), Protobuf_USE_STATIC_LIBS will be set to `OFF` and `USE_MSVC_STATIC_RUNTIME` must be 0.\n * When set to `OFF` - onnx will link statically to protobuf, and Protobuf_USE_STATIC_LIBS will be set to `ON` (to force the use of the static libraries) and `USE_MSVC_STATIC_RUNTIME` can be `0` or `1`.\n\n* `ONNX_USE_LITE_PROTO` should be `ON` or `OFF`. When set to `ON` onnx uses lite protobuf instead of full protobuf.\n**Default**: `ONNX_USE_LITE_PROTO=OFF`\n\n* `ONNX_WERROR` should be `ON` or `OFF`. When set to `ON` warnings are treated as errors.\n**Default**: `ONNX_WERROR=OFF` in local builds, `ON` in CI and release pipelines.\n\n## Common Errors\n\n* Note: the `import onnx` command does not work from the source checkout directory; in this case you'll see `ModuleNotFoundError: No module named 'onnx.onnx_cpp2py_export'`. Change into another directory to fix this error.\n\n* If you run into any issues while building Protobuf as a static library, please ensure that shared Protobuf libraries, like libprotobuf, are not installed on your device or in the conda environment. If these shared libraries exist, either remove them to build Protobuf from source as a static library, or skip the Protobuf build from source to use the shared version directly.\n\n* If you run into any issues while building ONNX from source, and your error message reads, `Could not find pythonXX.lib`, ensure that you have consistent Python versions for common commands, such as `python` and `pip`. Clean all existing build files and rebuild ONNX again.\n\n# Testing\n\nONNX uses [pytest](https://docs.pytest.org) as test driver. In order to run tests, you will first need to install `pytest`:\n\n```sh\npip install pytest nbval\n```\n\nAfter installing pytest, use the following command to run tests.\n\n```sh\npytest\n```\n\n# Development\n\nCheck out the [contributor guide](https://github.com/onnx/onnx/blob/main/CONTRIBUTING.md) for instructions.\n\n# License\n\n[Apache License v2.0](LICENSE)\n\n# Code of Conduct\n\n[ONNX Open Source Code of Conduct](https://onnx.ai/codeofconduct.html)\n",
"bugtrack_url": null,
"license": "Apache License v2.0",
"summary": "Open Neural Network Exchange",
"version": "1.17.0",
"project_urls": {
"Homepage": "https://onnx.ai/",
"Repository": "https://github.com/onnx/onnx"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2e2957053ba7787788ac75efb095cfc1ae290436b6d3a26754693cd7ed1b4fac",
"md5": "def107e185532c184633789a0f01729b",
"sha256": "38b5df0eb22012198cdcee527cc5f917f09cce1f88a69248aaca22bd78a7f023"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp310-cp310-macosx_12_0_universal2.whl",
"has_sig": false,
"md5_digest": "def107e185532c184633789a0f01729b",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 16645616,
"upload_time": "2024-10-01T21:45:45",
"upload_time_iso_8601": "2024-10-01T21:45:45.778859Z",
"url": "https://files.pythonhosted.org/packages/2e/29/57053ba7787788ac75efb095cfc1ae290436b6d3a26754693cd7ed1b4fac/onnx-1.17.0-cp310-cp310-macosx_12_0_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "750d831807a18db2a5e8f7813848c59272b904a4ef3939fe4d1288cbce9ea735",
"md5": "2cd4903bd4e987786511a8e507bb25f8",
"sha256": "d545335cb49d4d8c47cc803d3a805deb7ad5d9094dc67657d66e568610a36d7d"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "2cd4903bd4e987786511a8e507bb25f8",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 15908420,
"upload_time": "2024-10-01T21:45:49",
"upload_time_iso_8601": "2024-10-01T21:45:49.263121Z",
"url": "https://files.pythonhosted.org/packages/75/0d/831807a18db2a5e8f7813848c59272b904a4ef3939fe4d1288cbce9ea735/onnx-1.17.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dd5bc4f95dbe652d14aeba9afaceb177e9ffc48ac3c03048dd3f872f26f07e34",
"md5": "42b7face4dcabcd3973ce93ea774cb2c",
"sha256": "3193a3672fc60f1a18c0f4c93ac81b761bc72fd8a6c2035fa79ff5969f07713e"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "42b7face4dcabcd3973ce93ea774cb2c",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 16046244,
"upload_time": "2024-10-01T21:45:52",
"upload_time_iso_8601": "2024-10-01T21:45:52.164292Z",
"url": "https://files.pythonhosted.org/packages/dd/5b/c4f95dbe652d14aeba9afaceb177e9ffc48ac3c03048dd3f872f26f07e34/onnx-1.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "08a9c1f218085043dccc6311460239e253fa6957cf12ee4b0a56b82014938d0b",
"md5": "006a4dce5ae414af374e3442f42f4a64",
"sha256": "0141c2ce806c474b667b7e4499164227ef594584da432fd5613ec17c1855e311"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp310-cp310-win32.whl",
"has_sig": false,
"md5_digest": "006a4dce5ae414af374e3442f42f4a64",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 14423516,
"upload_time": "2024-10-01T21:45:55",
"upload_time_iso_8601": "2024-10-01T21:45:55.071221Z",
"url": "https://files.pythonhosted.org/packages/08/a9/c1f218085043dccc6311460239e253fa6957cf12ee4b0a56b82014938d0b/onnx-1.17.0-cp310-cp310-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0ed3d26ebf590a65686dde6b27fef32493026c5be9e42083340d947395f93405",
"md5": "4304624f39e150320b6fa70e9e228828",
"sha256": "dfd777d95c158437fda6b34758f0877d15b89cbe9ff45affbedc519b35345cf9"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp310-cp310-win_amd64.whl",
"has_sig": false,
"md5_digest": "4304624f39e150320b6fa70e9e228828",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 14528496,
"upload_time": "2024-10-01T21:45:58",
"upload_time_iso_8601": "2024-10-01T21:45:58.065814Z",
"url": "https://files.pythonhosted.org/packages/0e/d3/d26ebf590a65686dde6b27fef32493026c5be9e42083340d947395f93405/onnx-1.17.0-cp310-cp310-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e5a98d1b1d53aec70df53e0f57e9f9fcf47004276539e29230c3d5f1f50719ba",
"md5": "786f1bd0b4443522884f8e6f736e4425",
"sha256": "d6fc3a03fc0129b8b6ac03f03bc894431ffd77c7d79ec023d0afd667b4d35869"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp311-cp311-macosx_12_0_universal2.whl",
"has_sig": false,
"md5_digest": "786f1bd0b4443522884f8e6f736e4425",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 16647991,
"upload_time": "2024-10-01T21:46:02",
"upload_time_iso_8601": "2024-10-01T21:46:02.491614Z",
"url": "https://files.pythonhosted.org/packages/e5/a9/8d1b1d53aec70df53e0f57e9f9fcf47004276539e29230c3d5f1f50719ba/onnx-1.17.0-cp311-cp311-macosx_12_0_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7be3cc80110e5996ca61878f7b4c73c7a286cd88918ff35eacb60dc75ab11ef5",
"md5": "0fda4b90ba97784392354680aecbd589",
"sha256": "f01a4b63d4e1d8ec3e2f069e7b798b2955810aa434f7361f01bc8ca08d69cce4"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "0fda4b90ba97784392354680aecbd589",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 15908949,
"upload_time": "2024-10-01T21:46:05",
"upload_time_iso_8601": "2024-10-01T21:46:05.165142Z",
"url": "https://files.pythonhosted.org/packages/7b/e3/cc80110e5996ca61878f7b4c73c7a286cd88918ff35eacb60dc75ab11ef5/onnx-1.17.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b12f91092557ed478e323a2b4471e2081fdf88d1dd52ae988ceaf7db4e4506ff",
"md5": "cb23d2e761810b163762a3af1dc921c1",
"sha256": "4a183c6178be001bf398260e5ac2c927dc43e7746e8638d6c05c20e321f8c949"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "cb23d2e761810b163762a3af1dc921c1",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 16048190,
"upload_time": "2024-10-01T21:46:08",
"upload_time_iso_8601": "2024-10-01T21:46:08.041220Z",
"url": "https://files.pythonhosted.org/packages/b1/2f/91092557ed478e323a2b4471e2081fdf88d1dd52ae988ceaf7db4e4506ff/onnx-1.17.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ac599ea23fc22d0bb853133f363e6248e31bcbc6c1c90543a3938c00412ac02a",
"md5": "c31fda20794a9f4dfd5a9864ab498b8e",
"sha256": "081ec43a8b950171767d99075b6b92553901fa429d4bc5eb3ad66b36ef5dbe3a"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp311-cp311-win32.whl",
"has_sig": false,
"md5_digest": "c31fda20794a9f4dfd5a9864ab498b8e",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 14424299,
"upload_time": "2024-10-01T21:46:10",
"upload_time_iso_8601": "2024-10-01T21:46:10.329280Z",
"url": "https://files.pythonhosted.org/packages/ac/59/9ea23fc22d0bb853133f363e6248e31bcbc6c1c90543a3938c00412ac02a/onnx-1.17.0-cp311-cp311-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "51a519b0dfcb567b62e7adf1a21b08b23224f0c2d13842aee4d0abc6f07f9cf5",
"md5": "26e6a2a06e01bc22b224bc69e821c2d1",
"sha256": "95c03e38671785036bb704c30cd2e150825f6ab4763df3a4f1d249da48525957"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp311-cp311-win_amd64.whl",
"has_sig": false,
"md5_digest": "26e6a2a06e01bc22b224bc69e821c2d1",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 14529142,
"upload_time": "2024-10-01T21:46:12",
"upload_time_iso_8601": "2024-10-01T21:46:12.574998Z",
"url": "https://files.pythonhosted.org/packages/51/a5/19b0dfcb567b62e7adf1a21b08b23224f0c2d13842aee4d0abc6f07f9cf5/onnx-1.17.0-cp311-cp311-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b4ddc416a11a28847fafb0db1bf43381979a0f522eb9107b831058fde012dd56",
"md5": "6dabd352b93e153f47f81fb5eaf73840",
"sha256": "0e906e6a83437de05f8139ea7eaf366bf287f44ae5cc44b2850a30e296421f2f"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp312-cp312-macosx_12_0_universal2.whl",
"has_sig": false,
"md5_digest": "6dabd352b93e153f47f81fb5eaf73840",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 16651271,
"upload_time": "2024-10-01T21:46:16",
"upload_time_iso_8601": "2024-10-01T21:46:16.084961Z",
"url": "https://files.pythonhosted.org/packages/b4/dd/c416a11a28847fafb0db1bf43381979a0f522eb9107b831058fde012dd56/onnx-1.17.0-cp312-cp312-macosx_12_0_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f06cf040652277f514ecd81b7251841f96caa5538365af7df07f86c6018cda2b",
"md5": "812ad4799500931bbfc1067e6ce9916e",
"sha256": "3d955ba2939878a520a97614bcf2e79c1df71b29203e8ced478fa78c9a9c63c2"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "812ad4799500931bbfc1067e6ce9916e",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 15907522,
"upload_time": "2024-10-01T21:46:18",
"upload_time_iso_8601": "2024-10-01T21:46:18.574958Z",
"url": "https://files.pythonhosted.org/packages/f0/6c/f040652277f514ecd81b7251841f96caa5538365af7df07f86c6018cda2b/onnx-1.17.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3d7c67f4952d1b56b3f74a154b97d0dd0630d525923b354db117d04823b8b49b",
"md5": "9018bb506e676bf68bbb6ef25f23d7b0",
"sha256": "4f3fb5cc4e2898ac5312a7dc03a65133dd2abf9a5e520e69afb880a7251ec97a"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "9018bb506e676bf68bbb6ef25f23d7b0",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 16046307,
"upload_time": "2024-10-01T21:46:21",
"upload_time_iso_8601": "2024-10-01T21:46:21.186585Z",
"url": "https://files.pythonhosted.org/packages/3d/7c/67f4952d1b56b3f74a154b97d0dd0630d525923b354db117d04823b8b49b/onnx-1.17.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ae206da11042d2ab870dfb4ce4a6b52354d7651b6b4112038b6d2229ab9904c4",
"md5": "20437012aa69ba69205621a57ec00cc5",
"sha256": "317870fca3349d19325a4b7d1b5628f6de3811e9710b1e3665c68b073d0e68d7"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp312-cp312-win32.whl",
"has_sig": false,
"md5_digest": "20437012aa69ba69205621a57ec00cc5",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 14424235,
"upload_time": "2024-10-01T21:46:24",
"upload_time_iso_8601": "2024-10-01T21:46:24.343674Z",
"url": "https://files.pythonhosted.org/packages/ae/20/6da11042d2ab870dfb4ce4a6b52354d7651b6b4112038b6d2229ab9904c4/onnx-1.17.0-cp312-cp312-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3555c4d11bee1fdb0c4bd84b4e3562ff811a19b63266816870ae1f95567aa6e1",
"md5": "bc7c694a9d27af71d69009cf12cd1c3d",
"sha256": "659b8232d627a5460d74fd3c96947ae83db6d03f035ac633e20cd69cfa029227"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp312-cp312-win_amd64.whl",
"has_sig": false,
"md5_digest": "bc7c694a9d27af71d69009cf12cd1c3d",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 14530453,
"upload_time": "2024-10-01T21:46:26",
"upload_time_iso_8601": "2024-10-01T21:46:26.981845Z",
"url": "https://files.pythonhosted.org/packages/35/55/c4d11bee1fdb0c4bd84b4e3562ff811a19b63266816870ae1f95567aa6e1/onnx-1.17.0-cp312-cp312-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e1471cfa62d9ddd71fba5dd335b45d6213b3af4f34ecdb22e90f3b4f46621d53",
"md5": "5a3359d903a68b8c74e8785298d355c1",
"sha256": "23b8d56a9df492cdba0eb07b60beea027d32ff5e4e5fe271804eda635bed384f"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp38-cp38-macosx_12_0_universal2.whl",
"has_sig": false,
"md5_digest": "5a3359d903a68b8c74e8785298d355c1",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 16645852,
"upload_time": "2024-10-01T21:46:29",
"upload_time_iso_8601": "2024-10-01T21:46:29.134173Z",
"url": "https://files.pythonhosted.org/packages/e1/47/1cfa62d9ddd71fba5dd335b45d6213b3af4f34ecdb22e90f3b4f46621d53/onnx-1.17.0-cp38-cp38-macosx_12_0_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f54037d697e99f6385efb0f2b8ae2c2a3e2b78bedfebc1e6bbbae7f29f9d30d4",
"md5": "9ba1fa14019811276d5781b463e8b1c3",
"sha256": "ecf2b617fd9a39b831abea2df795e17bac705992a35a98e1f0363f005c4a5247"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "9ba1fa14019811276d5781b463e8b1c3",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 15908200,
"upload_time": "2024-10-01T21:46:31",
"upload_time_iso_8601": "2024-10-01T21:46:31.331122Z",
"url": "https://files.pythonhosted.org/packages/f5/40/37d697e99f6385efb0f2b8ae2c2a3e2b78bedfebc1e6bbbae7f29f9d30d4/onnx-1.17.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fb4c687f641702f3d3c67ce01a17d93cf2a83d7f9d9cb32bd18e397d4ff9580d",
"md5": "64d07494036867f810501be279c6d8e5",
"sha256": "ea5023a8dcdadbb23fd0ed0179ce64c1f6b05f5b5c34f2909b4e927589ebd0e4"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "64d07494036867f810501be279c6d8e5",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 16046159,
"upload_time": "2024-10-01T21:46:33",
"upload_time_iso_8601": "2024-10-01T21:46:33.718633Z",
"url": "https://files.pythonhosted.org/packages/fb/4c/687f641702f3d3c67ce01a17d93cf2a83d7f9d9cb32bd18e397d4ff9580d/onnx-1.17.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b146f2b737fc0b9ac86f9686e94b2bcab51e89e49777d308ab1d2d4553f215ba",
"md5": "d4f67f5d3abbc34f0f9ff9003fad7cce",
"sha256": "f0e437f8f2f0c36f629e9743d28cf266312baa90be6a899f405f78f2d4cb2e1d"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp38-cp38-win32.whl",
"has_sig": false,
"md5_digest": "d4f67f5d3abbc34f0f9ff9003fad7cce",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 14423398,
"upload_time": "2024-10-01T21:46:36",
"upload_time_iso_8601": "2024-10-01T21:46:36.055146Z",
"url": "https://files.pythonhosted.org/packages/b1/46/f2b737fc0b9ac86f9686e94b2bcab51e89e49777d308ab1d2d4553f215ba/onnx-1.17.0-cp38-cp38-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2dc85cc6f2c7b33547099506dcee04ab3c2dafc4f2f034d67fc158a7bc0a2474",
"md5": "7a9f74cb12ae3fa5fd63cbbdf3cd5ab0",
"sha256": "e4673276b558b5b572b960b7f9ef9214dce9305673683eb289bb97a7df379a4b"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp38-cp38-win_amd64.whl",
"has_sig": false,
"md5_digest": "7a9f74cb12ae3fa5fd63cbbdf3cd5ab0",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 14528646,
"upload_time": "2024-10-01T21:46:39",
"upload_time_iso_8601": "2024-10-01T21:46:39.087330Z",
"url": "https://files.pythonhosted.org/packages/2d/c8/5cc6f2c7b33547099506dcee04ab3c2dafc4f2f034d67fc158a7bc0a2474/onnx-1.17.0-cp38-cp38-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "49e1c5301ff2afa4c473d32a4e9f1bed5c589cfc4947c79002a00183f4cc0fa1",
"md5": "17141b60fd21bd4be33c1ab830329586",
"sha256": "67e1c59034d89fff43b5301b6178222e54156eadd6ab4cd78ddc34b2f6274a66"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp39-cp39-macosx_12_0_universal2.whl",
"has_sig": false,
"md5_digest": "17141b60fd21bd4be33c1ab830329586",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 16645989,
"upload_time": "2024-10-01T21:46:42",
"upload_time_iso_8601": "2024-10-01T21:46:42.177947Z",
"url": "https://files.pythonhosted.org/packages/49/e1/c5301ff2afa4c473d32a4e9f1bed5c589cfc4947c79002a00183f4cc0fa1/onnx-1.17.0-cp39-cp39-macosx_12_0_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6194d753c230d56234dd01ad939590a2ed33221b57c61abe513ff6823a69af6e",
"md5": "65eef32361e73b980cdfeaad16837f6b",
"sha256": "3e19fd064b297f7773b4c1150f9ce6213e6d7d041d7a9201c0d348041009cdcd"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "65eef32361e73b980cdfeaad16837f6b",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 15908316,
"upload_time": "2024-10-01T21:46:44",
"upload_time_iso_8601": "2024-10-01T21:46:44.948636Z",
"url": "https://files.pythonhosted.org/packages/61/94/d753c230d56234dd01ad939590a2ed33221b57c61abe513ff6823a69af6e/onnx-1.17.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3ddac19d0f20d310045f4701d75ecba4f765153251d48a32f27a5d6b0a7e3799",
"md5": "5da1d6e33264913dfe06673ea1af66be",
"sha256": "8167295f576055158a966161f8ef327cb491c06ede96cc23392be6022071b6ed"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "5da1d6e33264913dfe06673ea1af66be",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 16046488,
"upload_time": "2024-10-01T21:46:47",
"upload_time_iso_8601": "2024-10-01T21:46:47.300089Z",
"url": "https://files.pythonhosted.org/packages/3d/da/c19d0f20d310045f4701d75ecba4f765153251d48a32f27a5d6b0a7e3799/onnx-1.17.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "571a79623a6cd305dfcd21888747364994109dfcb6194343157cb8653f1612dc",
"md5": "39bf74a10365f7759f3f03ca170e0524",
"sha256": "76884fe3e0258c911c749d7d09667fb173365fd27ee66fcedaf9fa039210fd13"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp39-cp39-win32.whl",
"has_sig": false,
"md5_digest": "39bf74a10365f7759f3f03ca170e0524",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 14423724,
"upload_time": "2024-10-01T21:46:49",
"upload_time_iso_8601": "2024-10-01T21:46:49.520474Z",
"url": "https://files.pythonhosted.org/packages/57/1a/79623a6cd305dfcd21888747364994109dfcb6194343157cb8653f1612dc/onnx-1.17.0-cp39-cp39-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "578ece0e20200bdf8e8b47679cd56efb1057aa218b29ccdf60a3b4fb6b91064c",
"md5": "33d2d4fb57a6e8f03395172afb69ac55",
"sha256": "5ca7a0894a86d028d509cdcf99ed1864e19bfe5727b44322c11691d834a1c546"
},
"downloads": -1,
"filename": "onnx-1.17.0-cp39-cp39-win_amd64.whl",
"has_sig": false,
"md5_digest": "33d2d4fb57a6e8f03395172afb69ac55",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 14524172,
"upload_time": "2024-10-01T21:46:51",
"upload_time_iso_8601": "2024-10-01T21:46:51.650198Z",
"url": "https://files.pythonhosted.org/packages/57/8e/ce0e20200bdf8e8b47679cd56efb1057aa218b29ccdf60a3b4fb6b91064c/onnx-1.17.0-cp39-cp39-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9a540e385c26bf230d223810a9c7d06628d954008a5e5e4b73ee26ef02327282",
"md5": "3bb7fe474d76ee33a6a34f97aed104ea",
"sha256": "48ca1a91ff73c1d5e3ea2eef20ae5d0e709bb8a2355ed798ffc2169753013fd3"
},
"downloads": -1,
"filename": "onnx-1.17.0.tar.gz",
"has_sig": false,
"md5_digest": "3bb7fe474d76ee33a6a34f97aed104ea",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 12165120,
"upload_time": "2024-10-01T21:48:40",
"upload_time_iso_8601": "2024-10-01T21:48:40.630012Z",
"url": "https://files.pythonhosted.org/packages/9a/54/0e385c26bf230d223810a9c7d06628d954008a5e5e4b73ee26ef02327282/onnx-1.17.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-01 21:48:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "onnx",
"github_project": "onnx",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "onnx"
}