Skip to content

Commit

Permalink
Add Accelerate for GHCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Dref360 committed Apr 4, 2024
1 parent d64e01e commit b608a08
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 3 deletions.
62 changes: 60 additions & 2 deletions poetry.lock

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

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ lightning-flash = { version = ">=0.7.5", optional=true }

# NLP
transformers = {version = ">=4.10.2", optional=true}
accelerate = {version = "^0.28.0", optional=true}
datasets = {version = ">=1.11.0", optional=true}

[tool.poetry.dev-dependencies]
Expand All @@ -57,7 +58,7 @@ mkdocs-exclude-search = "^0.6.4"

[tool.poetry.extras]
vision = ["torchvision", "lightning-flash"]
nlp = ["transformers", "datasets"]
nlp = ["transformers", "datasets", "accelerate"]

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit b608a08

Please sign in to comment.