Skip to content

Commit

Permalink
set minimum transformers version again to >=4.18; improve dep order (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBinder authored Sep 5, 2023
1 parent 83b71ec commit b679615
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@ python = "^3.9"
pytorch-lightning = "^2"
torchmetrics = "^1"
datasets = "^2.13"
transformers = "^4.18"
# we pin 2.0.0 because of https://github.com/pytorch/pytorch/issues/100974
torch = ">=2.0.0, !=2.0.1"
# pin to version below 2023.9.0 because that causes problems when using load_dataset with local files (e.g. json)
fsspec = "<2023.9.0"
transformers = "^4"
# remove, for now
#huggingface-hub = "^0.5.1"
# required for testing, but, strangely, tests fail, if just in dev-dependencies
absl-py = "^1.0.0"
# we pin 2.0.0 because of https://github.com/pytorch/pytorch/issues/100974
torch = ">=2.0.0, !=2.0.1"

[tool.poetry.dev-dependencies]
Pygments = ">=2.10.0"
Expand Down

0 comments on commit b679615

Please sign in to comment.