Skip to content

Commit

Permalink
ci(torch xla): use JETSTREAM_PT_DISABLE env var in command line
Browse files Browse the repository at this point in the history
For some reason the env var was not carried on (though Jetstream was
disabled anyway). Moving the variable to the command line invocation
will remove a warning in the logs.
  • Loading branch information
tengomucho committed Nov 25, 2024
1 parent 5a8aa37 commit 4c5e727
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test-pytorch-xla-tpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ jobs:
env:
PJRT_DEVICE: TPU
HF_HUB_CACHE: /mnt/hf_cache/cache_huggingface
JETSTREAM_PT_DISABLE: 1 # Disable Jetstream Pytorch tests
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build and test optimum tpu
run: |
HF_TOKEN=${{ secrets.HF_TOKEN_OPTIMUM_TPU_CI }} make tests
JETSTREAM_PT_DISABLE=1 HF_TOKEN=${{ secrets.HF_TOKEN_OPTIMUM_TPU_CI }} make tests

0 comments on commit 4c5e727

Please sign in to comment.