* Accomodate missing optional 'axes' when 'steps' is present in Slice op (#946) * Accomodate missing optional axes when steps is present in Slice implementation * PR feedback * Update package links (#937) * Update package links * Minor fix * Update README.md * Minor edit * Update onnx commit (#949) * Update onnx commit * disable failing tests which don't have to be fixed for this release * dummy change to fix file permission * fix file permission
1.7 KiB
This is a note only for ONNX Runtime developers.
It's very often, you need to update the ONNX submodule to a newer version in the upstream. Please follow the steps below, don't miss any!
- Update the ONNX subfolder
cd cmake/external/onnx
git remote update
git reset --hard <commit_id>
cd ..
git add onnx
(Change the <commit_id> to yours. If you are not sure, use 'origin/master'. Like 'git reset --hard origin/master')
-
Update cgmanifest.json
Search 'https://github.com/onnx/onnx.git', update the commitHash with it. -
Update tools/ci_build/github/linux/docker/scripts/install_deps.sh and tools/ci_build/github/linux/docker/scripts/install_deps_x86.sh Search 'for onnx_version in', update the commit hashes. The list should contain every release version from ONNX 1.2, and the latest one in our cmake/external/onnx folder.
-
Update onnxruntime/core/protobuf
If there is any change oncmake/external/onnx/onnx/*.in.protosince the last sync, please apply these changes toonnxruntime/core/protobuf/*.in.proto
Then copy cmake/external/onnx/onnx/gen_proto.py to onnxruntime/core/protobuf, use that script generating the new *.proto and *.proto3 files.
Regenerate csharp/test/Microsoft.ML.OnnxRuntime.Tests/OnnxMl.cs
-
Send you PR, and run the CI builds.
-
If there is any unitest failure, caught by onnx_test_runner. Please also update