-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (67 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (67 loc) · 2.05 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gamengen"
version = "0.2.0"
description = "Research implementation of an action-conditioned neural game engine"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "GameNGen Implementation" }]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"accelerate>=1.14.0",
"diffusers>=0.39.0",
"gymnasium>=1.3.0",
"imageio>=2.37.3",
"imageio-ffmpeg>=0.6.0",
"numpy>=2.2.6",
"omegaconf>=2.3.1",
"opencv-python>=5.0.0.93",
"pillow>=12.3.0",
"pyyaml>=6.0.3",
"scikit-image>=0.25.2",
"stable-baselines3>=2.9.0",
"tensorboard>=2.21.0",
"torch>=2.13.0",
"torchvision>=0.28.0",
"tqdm>=4.68.4",
"transformers>=5.13.1",
]
[project.optional-dependencies]
doom = ["vizdoom>=1.3.0"]
dino = ["selenium>=4.46.0"]
metrics = ["lpips>=0.1.4", "scipy>=1.15.3"]
tracking = ["wandb>=0.28.0"]
dev = ["build>=1.5.1", "pytest>=9.1.1", "pytest-cov>=7.1.0", "ruff>=0.15.21"]
[project.scripts]
gamengen-train = "src.diffusion.train:main"
gamengen-dino = "src.agent.train_dqn:main"
gamengen-doom = "src.agent.train_ppo_doom:main"
gamengen-cache-latents = "src.diffusion.latent_cache:main"
gamengen-create-eval-manifest = "src.utils.evaluation_manifest:main"
gamengen-plan-ablations = "src.utils.experiment_plan:main"
[tool.setuptools.packages.find]
include = ["gamengen", "src*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra -m 'not integration and not gpu'"
markers = [
"gpu: requires a CUDA-capable PyTorch installation",
"integration: requires an optional game environment or model artifact",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
ignore = ["E203"]