Skip to content

Commit

Permalink
Don't install torchao at the user level. (#6119)
Browse files Browse the repository at this point in the history
Don't install torchao at the user level. (#6116)

Summary:
Pull Request resolved: #6116

.

Created from CodeHub with https://fburl.com/edit-in-codehub

Reviewed By: lucylq

Differential Revision: D64195573

fbshipit-source-id: bdeb299682871deccb0569a1fa0a159d04b86295
(cherry picked from commit 0d935b6)

Co-authored-by: Anthony Shoumikhin <[email protected]>
  • Loading branch information
pytorchbot and shoumikhin authored Oct 11, 2024
1 parent 485a486 commit 539152b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/models/flamingo/install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ pip install --pre torchtune --extra-index-url https://download.pytorch.org/whl/n

# Install torchao.
TORCHAO_VERSION=$(cat "$(dirname "$0")"/../../../.ci/docker/ci_commit_pins/torchao.txt)
pip install --no-use-pep517 --user "git+https://github.com/pytorch/ao.git@${TORCHAO_VERSION}"
pip install --no-use-pep517 "git+https://github.com/pytorch/ao.git@${TORCHAO_VERSION}"
2 changes: 1 addition & 1 deletion examples/models/llama2/install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pip install snakeviz sentencepiece

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

# Install lm-eval for Model Evaluation with lm-evalution-harness
# Install tiktoken for tokenizer
Expand Down
2 changes: 1 addition & 1 deletion examples/models/phi-3-mini-lora/install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ pip install tiktoken

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

0 comments on commit 539152b

Please sign in to comment.