-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (82 loc) · 1.65 KB
/
pyproject.toml
File metadata and controls
91 lines (82 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[project]
name = "stable-worldmodel"
version = "0.0.5"
description = "World Model Research Made Simple"
readme="README.md"
license="MIT"
authors = [{name = "Lucas Maes"}, {name = "Quentin Le Lidec"}, {name = "Randall Balestriero"}]
maintainers = [{name = "Lucas Maes", email = "lucas_maes@brown.edu"}]
urls = {Homepage = "http://github.com/galilai-group/stable-worldmodel"}
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.10"
dependencies = [
"torch",
"torchvision",
"numpy",
"loguru",
"tabulate",
"gymnasium",
"einops",
"h5py",
"hdf5plugin",
"tqdm",
"gdown",
"typer",
"rich",
]
[project.scripts]
swm = "stable_worldmodel.cli:app"
[project.optional-dependencies]
train = [
"transformers>=4.50.0",
"stable-pretraining",
"hydra-core",
"hydra-submitit-launcher",
"wandb",
]
env = [
"pygame",
"pymunk",
"shapely",
"ogbench",
"minigrid",
"gymnasium[all]",
"opencv-python",
"stable_baselines3",
]
[dependency-groups]
dev = [
"ipdb",
"pytest",
"pytest-cov>=7.0.0",
"ruff",
"twine",
"mkdocs-shadcn",
"pymdown-extensions",
"pillow",
"decord",
"imageio[ffmpeg]",
"mkdocstrings[python]",
]
[build-system]
requires = ["uv_build>=0.9.21,<0.10.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-root = "."
source-exclude = [
"**/.mypy_cache/**",
"**/__pycache__/**",
"**/*.pyc",
]
[tool.ruff]
line-length = 79
indent-width = 4
[tool.ruff.format]
indent-style = "space"
quote-style = "single"
[tool.coverage.run]
omit = ["stable_worldmodel/envs/*"]