-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: separate Jetstream Pytorch test to its own workflow
The main workflow was failing due to an OS error. I suspect that being related to a problem of space. Separating the workflow will make it easier to analyse this issue.
- Loading branch information
1 parent
d7b8978
commit 4b48358
Showing
3 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Optimum TPU / Test TGI on TPU / Jetstream Pytorch | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "text-generation-inference/**" | ||
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: optimum-tpu | ||
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 | ||
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 |
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
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