Skip to content

Commit

Permalink
tmp install transformers from source for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Oct 3, 2023
1 parent 5606db5 commit 22d2f03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_export_onnx_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies for pytorch export
run: |
pip install git+https://github.com/huggingface/transformers
pip install .[tests,exporters]
- name: Test with unittest
working-directory: tests
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_onnxruntime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install git+https://github.com/huggingface/transformers
pip install .[tests,onnxruntime]
- name: Test with pytest
working-directory: tests
Expand Down

0 comments on commit 22d2f03

Please sign in to comment.