Skip to content

Commit

Permalink
subtle
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Jan 9, 2025
1 parent 2e0cd2e commit 786d72d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test_onnxruntime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,11 @@ jobs:
pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install .[tests,onnxruntime,diffusers]
- name: Remove Diffusers if transformers 4.36
if: matrix.transformers-version == '4.36.*'
run: pip uninstall -y diffusers

- name: Install transformers ${{ matrix.transformers-version }}
if: ${{ matrix.transformers-version != 'latest' }}
run: pip install transformers==${{ matrix.transformers-version }}
run: |
pip install transformers==${{ matrix.transformers-version }}
pip uninstall -y diffusers
- name: Test with pytest (in series)
run: |
Expand Down

0 comments on commit 786d72d

Please sign in to comment.