Skip to content

Commit 0d935b6

Browse files
shoumikhinfacebook-github-bot
authored andcommitted
Don't install torchao at the user level. (pytorch#6116)
Summary: Pull Request resolved: pytorch#6116 . Created from CodeHub with https://fburl.com/edit-in-codehub Reviewed By: lucylq Differential Revision: D64195573 fbshipit-source-id: bdeb299682871deccb0569a1fa0a159d04b86295
1 parent cedcf7e commit 0d935b6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/models/llama2/install_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pip install snakeviz sentencepiece
1111

1212
# Install torchao.
1313
TORCHAO_VERSION=$(cat "$(dirname "$0")"/../../../.ci/docker/ci_commit_pins/torchao.txt)
14-
pip install --no-use-pep517 --user "git+https://github.com/pytorch/ao.git@${TORCHAO_VERSION}"
14+
pip install --no-use-pep517 "git+https://github.com/pytorch/ao.git@${TORCHAO_VERSION}"
1515

1616
# Install lm-eval for Model Evaluation with lm-evalution-harness
1717
# Install tiktoken for tokenizer

examples/models/llama3_2_vision/install_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ pip install --pre torchtune --extra-index-url https://download.pytorch.org/whl/n
1010

1111
# Install torchao.
1212
TORCHAO_VERSION=$(cat "$(dirname "$0")"/../../../.ci/docker/ci_commit_pins/torchao.txt)
13-
pip install --no-use-pep517 --user "git+https://github.com/pytorch/ao.git@${TORCHAO_VERSION}"
13+
pip install --no-use-pep517 "git+https://github.com/pytorch/ao.git@${TORCHAO_VERSION}"

examples/models/phi-3-mini-lora/install_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ pip install tiktoken
1111

1212
# Install torchao.
1313
TORCHAO_VERSION=$(cat "$(dirname "$0")"/../../../.ci/docker/ci_commit_pins/torchao.txt)
14-
pip install --no-use-pep517 --user "git+https://github.com/pytorch/ao.git@${TORCHAO_VERSION}"
14+
pip install --no-use-pep517 "git+https://github.com/pytorch/ao.git@${TORCHAO_VERSION}"

0 commit comments

Comments
 (0)