Skip to content

Commit

Permalink
Move tpu extras to the mandatory deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mfuntowicz committed Apr 3, 2024
1 parent bcf6080 commit b24897b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ keywords = [
"google-cloud"
]

dependencies = ["transformers == 4.38.1", ]
dependencies = ["transformers == 4.38.1", "torch-xla>=2.2.0", "torch>=2.2.0"]

[project.optional-dependencies]
tests = ["pytest", "safetensors"]
quality = ["black", "ruff", "isort",]
tpu = ["wheel", "torch-xla>=2.2.0", "torch>=2.2.0",]

[project.urls]
Homepage = "https://hf.co/hardware"
Expand Down

0 comments on commit b24897b

Please sign in to comment.