Skip to content

Commit

Permalink
Update ONNX submodule to ONNX 1.7 release candidate 2. (microsoft#3818)
Browse files Browse the repository at this point in the history
* Update ONNX submodule to ONNX 1.7 release candidate 2.

* fix build error.

* Update ONNX submodule to latest and disable preview op tests.
  • Loading branch information
codemzs authored May 5, 2020
1 parent 5db30a4 commit ef4d73e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"component": {
"type": "git",
"git": {
"commitHash": "0b5adab18b81aceb773731353db85ee118c0322a",
"commitHash": "673aef09ba6cb56e7c34f807255f8372f253c0ed",
"repositoryUrl": "https://github.com/onnx/onnx.git"
}
}
Expand Down
4 changes: 2 additions & 2 deletions onnxruntime/core/session/environment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include "core/graph/constants.h"
#include "core/graph/op.h"
#include "onnx/defs/operator_sets.h"
#include "onnx/defs/operator_sets-ml.h"
#include "onnx/defs/operator_sets-training.h"
#include "onnx/defs/operator_sets_ml.h"
#include "onnx/defs/operator_sets_training.h"
#ifndef DISABLE_CONTRIB_OPS
#include "core/graph/contrib_ops/contrib_defs.h"
#endif
Expand Down
9 changes: 9 additions & 0 deletions onnxruntime/test/onnx/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,15 @@ int real_main(int argc, char* argv[], Ort::Env& env) {
{"training_dropout_default", "result differs", {}}, // Temporary, subsequent PR will remove this.
{"training_dropout_default_mask", "result differs", {}}, // Temporary, subsequent PR will remove this.
{"training_dropout_mask", "result differs", {}}, // Temporary, subsequent PR will remove this.
{"adagrad", "not a registered function/op", {}}, // Op not registered.
{"adagrad_multiple", "not a registered function/op", {}}, // Op not registered.
{"adam", "not a registered function/op", {}}, // Op not registered.
{"adam_multiple", "not a registered function/op", {}}, // Op not registered.
{"gradient_of_add", "not a registered function/op", {}}, // Op not registered.
{"gradient_of_add_and_mul", "not a registered function/op", {}}, // Op not registered.
{"momentum", "not a registered function/op", {}}, // Op not registered.
{"momentum_multiple", "not a registered function/op", {}}, // Op not registered.
{"nesterov_momentum", "not a registered function/op", {}}, // Op not registered.
};

if (enable_ngraph) {
Expand Down
2 changes: 1 addition & 1 deletion tools/ci_build/github/linux/docker/scripts/install_onnx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ version2tag=(5af210ca8a1c73aa6bae8754c9346ec54d0a756e-onnx123
9e55ace55aad1ada27516038dfbdc66a8a0763db-onnx141
7d7bc83d29a328233d3e8affa4c4ea8b3e3599ef-onnx150
1facb4c1bb9cc2107d4dbaf9fd647fefdbbeb0ab-onnx161
0b5adab18b81aceb773731353db85ee118c0322a-onnxtip) #1.7.0
673aef09ba6cb56e7c34f807255f8372f253c0ed-onnxtip) #1.7.0
for v2t in ${version2tag[*]}; do
onnx_version="$(cut -d'-' -f1<<<${v2t})"
onnx_tag="$(cut -d'-' -f2<<<${v2t})"
Expand Down

0 comments on commit ef4d73e

Please sign in to comment.