Skip to content

Commit

Permalink
update ptxla test to use rc8 tag build (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
zpcore authored Jan 17, 2024
1 parent a71dae7 commit 93e19e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/pytorch/r2.2/common.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ local volumes = import 'templates/volumes.libsonnet';
tpuSettings+: {
softwareVersion: 'pytorch-2.2',
},
imageTag: 'r2.2.0-rc6_3.10',
imageTag: 'r2.2.0-rc8_3.10',
},
PyTorchTest:: common.PyTorchTest + r2_2 {
local config = self,
Expand Down Expand Up @@ -97,7 +97,7 @@ local volumes = import 'templates/volumes.libsonnet';
# for huggingface tests
sudo apt install -y libsndfile-dev
pip3 install torch==2.2.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cpu
pip install https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.2.0rc6-cp310-cp310-manylinux_2_28_x86_64.whl
pip install https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.2.0rc8-cp310-cp310-manylinux_2_28_x86_64.whl
pip install torch_xla[tpu] -f https://storage.googleapis.com/libtpu-releases/index.html
pip3 install pillow
git clone --depth=1 -b release/2.2 https://github.com/pytorch/pytorch.git
Expand Down
2 changes: 1 addition & 1 deletion tests/pytorch/r2.2/sd-model.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ local utils = import 'templates/utils.libsonnet';
pip uninstall -y torch torchvision
pip3 install --user --pre torch torchvision --index-url https://download.pytorch.org/whl/test/cpu
pip install --user \
'torch_xla[tpuvm] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.2.0rc6-cp310-cp310-manylinux_2_28_x86_64.whl'
'torch_xla[tpuvm] @ https://storage.googleapis.com/pytorch-xla-releases/wheels/tpuvm/torch_xla-2.2.0rc8-cp310-cp310-manylinux_2_28_x86_64.whl'
# Setup data
wget -nv https://s3.amazonaws.com/fast-ai-imageclas/imagenette2.tgz
Expand Down

0 comments on commit 93e19e8

Please sign in to comment.