Skip to content

Commit

Permalink
bump transformers version (#3511)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg authored Aug 1, 2024
1 parent 8390286 commit 98a87f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ filterwarnings = [
'''ignore:.*an autograd kernel was not registered to the Autograd key.*:UserWarning''',
# Ignore save_state_dict / load_state_dict deprecation warnings
'''ignore:'.*_state_dict' is deprecated and will be removed in future versions.*:UserWarning''',
# Ignore mlflow warnings about transformers versions,
'''ignore:The 'transformers' MLflow Models integration.*:UserWarning''',
]

# Coverage
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def package_files(prefix: str, directory: str, extension: str):
]

extra_deps['nlp'] = [
'transformers>=4.11,!=4.34.0,<4.43',
'transformers>=4.11,!=4.34.0,<4.44',
'datasets>=2.4,<3',
'huggingface-hub>=0.21.2,<0.24',
]
Expand Down

0 comments on commit 98a87f3

Please sign in to comment.