Skip to content

rui-ren/build-onnx-ort-torch-from-source

Repository files navigation

Build-onnx-ort-torch-from-source

build onnx onnxruntime and pytorch from source

  1. Setup the onnx, ort and torch version
export onnx_version==1.12.0
export ort_version=1.13.1
export torch_version=1.12.1

You can also update the protobuf version inside the build_onnx_from_source.sh file

  1. Update the base image

FROM *** in the Dockerfile

Use the base image for your local build, e.g. ACPT (Azure Container for Pytorch) image

image

  1. Build the image docker build . -t debug_image --no-cache

About

build onnx onnxruntime and pytorch from souce

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published