Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ci/docker/ci_commit_pins/torchao.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0916b5b29b092afcbf2b898caae49abe80662bac
4 changes: 4 additions & 0 deletions examples/models/flamingo/install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@

# Install torchtune nightly for model definitions.
pip install --pre torchtune --extra-index-url https://download.pytorch.org/whl/nightly/cpu --no-cache-dir

# 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}"
5 changes: 4 additions & 1 deletion examples/models/llama2/install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
# Install snakeviz for cProfile flamegraph
# Install sentencepiece for llama tokenizer
pip install snakeviz sentencepiece
pip install torchao==0.1

# 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}"

# Install lm-eval for Model Evaluation with lm-evalution-harness
# Install tiktoken for tokenizer
Expand Down
4 changes: 4 additions & 0 deletions examples/models/phi-3-mini-lora/install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
pip install torchvision
pip install torchtune
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}"
Loading