From 8e0b2b3c751ed47e424b2a3255f251ea85e761b9 Mon Sep 17 00:00:00 2001 From: Pauline Bailly-Masson <155966238+paulinebm@users.noreply.github.com> Date: Mon, 15 Apr 2024 15:37:30 +0200 Subject: [PATCH] Update test-pytorch-xla-tpu-tgi.yml --- .github/workflows/test-pytorch-xla-tpu-tgi.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-pytorch-xla-tpu-tgi.yml b/.github/workflows/test-pytorch-xla-tpu-tgi.yml index 53da56b3..f8556d47 100644 --- a/.github/workflows/test-pytorch-xla-tpu-tgi.yml +++ b/.github/workflows/test-pytorch-xla-tpu-tgi.yml @@ -27,7 +27,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - + - name: Install dependencies + run: pip install torch~=2.2.0 torch_xla[tpu]~=2.2.0 -f https://storage.googleapis.com/libtpu-releases/index.html - name: Checking Pytorch/XLA installation run: python -c "import torch_xla.core.xla_model as xm; assert xm.xla_device().type == 'xla', 'XLA device not available'"