@@ -127,9 +127,9 @@ function install_torchaudio() {
127127 if [[ " $1 " == " cuda" ]]; then
128128 # TODO: This is better to be passed as a parameter from _linux-test workflow
129129 # so that it can be consistent with what is set in build
130- TORCH_CUDA_ARCH_LIST=" 8.0;8.6" pip_install --no-use-pep517 --user " git+https://github.com/pytorch/audio.git@${commit} "
130+ TORCH_CUDA_ARCH_LIST=" 8.0;8.6" pip_install --no-use-pep517 " git+https://github.com/pytorch/audio.git@${commit} "
131131 else
132- pip_install --no-use-pep517 --user " git+https://github.com/pytorch/audio.git@${commit} "
132+ pip_install --no-use-pep517 " git+https://github.com/pytorch/audio.git@${commit} "
133133 fi
134134
135135}
@@ -139,8 +139,8 @@ function install_torchtext() {
139139 local text_commit
140140 data_commit=$( get_pinned_commit data)
141141 text_commit=$( get_pinned_commit text)
142- pip_install --no-use-pep517 --user " git+https://github.com/pytorch/data.git@${data_commit} "
143- pip_install --no-use-pep517 --user " git+https://github.com/pytorch/text.git@${text_commit} "
142+ pip_install --no-use-pep517 " git+https://github.com/pytorch/data.git@${data_commit} "
143+ pip_install --no-use-pep517 " git+https://github.com/pytorch/text.git@${text_commit} "
144144}
145145
146146function install_torchvision() {
@@ -153,7 +153,7 @@ function install_torchvision() {
153153 echo ' char* dlerror(void) { return "";}' | gcc -fpic -shared -o " ${HOME} /dlerror.so" -x c -
154154 LD_PRELOAD=${orig_preload} :${HOME} /dlerror.so
155155 fi
156- pip_install --no-use-pep517 --user " git+https://github.com/pytorch/vision.git@${commit} "
156+ pip_install --no-use-pep517 " git+https://github.com/pytorch/vision.git@${commit} "
157157 if [ -n " ${LD_PRELOAD} " ]; then
158158 LD_PRELOAD=${orig_preload}
159159 fi
@@ -173,7 +173,7 @@ function install_torchrec_and_fbgemm() {
173173
174174 if [[ " $BUILD_ENVIRONMENT " == * rocm* ]] ; then
175175 # install torchrec first because it installs fbgemm nightly on top of rocm fbgemm
176- pip_install --no-use-pep517 --user " git+https://github.com/pytorch/torchrec.git@${torchrec_commit} "
176+ pip_install --no-use-pep517 " git+https://github.com/pytorch/torchrec.git@${torchrec_commit} "
177177 pip_uninstall fbgemm-gpu-nightly
178178
179179 pip_install tabulate # needed for newer fbgemm
@@ -190,8 +190,8 @@ function install_torchrec_and_fbgemm() {
190190 rm -rf fbgemm
191191 else
192192 # See https://github.com/pytorch/pytorch/issues/106971
193- CUDA_PATH=/usr/local/cuda-12.1 pip_install --no-use-pep517 --user " git+https://github.com/pytorch/FBGEMM.git@${fbgemm_commit} #egg=fbgemm-gpu&subdirectory=fbgemm_gpu"
194- pip_install --no-use-pep517 --user " git+https://github.com/pytorch/torchrec.git@${torchrec_commit} "
193+ CUDA_PATH=/usr/local/cuda-12.1 pip_install --no-use-pep517 " git+https://github.com/pytorch/FBGEMM.git@${fbgemm_commit} #egg=fbgemm-gpu&subdirectory=fbgemm_gpu"
194+ pip_install --no-use-pep517 " git+https://github.com/pytorch/torchrec.git@${torchrec_commit} "
195195 fi
196196}
197197
@@ -234,7 +234,7 @@ function checkout_install_torchbench() {
234234function install_torchao() {
235235 local commit
236236 commit=$( get_pinned_commit torchao)
237- pip_install --no-use-pep517 --user " git+https://github.com/pytorch/ao.git@${commit} "
237+ pip_install --no-use-pep517 " git+https://github.com/pytorch/ao.git@${commit} "
238238}
239239
240240function print_sccache_stats() {
0 commit comments