Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Optimum TPU / Test TGI on TPU / Jetstream Pytorch | |
on: | |
push: | |
branches: [ main, ci-ephemeral-tpu ] | |
pull_request: | |
branches: [ main ] | |
paths: | |
- "text-generation-inference/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
do-the-job: | |
name: Run TGI tests - Jetstream Pytorch | |
runs-on: gcp-ct5lp-hightpu-1t-usc1-public-211 | |
container: | |
image: us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/xla:r2.4.0_3.10_tpuvm | |
options: --shm-size "16gb" --ipc host --privileged ${{ vars.SINGLE_TPU_ENV }} | |
env: | |
PJRT_DEVICE: TPU | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build and test TGI server | |
run: | | |
HF_TOKEN=${{ secrets.HF_TOKEN_OPTIMUM_TPU_CI }} make tgi_test_jetstream |