From 369064fa0dca656d07ab0eca1e6e5a09e69706f8 Mon Sep 17 00:00:00 2001 From: Rohan Varma Date: Thu, 12 Sep 2019 15:32:40 -0700 Subject: [PATCH] remove "build_deps" arg from setup.py command in (#26113) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/26113 After https://github.com/pytorch/pytorch/pull/16914, passing in an argument such as "build_deps" (i.e. python setup.py build_deps develop) is invalid since it gets picked up as an invalid argument. ghstack-source-id: 90003508 Test Plan: Before, this script would execute "python setup.py build_deps develop", which errored. Now it executes "python setup.py develop" without an error. Verified by successfully running the script on devgpu. In setup.py, there is already a `RUN_BUILD_DEPS = True` flag. Differential Revision: D17350359 fbshipit-source-id: 91278c3e9d9f7c7ed8dea62380f18ba5887ab081 --- scripts/fbcode-dev-setup/onnx_c2_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fbcode-dev-setup/onnx_c2_setup.sh b/scripts/fbcode-dev-setup/onnx_c2_setup.sh index e5c05dcc74bd..f89adec8d004 100755 --- a/scripts/fbcode-dev-setup/onnx_c2_setup.sh +++ b/scripts/fbcode-dev-setup/onnx_c2_setup.sh @@ -140,7 +140,7 @@ with_proxy python setup.py develop # Build PyTorch and Caffe2 cd "$onnx_root/pytorch" with_proxy pip install -r "requirements.txt" -with_proxy python setup.py build_deps develop +with_proxy python setup.py develop # Sanity checks and useful info cd "$onnx_root"