Skip to content

Commit

Permalink
Downgrading transformers to resolve dependencies conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Filienko committed Aug 30, 2024
1 parent a1efa6b commit 01fb567
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ tqdm==4.66.5
# via
# huggingface-hub
# transformers
transformers==4.44.1
# Pinned because of compatability issues, https://github.com/huggingface/transformers/issues/30965
transformers==4.37.0
# via ml_services (setup.cfg)
triton==3.0.0
# via torch
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ tqdm==4.66.5
# via
# huggingface-hub
# transformers
transformers==4.44.1
# Pinned because of compatability issues, https://github.com/huggingface/transformers/issues/30965
transformers==4.37.0
# via ml_services (setup.cfg)
triton==3.0.0
# via torch
Expand Down
5 changes: 4 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ url = https://github.com/uwcirg/isacc-ml
[options]
packages = ml_services
python_requires = >=3.9

# Pinned transformers because of compatability issues
# https://github.com/huggingface/transformers/issues/30965
install_requires =
transformers==4.37.0
flask
gunicorn
requests-cache
numpy
pandas
scipy
torch
transformers

[options.extras_require]
dev =
Expand Down

0 comments on commit 01fb567

Please sign in to comment.