diff options
author | bddppq <bai@in.tum.de> | 2018-10-30 23:06:57 -0700 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2018-10-30 23:09:00 -0700 |
commit | dc854c0ee6e6223361c4fbcd9c0bf2b790ff76c1 (patch) | |
tree | 3643703aee62b4e6c6c154dc7f663db6ba3dca57 /.jenkins | |
parent | 44d2ca660ac6a050f047683f7483383194bdb4c6 (diff) | |
download | pytorch-dc854c0ee6e6223361c4fbcd9c0bf2b790ff76c1.tar.gz pytorch-dc854c0ee6e6223361c4fbcd9c0bf2b790ff76c1.tar.bz2 pytorch-dc854c0ee6e6223361c4fbcd9c0bf2b790ff76c1.zip |
Add --user to pip install in pytorch test scripts (#13366)
Summary:
caffe2 docker images uses native system python, which requires sudo to do pip install.
In pytorch rocm Ci we use caffe2 docker image
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13366
Differential Revision: D12855748
Pulled By: bddppq
fbshipit-source-id: 3e53fa203fa6bb3c43d4065c38c2b61e47f45f1e
Diffstat (limited to '.jenkins')
-rwxr-xr-x | .jenkins/pytorch/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.jenkins/pytorch/test.sh b/.jenkins/pytorch/test.sh index b13c206fa0..3f04473b80 100755 --- a/.jenkins/pytorch/test.sh +++ b/.jenkins/pytorch/test.sh @@ -26,10 +26,10 @@ if [ -n "${IN_CIRCLECI}" ]; then fi # JIT C++ extensions require ninja. -pip install ninja +pip install -q ninja --user # TODO: move this to Docker -pip install -q hypothesis +pip install -q hypothesis --user # DANGER WILL ROBINSON. The LD_PRELOAD here could cause you problems # if you're not careful. Check this if you made some changes and the |