Skip to content

Commit

Permalink
Make the torch dep optional
Browse files Browse the repository at this point in the history
  • Loading branch information
etr2460 committed Apr 30, 2024
1 parent 778caa6 commit 4f392e3
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ dependencies = [
"statsmodels",
"termcolor",
"tiktoken",
"torch",
"tqdm",
"types-PyYAML",
"types-tqdm",
Expand All @@ -54,12 +53,9 @@ dependencies = [
repository = "https://github.com/openai/evals"

[project.optional-dependencies]
formatters = [
"black",
"isort",
"autoflake",
"ruff"
]
formatters = ["black", "isort", "autoflake", "ruff"]

torch = ["torch"]

[project.scripts]
oaieval = "evals.cli.oaieval:main"
Expand Down

0 comments on commit 4f392e3

Please sign in to comment.