Skip to content

Commit

Permalink
remove upper transformers version limit
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Oct 10, 2024
1 parent 2c0476e commit 5ab32de
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions 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.29,<4.46.0",
"transformers[sentencepiece]>=4.29",
"torch>=1.11",
"packaging",
"numpy",
Expand Down Expand Up @@ -54,6 +54,7 @@
"datasets>=1.2.1",
"evaluate",
"protobuf>=3.20.1",
"transformers<4.46.0",
],
"onnxruntime-gpu": [
"onnx",
Expand All @@ -62,9 +63,10 @@
"evaluate",
"protobuf>=3.20.1",
"accelerate", # ORTTrainer requires it.
"transformers<4.46.0",
],
"exporters": ["onnx", "onnxruntime", "timm"],
"exporters-gpu": ["onnx", "onnxruntime-gpu", "timm"],
"exporters": ["onnx", "onnxruntime", "timm", "transformers<4.46.0"],
"exporters-gpu": ["onnx", "onnxruntime-gpu", "timm", "transformers<4.46.0"],
"exporters-tf": [
"tensorflow>=2.4,<=2.12.1",
"tf2onnx",
Expand Down

0 comments on commit 5ab32de

Please sign in to comment.