From: Lu Fang Date: Thu, 7 Mar 2019 19:03:57 +0000 (-0800) Subject: Automatic update of fbcode/onnx to 96c58ceeacf0f2b73d752e413e4fd78787a12da3 (#17676) X-Git-Tag: accepted/tizen/6.5/unified/20211028.231830~942 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4480aa31c2b46d8c5f6e80eb44ded8bfa71205c9;p=platform%2Fupstream%2Fpytorch.git update of fbcode/onnx to 96c58ceeacf0f2b73d752e413e4fd78787a12da3 (#17676) 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) - **[873ddbb](https://github.com/onnx/onnx/commit/873ddbb)**: More extendable Runner (#1809) Reviewed By: zrphercule Differential Revision: D14321241 fbshipit-source-id: 12de9021afc61f5435f1b719cccf7b0f4ad73a84 --- diff --git a/third_party/onnx b/third_party/onnx index e18bb41..96c58ce 160000 --- a/third_party/onnx +++ b/third_party/onnx @@ -1 +1 @@ -Subproject commit e18bb41d255a23daf368ffd62a2645db55db4c72 +Subproject commit 96c58ceeacf0f2b73d752e413e4fd78787a12da3 diff --git a/tools/build_pytorch_libs.py b/tools/build_pytorch_libs.py index 770795e..c1f08f1 100644 --- a/tools/build_pytorch_libs.py +++ b/tools/build_pytorch_libs.py @@ -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)