Automatic update of fbcode/onnx to 96c58ceeacf0f2b73d752e413e4fd78787a12da3 (#17676)
authorLu Fang <lufang@fb.com>
Thu, 7 Mar 2019 19:03:57 +0000 (11:03 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 7 Mar 2019 19:10:31 +0000 (11:10 -0800)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17676

Previous import was e18bb41d255a23daf368ffd62a2645db55db4c72

Included changes:
- **[96c58ce](https://github.com/onnx/onnx/commit/96c58ce)**: Fix shape inference when auto_pad is notset again (#1830) <Li-Wen Chang>
- **[873ddbb](https://github.com/onnx/onnx/commit/873ddbb)**: More extendable Runner (#1809) <Michał Karzyński>

Reviewed By: zrphercule

Differential Revision: D14321241

fbshipit-source-id: 12de9021afc61f5435f1b719cccf7b0f4ad73a84

third_party/onnx
tools/build_pytorch_libs.py

index e18bb41..96c58ce 160000 (submodule)
@@ -1 +1 @@
-Subproject commit e18bb41d255a23daf368ffd62a2645db55db4c72
+Subproject commit 96c58ceeacf0f2b73d752e413e4fd78787a12da3
index 770795e..c1f08f1 100644 (file)
@@ -211,7 +211,11 @@ def run_cmake(version,
                       CMAKE_C_COMPILER="{}/gcc".format(expected_wrapper),
                       CMAKE_CXX_COMPILER="{}/g++".format(expected_wrapper))
     pprint(cmake_args)
-    pprint(my_env)
+    for env_var_name in my_env:
+        if env_var_name.startswith('gh'):
+            # github env vars use utf-8, on windows, non-ascii code may
+            # cause problem, so encode first
+            my_env[env_var_name] = str(my_env[env_var_name].encode("utf-8"))
     check_call(cmake_args, cwd=build_dir, env=my_env)