Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
tengomucho committed Feb 27, 2024
1 parent 59060f6 commit b64101b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test_tpu_tgi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
do-the-job:
name: Run TGI tests
runs-on: [optimum-tpu] # run the configured Google TPU
env:
PJRT_DEVICE: TPU
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -28,6 +30,7 @@ jobs:
source optimum-tpu-pytorch/bin/activate
python -m pip install -U pip
python -m pip install "torch~=2.2.0" "torch_xla[tpu]~=2.2.0" -f https://storage.googleapis.com/libtpu-releases/index.html
python -c "import torch_xla.core.xla_model as xm; assert xm.xla_device().type == 'xla', 'XLA device not available'"
- name: Run TGI server python tests
run: |
source optimum-tpu-pytorch/bin/activate
Expand Down

0 comments on commit b64101b

Please sign in to comment.