Remove torch from main dependencies and uv workspace config

- Move torch to optional dependencies only (under rewardfns)
- Remove uv.workspace configuration
- Reduces install size and CI time significantly
This commit is contained in:
Dakota 2025-06-04 10:13:15 -05:00
parent 8833c6e04d
commit 371d86d9a4

View file

@ -26,7 +26,6 @@ dependencies = [
"jsonlines",
"pydantic-cli",
"hf_transfer",
"torch>=2.7.0",
]
[project.scripts]
@ -66,8 +65,3 @@ build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["atroposlib"]
[tool.uv.workspace]
members = [
"environments/hack0",
]