mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
Remove dependency on torch for default installation
This commit is contained in:
parent
706097db21
commit
727c7ba640
5 changed files with 57 additions and 47 deletions
|
|
@ -24,7 +24,6 @@ dependencies = [
|
|||
"polars",
|
||||
"aiofiles",
|
||||
"jsonlines",
|
||||
"torch",
|
||||
"pydantic-cli",
|
||||
"hf_transfer",
|
||||
]
|
||||
|
|
@ -41,6 +40,9 @@ atropos-dpo-gen = "atroposlib.cli.dpo:main"
|
|||
all = [
|
||||
"atroposlib[dev,examples]"
|
||||
]
|
||||
rewardfns = [
|
||||
"torch"
|
||||
]
|
||||
dev = [
|
||||
"pytest",
|
||||
"pytest-asyncio",
|
||||
|
|
@ -49,10 +51,11 @@ dev = [
|
|||
"flake8",
|
||||
"isort",
|
||||
"mypy",
|
||||
'rich',
|
||||
"rich",
|
||||
]
|
||||
examples = [
|
||||
"gradio"
|
||||
"gradio",
|
||||
"atroposlib[rewardfns]"
|
||||
]
|
||||
|
||||
[build-system]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue