Skip to content

Commit

Permalink
Pyproject dependency cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jakep-allenai committed Sep 20, 2024
1 parent 962fb7e commit dc86a99
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ authors = [
requires-python = ">=3.8"
dependencies = [
"cached-path",
"smart_open",
"pypdf",
"pymupdf",
"pypdfium2",
Expand Down Expand Up @@ -52,13 +53,19 @@ dev = [
"sphinx-copybutton==0.5.2",
"sphinx-autobuild==2021.3.14",
"sphinx-autodoc-typehints==1.23.3",
"packaging"
"packaging",
"necessary",
]

[project.optional-dependencies]
train = [
"torch",
"torchvision",
"accelerate",
"datasets",
"peft",
"wandb",
"omegaconf",
"s3fs",
"transformers @ git+https://github.com/huggingface/transformers.git@f9b44097261270377199bb0fcbceb01fd9f7d0c0"
]

Expand Down

0 comments on commit dc86a99

Please sign in to comment.