Skip to content

Commit

Permalink
bump min transformers version
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Jul 25, 2024
1 parent 2997f94 commit bc5d442
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_export_onnx_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
python-version: [3.8, 3.9]
os: [ubuntu-20.04]
transformers-version: ["4.26.0", "4.42.*"]
transformers-version: ["4.33.0", "4.42.*"]

runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
REQUIRED_PKGS = [
"coloredlogs",
"sympy",
"transformers[sentencepiece]>=4.26.0,<4.43.0",
"transformers[sentencepiece]>=4.33.0,<4.43.0",
"torch>=1.11",
"packaging",
"numpy<2.0", # transformers requires numpy<2.0 https://github.com/huggingface/transformers/pull/31569
Expand Down

0 comments on commit bc5d442

Please sign in to comment.