-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (51 loc) · 1.21 KB
/
pyproject.toml
File metadata and controls
61 lines (51 loc) · 1.21 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "rl-razor-mnist"
version = "0.1.0"
description = "MNIST experiments demonstrating RL's Razor: KL divergence predicts catastrophic forgetting"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "Sakana AI"}
]
keywords = ["machine-learning", "reinforcement-learning", "catastrophic-forgetting", "fine-tuning"]
dependencies = [
"torch>=2.0",
"torchvision",
"numpy",
"wandb",
"matplotlib",
"scikit-learn",
"pyyaml",
"tqdm",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"black",
"ruff",
]
[project.scripts]
rl-razor-pretrain = "scripts.pretrain:main"
rl-razor-finetune = "scripts.finetune:main"
rl-razor-evaluate = "scripts.evaluate:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-dir]
"" = "src"
[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]