@@ -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,17 +153,12 @@ 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
160160}
161161
162- function install_tlparse() {
163- pip_install --user " tlparse==0.3.25"
164- PATH=" $( python -m site --user-base) /bin:$PATH "
165- }
166-
167162function install_torchrec_and_fbgemm() {
168163 local torchrec_commit
169164 torchrec_commit=$( get_pinned_commit torchrec)
@@ -224,7 +219,7 @@ function checkout_install_torchbench() {
224219function install_torchao() {
225220 local commit
226221 commit=$( get_pinned_commit torchao)
227- pip_install --no-use-pep517 --user " git+https://github.com/pytorch/ao.git@${commit} "
222+ pip_install --no-use-pep517 " git+https://github.com/pytorch/ao.git@${commit} "
228223}
229224
230225function print_sccache_stats() {
0 commit comments