onnx


Nameonnx JSON
Version 1.16.0 PyPI version JSON
download
home_pageNone
SummaryOpen Neural Network Exchange
upload_time2024-03-25 15:33:46
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseApache License v2.0
keywords
VCS
bugtrack_url
requirements numpy protobuf
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)
[![Build Status](https://dev.azure.com/onnx-pipelines/onnx/_apis/build/status/Windows-CI?branchName=main&label=Windows)](https://dev.azure.com/onnx-pipelines/onnx/_build/latest?definitionId=5&branchName=main)
[![Build Status](https://dev.azure.com/onnx-pipelines/onnx/_apis/build/status/Linux-CI?branchName=main&label=Linux)](https://dev.azure.com/onnx-pipelines/onnx/_build/latest?definitionId=7&branchName=main)
[![Build Status](https://dev.azure.com/onnx-pipelines/onnx/_apis/build/status/MacOS-CI?branchName=main&label=MacOS)](https://dev.azure.com/onnx-pipelines/onnx/_build/latest?definitionId=6&branchName=main)
[![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 PATH=<protobuf_install_dir>/bin;%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 .
```

### 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 .
```

### 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 .
```

## 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/b3/fe/0978403c8d710ece2f34006367e78de80410743fe0e7680c8f33f2dab20d/onnx-1.16.0.tar.gz",
    "platform": null,
    "description": "<!--\nCopyright (c) ONNX Project Contributors\n-->\n\n<!--- SPDX-License-Identifier: Apache-2.0 -->\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[![Build Status](https://dev.azure.com/onnx-pipelines/onnx/_apis/build/status/Windows-CI?branchName=main&label=Windows)](https://dev.azure.com/onnx-pipelines/onnx/_build/latest?definitionId=5&branchName=main)\n[![Build Status](https://dev.azure.com/onnx-pipelines/onnx/_apis/build/status/Linux-CI?branchName=main&label=Linux)](https://dev.azure.com/onnx-pipelines/onnx/_build/latest?definitionId=7&branchName=main)\n[![Build Status](https://dev.azure.com/onnx-pipelines/onnx/_apis/build/status/MacOS-CI?branchName=main&label=MacOS)](https://dev.azure.com/onnx-pipelines/onnx/_build/latest?definitionId=6&branchName=main)\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\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 PATH=<protobuf_install_dir>/bin;%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 .\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 .\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 .\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.16.0",
    "project_urls": {
        "Homepage": "https://onnx.ai/",
        "Repository": "https://github.com/onnx/onnx"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c80bf4705e4a3fa6fd0de971302fdae17ad176b024eca8c24360f0e37c00f9df",
                "md5": "153b3ab3ef4b889da65bacdf1a529e74",
                "sha256": "9eadbdce25b19d6216f426d6d99b8bc877a65ed92cbef9707751c6669190ba4f"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp310-cp310-macosx_10_15_universal2.whl",
            "has_sig": false,
            "md5_digest": "153b3ab3ef4b889da65bacdf1a529e74",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 16514483,
            "upload_time": "2024-03-25T15:25:07",
            "upload_time_iso_8601": "2024-03-25T15:25:07.947535Z",
            "url": "https://files.pythonhosted.org/packages/c8/0b/f4705e4a3fa6fd0de971302fdae17ad176b024eca8c24360f0e37c00f9df/onnx-1.16.0-cp310-cp310-macosx_10_15_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b81c50310a559857951fc6e069cf5d89deebe34287997d1c5928bca435456f62",
                "md5": "c2059f9d1c8fb0da400e00a6fed31429",
                "sha256": "034ae21a2aaa2e9c14119a840d2926d213c27aad29e5e3edaa30145a745048e1"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp310-cp310-macosx_10_15_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c2059f9d1c8fb0da400e00a6fed31429",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 15012939,
            "upload_time": "2024-03-25T15:25:11",
            "upload_time_iso_8601": "2024-03-25T15:25:11.632381Z",
            "url": "https://files.pythonhosted.org/packages/b8/1c/50310a559857951fc6e069cf5d89deebe34287997d1c5928bca435456f62/onnx-1.16.0-cp310-cp310-macosx_10_15_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef6e96be6692ebcd8da568084d753f386ce08efa1f99b216f346ee281edd6cc3",
                "md5": "690d693cfc948c2c810677f1c3c71a5d",
                "sha256": "ec22a43d74eb1f2303373e2fbe7fbcaa45fb225f4eb146edfed1356ada7a9aea"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "690d693cfc948c2c810677f1c3c71a5d",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 15791856,
            "upload_time": "2024-03-25T15:25:15",
            "upload_time_iso_8601": "2024-03-25T15:25:15.360303Z",
            "url": "https://files.pythonhosted.org/packages/ef/6e/96be6692ebcd8da568084d753f386ce08efa1f99b216f346ee281edd6cc3/onnx-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "495fd8e1a24247f506a77cbe22341c72ca91bea3b468c5d6bca2047d885ea3c6",
                "md5": "25c2c0e4f6e34173e5f62c514e094dd2",
                "sha256": "298f28a2b5ac09145fa958513d3d1e6b349ccf86a877dbdcccad57713fe360b3"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "25c2c0e4f6e34173e5f62c514e094dd2",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 15922279,
            "upload_time": "2024-03-25T15:25:18",
            "upload_time_iso_8601": "2024-03-25T15:25:18.939489Z",
            "url": "https://files.pythonhosted.org/packages/49/5f/d8e1a24247f506a77cbe22341c72ca91bea3b468c5d6bca2047d885ea3c6/onnx-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cb14562e4ac22cdf41f4465e3b114ef1a9467d513eeff0b9c2285c2da5db6ed1",
                "md5": "f1139825822dd1908bdd9a484ba87e48",
                "sha256": "66300197b52beca08bc6262d43c103289c5d45fde43fb51922ed1eb83658cf0c"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp310-cp310-win32.whl",
            "has_sig": false,
            "md5_digest": "f1139825822dd1908bdd9a484ba87e48",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 14335703,
            "upload_time": "2024-03-25T15:25:22",
            "upload_time_iso_8601": "2024-03-25T15:25:22.611927Z",
            "url": "https://files.pythonhosted.org/packages/cb/14/562e4ac22cdf41f4465e3b114ef1a9467d513eeff0b9c2285c2da5db6ed1/onnx-1.16.0-cp310-cp310-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3be2471ff83b3862967791d67f630000afce038756afbdf0665a3d767677c851",
                "md5": "6830cb035f1db84c884ef4d5e021f4bf",
                "sha256": "ae0029f5e47bf70a1a62e7f88c80bca4ef39b844a89910039184221775df5e43"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "6830cb035f1db84c884ef4d5e021f4bf",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 14435099,
            "upload_time": "2024-03-25T15:25:25",
            "upload_time_iso_8601": "2024-03-25T15:25:25.050110Z",
            "url": "https://files.pythonhosted.org/packages/3b/e2/471ff83b3862967791d67f630000afce038756afbdf0665a3d767677c851/onnx-1.16.0-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4b87accf3f93eee498711f0b7f07f6e93906e031622473e85ce9cd3578f6a92",
                "md5": "e4606bf6a132f6e39271c8a8115956b9",
                "sha256": "f51179d4af3372b4f3800c558d204b592c61e4b4a18b8f61e0eea7f46211221a"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp311-cp311-macosx_10_15_universal2.whl",
            "has_sig": false,
            "md5_digest": "e4606bf6a132f6e39271c8a8115956b9",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 16514376,
            "upload_time": "2024-03-25T15:25:27",
            "upload_time_iso_8601": "2024-03-25T15:25:27.899245Z",
            "url": "https://files.pythonhosted.org/packages/a4/b8/7accf3f93eee498711f0b7f07f6e93906e031622473e85ce9cd3578f6a92/onnx-1.16.0-cp311-cp311-macosx_10_15_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cc24a328236b594d5fea23f70a3a8139e730cb43334f0b24693831c47c9064f0",
                "md5": "53de479491812410cbed620fc4f4578f",
                "sha256": "5202559070afec5144332db216c20f2fff8323cf7f6512b0ca11b215eacc5bf3"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp311-cp311-macosx_10_15_x86_64.whl",
            "has_sig": false,
            "md5_digest": "53de479491812410cbed620fc4f4578f",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 15012839,
            "upload_time": "2024-03-25T15:25:31",
            "upload_time_iso_8601": "2024-03-25T15:25:31.160645Z",
            "url": "https://files.pythonhosted.org/packages/cc/24/a328236b594d5fea23f70a3a8139e730cb43334f0b24693831c47c9064f0/onnx-1.16.0-cp311-cp311-macosx_10_15_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "801257187bab3f830a47fa65eafe4fbaef01dfdf5042cf82a41fa440fab68766",
                "md5": "e401a0f79b33c9ac0a41f3afd44ce5ef",
                "sha256": "77579e7c15b4df39d29465b216639a5f9b74026bdd9e4b6306cd19a32dcfe67c"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "e401a0f79b33c9ac0a41f3afd44ce5ef",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 15791944,
            "upload_time": "2024-03-25T15:25:34",
            "upload_time_iso_8601": "2024-03-25T15:25:34.778387Z",
            "url": "https://files.pythonhosted.org/packages/80/12/57187bab3f830a47fa65eafe4fbaef01dfdf5042cf82a41fa440fab68766/onnx-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "df4863f68b65d041aedffab41eea930563ca52aab70dbaa7d4820501618c1a70",
                "md5": "9b3c99c86c31e53efa998cb71eb024e0",
                "sha256": "0e60ca76ac24b65c25860d0f2d2cdd96d6320d062a01dd8ce87c5743603789b8"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "9b3c99c86c31e53efa998cb71eb024e0",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 15922450,
            "upload_time": "2024-03-25T15:25:37",
            "upload_time_iso_8601": "2024-03-25T15:25:37.983678Z",
            "url": "https://files.pythonhosted.org/packages/df/48/63f68b65d041aedffab41eea930563ca52aab70dbaa7d4820501618c1a70/onnx-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "081b4bdf4534f5ff08973725ba5409f95bbf64e2789cd20be615880dae689973",
                "md5": "cf938167c15ba3a88ab49563a8b03269",
                "sha256": "81b4ee01bc554e8a2b11ac6439882508a5377a1c6b452acd69a1eebb83571117"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp311-cp311-win32.whl",
            "has_sig": false,
            "md5_digest": "cf938167c15ba3a88ab49563a8b03269",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 14335808,
            "upload_time": "2024-03-25T15:25:40",
            "upload_time_iso_8601": "2024-03-25T15:25:40.523685Z",
            "url": "https://files.pythonhosted.org/packages/08/1b/4bdf4534f5ff08973725ba5409f95bbf64e2789cd20be615880dae689973/onnx-1.16.0-cp311-cp311-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aad00514d02d2e84e7bb48a105877eae4065e54d7dabb60d0b60214fe2677346",
                "md5": "4910a352ec40b9c60354e35ea9d8e907",
                "sha256": "7449241e70b847b9c3eb8dae622df8c1b456d11032a9d7e26e0ee8a698d5bf86"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "4910a352ec40b9c60354e35ea9d8e907",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 14434905,
            "upload_time": "2024-03-25T15:25:42",
            "upload_time_iso_8601": "2024-03-25T15:25:42.905669Z",
            "url": "https://files.pythonhosted.org/packages/aa/d0/0514d02d2e84e7bb48a105877eae4065e54d7dabb60d0b60214fe2677346/onnx-1.16.0-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4287577adadda30ee08041e81ef02a331ca9d1a8df93a2e4c4c53ec56fbbc2ac",
                "md5": "6f0fb6968d80ac95c0fa15a6397b02c8",
                "sha256": "03a627488b1a9975d95d6a55582af3e14c7f3bb87444725b999935ddd271d352"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp312-cp312-macosx_10_15_universal2.whl",
            "has_sig": false,
            "md5_digest": "6f0fb6968d80ac95c0fa15a6397b02c8",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8",
            "size": 16516304,
            "upload_time": "2024-03-25T15:25:45",
            "upload_time_iso_8601": "2024-03-25T15:25:45.875898Z",
            "url": "https://files.pythonhosted.org/packages/42/87/577adadda30ee08041e81ef02a331ca9d1a8df93a2e4c4c53ec56fbbc2ac/onnx-1.16.0-cp312-cp312-macosx_10_15_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e31b6e1ea37e081cc49a28f0e4d3830b4c8525081354cf9f5529c6c92268fc77",
                "md5": "d1ae6e634d43dc8d9c56569f20179b08",
                "sha256": "c392faeabd9283ee344ccb4b067d1fea9dfc614fa1f0de7c47589efd79e15e78"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp312-cp312-macosx_10_15_x86_64.whl",
            "has_sig": false,
            "md5_digest": "d1ae6e634d43dc8d9c56569f20179b08",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8",
            "size": 15016538,
            "upload_time": "2024-03-25T15:25:49",
            "upload_time_iso_8601": "2024-03-25T15:25:49.396955Z",
            "url": "https://files.pythonhosted.org/packages/e3/1b/6e1ea37e081cc49a28f0e4d3830b4c8525081354cf9f5529c6c92268fc77/onnx-1.16.0-cp312-cp312-macosx_10_15_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6d07f8fefd5eb0984be42ef677f0b7db7527edc4529224a34a3c31f7b12ec80d",
                "md5": "bda6676501daf23e7c42592494fe525b",
                "sha256": "0efeb46985de08f0efe758cb54ad3457e821a05c2eaf5ba2ccb8cd1602c08084"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "bda6676501daf23e7c42592494fe525b",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8",
            "size": 15790415,
            "upload_time": "2024-03-25T15:25:51",
            "upload_time_iso_8601": "2024-03-25T15:25:51.929020Z",
            "url": "https://files.pythonhosted.org/packages/6d/07/f8fefd5eb0984be42ef677f0b7db7527edc4529224a34a3c31f7b12ec80d/onnx-1.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1171c219ce6d4b5205c77405af7f2de2511ad4eeffbfeb77a422151e893de0ea",
                "md5": "835c0aa8521a3381fd9cd228943089f3",
                "sha256": "ddf14a3d32234f23e44abb73a755cb96a423fac7f004e8f046f36b10214151ee"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "835c0aa8521a3381fd9cd228943089f3",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8",
            "size": 15922224,
            "upload_time": "2024-03-25T15:25:55",
            "upload_time_iso_8601": "2024-03-25T15:25:55.049051Z",
            "url": "https://files.pythonhosted.org/packages/11/71/c219ce6d4b5205c77405af7f2de2511ad4eeffbfeb77a422151e893de0ea/onnx-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8ea4554a6e5741b42406c5b1970d04685d7f2012019d4178408ed4b3ec953033",
                "md5": "b55f63bd13f20511db7eb8121f03eaa4",
                "sha256": "62a2e27ae8ba5fc9b4a2620301446a517b5ffaaf8566611de7a7c2160f5bcf4c"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp312-cp312-win32.whl",
            "has_sig": false,
            "md5_digest": "b55f63bd13f20511db7eb8121f03eaa4",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8",
            "size": 14336234,
            "upload_time": "2024-03-25T15:25:57",
            "upload_time_iso_8601": "2024-03-25T15:25:57.998578Z",
            "url": "https://files.pythonhosted.org/packages/8e/a4/554a6e5741b42406c5b1970d04685d7f2012019d4178408ed4b3ec953033/onnx-1.16.0-cp312-cp312-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e9a18aecec497010ad34e7656408df1868d94483c5c56bc991f4088c06150896",
                "md5": "42c1e589a8328fefe3f87c5701ad9520",
                "sha256": "3e0860fea94efde777e81a6f68f65761ed5e5f3adea2e050d7fbe373a9ae05b3"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "42c1e589a8328fefe3f87c5701ad9520",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8",
            "size": 14436591,
            "upload_time": "2024-03-25T15:26:01",
            "upload_time_iso_8601": "2024-03-25T15:26:01.252491Z",
            "url": "https://files.pythonhosted.org/packages/e9/a1/8aecec497010ad34e7656408df1868d94483c5c56bc991f4088c06150896/onnx-1.16.0-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4cb65c5030764c3e9448adeb2b0e2663a6f32da8104b76317340be1917590483",
                "md5": "7c055dae8a2882a25c03859d8732bebc",
                "sha256": "70a90649318f3470985439ea078277c9fb2a2e6e2fd7c8f3f2b279402ad6c7e6"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp38-cp38-macosx_10_15_universal2.whl",
            "has_sig": false,
            "md5_digest": "7c055dae8a2882a25c03859d8732bebc",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 16513962,
            "upload_time": "2024-03-25T15:26:03",
            "upload_time_iso_8601": "2024-03-25T15:26:03.960622Z",
            "url": "https://files.pythonhosted.org/packages/4c/b6/5c5030764c3e9448adeb2b0e2663a6f32da8104b76317340be1917590483/onnx-1.16.0-cp38-cp38-macosx_10_15_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e6e5b8ba1dc51103d76c3eef72012e292abf0ab54aed38dd58c95b134db5d936",
                "md5": "73b699685cc76b15474f5b0871e4799e",
                "sha256": "71839546b7f93be4fa807995b182ab4b4414c9dbf049fee11eaaced16fcf8df2"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp38-cp38-macosx_10_15_x86_64.whl",
            "has_sig": false,
            "md5_digest": "73b699685cc76b15474f5b0871e4799e",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 15012553,
            "upload_time": "2024-03-25T15:26:07",
            "upload_time_iso_8601": "2024-03-25T15:26:07.310196Z",
            "url": "https://files.pythonhosted.org/packages/e6/e5/b8ba1dc51103d76c3eef72012e292abf0ab54aed38dd58c95b134db5d936/onnx-1.16.0-cp38-cp38-macosx_10_15_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8962226c505def4516186c50337f7e5789854e666de25ba40e54acd9e6d1d15e",
                "md5": "5963499006abbaf934547861876a49ea",
                "sha256": "7665217c45a61eb44718c8e9349d2ad004efa0cb9fbc4be5c6d5e18b9fe12b52"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "5963499006abbaf934547861876a49ea",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 15791380,
            "upload_time": "2024-03-25T15:26:10",
            "upload_time_iso_8601": "2024-03-25T15:26:10.300957Z",
            "url": "https://files.pythonhosted.org/packages/89/62/226c505def4516186c50337f7e5789854e666de25ba40e54acd9e6d1d15e/onnx-1.16.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1b157e725d3b1f41257c5d07ec35e1ff1d6f964d511f1ce72f489f6f074c768",
                "md5": "85ece7ebd9ef06d40f1ab92a00b39b57",
                "sha256": "e5752bbbd5717304a7643643dba383a2fb31e8eb0682f4e7b7d141206328a73b"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "85ece7ebd9ef06d40f1ab92a00b39b57",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 15922442,
            "upload_time": "2024-03-25T15:26:13",
            "upload_time_iso_8601": "2024-03-25T15:26:13.753226Z",
            "url": "https://files.pythonhosted.org/packages/d1/b1/57e725d3b1f41257c5d07ec35e1ff1d6f964d511f1ce72f489f6f074c768/onnx-1.16.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f893558b91de5389c108c9d5609dfa10c3cff417cc23206c60532eb330be66e9",
                "md5": "b7f82f7e6a6d37d1cee6d9c3362c6504",
                "sha256": "257858cbcb2055284f09fa2ae2b1cfd64f5850367da388d6e7e7b05920a40c90"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp38-cp38-win32.whl",
            "has_sig": false,
            "md5_digest": "b7f82f7e6a6d37d1cee6d9c3362c6504",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 14335523,
            "upload_time": "2024-03-25T15:26:16",
            "upload_time_iso_8601": "2024-03-25T15:26:16.490254Z",
            "url": "https://files.pythonhosted.org/packages/f8/93/558b91de5389c108c9d5609dfa10c3cff417cc23206c60532eb330be66e9/onnx-1.16.0-cp38-cp38-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "547fc773d89a5df228973ed937502374c9db28eb7159b1f9116cc63960dd98a7",
                "md5": "aa0461b00473995163d7ba900d9bf5ff",
                "sha256": "209fe84995a28038e29ae8369edd35f33e0ef1ebc3bddbf6584629823469deb1"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "aa0461b00473995163d7ba900d9bf5ff",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 14434978,
            "upload_time": "2024-03-25T15:26:19",
            "upload_time_iso_8601": "2024-03-25T15:26:19.261473Z",
            "url": "https://files.pythonhosted.org/packages/54/7f/c773d89a5df228973ed937502374c9db28eb7159b1f9116cc63960dd98a7/onnx-1.16.0-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c46dd01b2f61135d41fbf99e0462296f7d247d2c7ade8e7de5deee44e55eada3",
                "md5": "8c55d1da76aadf4588a112e777a324d0",
                "sha256": "8cf3e518b1b1b960be542e7c62bed4e5219e04c85d540817b7027029537dec92"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp39-cp39-macosx_10_15_universal2.whl",
            "has_sig": false,
            "md5_digest": "8c55d1da76aadf4588a112e777a324d0",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 16514747,
            "upload_time": "2024-03-25T15:26:22",
            "upload_time_iso_8601": "2024-03-25T15:26:22.203850Z",
            "url": "https://files.pythonhosted.org/packages/c4/6d/d01b2f61135d41fbf99e0462296f7d247d2c7ade8e7de5deee44e55eada3/onnx-1.16.0-cp39-cp39-macosx_10_15_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bd5dd7861c32e9f0e2dca9942b8e03a03840818f12b7725e1fd1230025c21701",
                "md5": "5f8ee05131c78e0093ce184cf86f5be6",
                "sha256": "30f02beaf081c7d9fa3a8c566a912fc4408e28fc33b1452d58f890851691d364"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp39-cp39-macosx_10_15_x86_64.whl",
            "has_sig": false,
            "md5_digest": "5f8ee05131c78e0093ce184cf86f5be6",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 15013068,
            "upload_time": "2024-03-25T15:26:25",
            "upload_time_iso_8601": "2024-03-25T15:26:25.770731Z",
            "url": "https://files.pythonhosted.org/packages/bd/5d/d7861c32e9f0e2dca9942b8e03a03840818f12b7725e1fd1230025c21701/onnx-1.16.0-cp39-cp39-macosx_10_15_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a6b920014e3cd1ffcb445026df00fb6c333a396891a26ce9669c950d8e7cf14",
                "md5": "fe20f4455d782769fc404ed6bc8b3f45",
                "sha256": "7fb29a9a692b522deef1f6b8f2145da62c0c43ea1ed5b4c0f66f827fdc28847d"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "fe20f4455d782769fc404ed6bc8b3f45",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 15792145,
            "upload_time": "2024-03-25T15:26:29",
            "upload_time_iso_8601": "2024-03-25T15:26:29.033900Z",
            "url": "https://files.pythonhosted.org/packages/0a/6b/920014e3cd1ffcb445026df00fb6c333a396891a26ce9669c950d8e7cf14/onnx-1.16.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "81add661a1fb8e79b9a22435dcf50813efff5c27593319c6ac504b28a090c5a5",
                "md5": "e6c3eb929fa9f8aaf336d0d0effea6af",
                "sha256": "7755cbd5f4e47952e37276ea5978a46fc8346684392315902b5ed4a719d87d06"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e6c3eb929fa9f8aaf336d0d0effea6af",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 15922939,
            "upload_time": "2024-03-25T15:26:32",
            "upload_time_iso_8601": "2024-03-25T15:26:32.366583Z",
            "url": "https://files.pythonhosted.org/packages/81/ad/d661a1fb8e79b9a22435dcf50813efff5c27593319c6ac504b28a090c5a5/onnx-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c32bca8d5ad61036369d8f39062711bcb81642996ff50fe6470e41e9cc952f92",
                "md5": "a20257888588007ffa77e889cda3e010",
                "sha256": "7532343dc5b8b5e7c3e3efa441a3100552f7600155c4db9120acd7574f64ffbf"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp39-cp39-win32.whl",
            "has_sig": false,
            "md5_digest": "a20257888588007ffa77e889cda3e010",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 14335602,
            "upload_time": "2024-03-25T15:26:35",
            "upload_time_iso_8601": "2024-03-25T15:26:35.302186Z",
            "url": "https://files.pythonhosted.org/packages/c3/2b/ca8d5ad61036369d8f39062711bcb81642996ff50fe6470e41e9cc952f92/onnx-1.16.0-cp39-cp39-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0645ad7485c677edb810dbfc2a8ab58941bcdc9b22e0fe7ad88cf595c41e50c5",
                "md5": "2a9235456697db56c06d63277082c24d",
                "sha256": "d7886c05aa6d583ec42f6287678923c1e343afc4350e49d5b36a0023772ffa22"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "2a9235456697db56c06d63277082c24d",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 14431002,
            "upload_time": "2024-03-25T15:26:38",
            "upload_time_iso_8601": "2024-03-25T15:26:38.417547Z",
            "url": "https://files.pythonhosted.org/packages/06/45/ad7485c677edb810dbfc2a8ab58941bcdc9b22e0fe7ad88cf595c41e50c5/onnx-1.16.0-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b3fe0978403c8d710ece2f34006367e78de80410743fe0e7680c8f33f2dab20d",
                "md5": "01819ecdd031d1b0d7a11f6847b73641",
                "sha256": "237c6987c6c59d9f44b6136f5819af79574f8d96a760a1fa843bede11f3822f7"
            },
            "downloads": -1,
            "filename": "onnx-1.16.0.tar.gz",
            "has_sig": false,
            "md5_digest": "01819ecdd031d1b0d7a11f6847b73641",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 12303017,
            "upload_time": "2024-03-25T15:33:46",
            "upload_time_iso_8601": "2024-03-25T15:33:46.091801Z",
            "url": "https://files.pythonhosted.org/packages/b3/fe/0978403c8d710ece2f34006367e78de80410743fe0e7680c8f33f2dab20d/onnx-1.16.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-25 15:33:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "onnx",
    "github_project": "onnx",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "numpy",
            "specs": [
                [
                    ">=",
                    "1.20"
                ]
            ]
        },
        {
            "name": "protobuf",
            "specs": [
                [
                    ">=",
                    "3.20.2"
                ]
            ]
        }
    ],
    "lcname": "onnx"
}
        
Elapsed time: 0.22239s