Skip to content

Commit

Permalink
Add optional variants for tensor backends
Browse files Browse the repository at this point in the history
  • Loading branch information
jopetty committed May 17, 2024
1 parent dcd4ca6 commit 78d5077
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ dependencies = [

[project.optional-dependencies]
dev = ["pre-commit"]
torch = ["torch"]
jax = [
"flax",
"jax"
]
hf = [
"accelerate",
"datasets",
"evaluate",
"transformers",
"tokenizers",
]

[tool.ruff]
line-length = 88
Expand Down

0 comments on commit 78d5077

Please sign in to comment.