Updated PyTorch ONNX exporter (markdown)

Justin Chu
2024-11-22 08:35:32 -08:00
parent 5d97815d67
commit bd46e3d780

@ -106,11 +106,7 @@ NOTE: [GitLens](https://gitlens.amod.io/)'s interactive rebase feature comes in
#### ONNX and ONNX Runtime
```sh
# install a version of protobuf compatible with ONNX submodule
conda install -c conda-forge \
protobuf=$(cat third_party/onnx/requirements-release.txt | grep protobuf | awk '{print $3}') \
python-flatbuffers
pip install onnxruntime onnx==$(cat third_party/onnx/VERSION_NUMBER)
pip install onnxruntime onnx
```
> ONNX and ONNX Runtime are also available from conda-forge, but they depend on a version of protobuf that's newer than