Skip to content

Utils for building and publishing ONNX wheels

Notifications You must be signed in to change notification settings

kevinch-nv/wheel-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building and uploading ONNX wheels

This Git Repository enables automation of wheel building and deploying of ONNX packages.

Using the repository

To test building wheels:

  • Fork the project into own repo
  • Set the build commit head of ONNX in appveyor.yml and .travis.yml

To test building and publishing to TestPyPi (Credential needed)

  • Fork the project into own repo
  • Set the build commit head of ONNX in appveyor.yml and .travis.yml
  • If applicable, set the testing branch name in in appveyor.yml and .travis.yml

To test building and publishing to PyPi (Credential and Release Permission needed)

  • Set the build commit head of ONNX in appveyor.yml and .travis.yml
  • Run test
  • Release with tag in WheelBuilder repo

How it works

The wheel-builder repository:

  • build required protobuf libraries and C++ libraries in package;
  • builds a ONNX wheel, linking against the builds;
  • test installation and functionality of the produced wheels
  • deploy the wheel towards PyPI

The resulting wheels are therefore self-contained and do not need any external dynamic libraries apart from those provided as standard by OSX / Linux as defined by the manylinux1 standard.

The appveyor.yml and .travis.yml in this repository have credentials of packages index repos. You may customize or update according to Travis/Appveyor Documentation at:

Built With

multibuild (master branch)

Developing

For developing purpose, linux/osx build configurations are defined in config.sh

About

Utils for building and publishing ONNX wheels

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%