Skip to content

Commit

Permalink
WIP quick ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
tengomucho committed Sep 11, 2024
1 parent b25e973 commit ccee2f1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test-pytorch-xla-tpu-tgi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: Optimum TPU / Test TGI on TPU

on:
push:
branches: [ main ]
paths:
- "text-generation-inference/**"
branches: [ quick-ci-test ]
pull_request:
branches: [ main ]
paths:
Expand All @@ -28,7 +26,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Build and test TGI server
- name: quick test
run: |
python -m pip install transformers
HF_TOKEN=${{ secrets.HF_TOKEN_OPTIMUM_TPU_CI }} python -c "from transformers import AutoConfig; AutoConfig.from_pretrained('google/gemma-2b')"
exit 123
- name: Build and test TGI server
run: |
HF_TOKEN=${{ secrets.HF_TOKEN_OPTIMUM_TPU_CI }} make tgi_test
Expand Down

0 comments on commit ccee2f1

Please sign in to comment.