Skip to content

Commit

Permalink
debug - with a container?
Browse files Browse the repository at this point in the history
  • Loading branch information
tengomucho committed Feb 27, 2024
1 parent 9b7ca11 commit 5b55da5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test_tpu_tgi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
do-the-job:
name: Run TGI tests
runs-on: [optimum-tpu] # run the configured Google TPU
container:
image: ubuntu:22.04
options: --shm-size "16gb" --net host --privileged
env:
PJRT_DEVICE: TPU
steps:
Expand All @@ -27,6 +30,7 @@ jobs:
- name: Create venv and install Pytorch/XLA
run: |
echo "PJRT_DEVICE set to $PJRT_DEVICE"
sudo apt install python3.10-venv -y
echo "Creating virtual environment..."
python3 -m venv venv-tpu-pytorch
source venv-tpu-pytorch/bin/activate
Expand Down

0 comments on commit 5b55da5

Please sign in to comment.