mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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
This commit is contained in:
committed by
Facebook Github Bot
parent
ffee507d36
commit
369064fa0d
@ -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"
|
||||
|
Reference in New Issue
Block a user