-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (76 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
86 lines (76 loc) · 2.17 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "kernelbench-tinker"
version = "0.2.0"
description = "KernelBench - Tinker integration for RL kernel training"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "KernelBench Tinker Team"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"tinker",
"tinker-cookbook",
"torch>=2.9.0",
"numpy",
"pyyaml",
"datasets",
"tqdm",
"chz",
"python-dotenv",
"litellm",
"tomli",
"wandb",
# Visualization
"tensorboard>=2.15.0",
# Modal Labs for isolated GPU evaluation
# NOTE: Kernel execution uses Python/torch versions defined in modal/app.py,
# not the versions here. This repo controls training; Modal image controls eval.
"modal>=0.64.0",
"kernelbench",
]
[project.optional-dependencies]
dev = [
"pytest",
"black",
"isort",
"mypy",
]
[tool.uv.sources]
# tinker-cookbook from git (pinned commit)
# can update to latest commit
tinker-cookbook = { git = "https://github.com/thinking-machines-lab/tinker-cookbook.git", rev = "989f84926245b227634797b8eac46abe232f9c24" }
kernelbench = { path = "./KernelBench", editable = true }
[project.scripts]
train-kernel-rl = "kernelbench_tinker.scripts.train_kernel_rl:main"
eval-kernel-rl = "kernelbench_tinker.scripts.eval_kernel_rl:main"
run-and-check-kb = "kernelbench_tinker.scripts.run_and_check:main"
[tool.setuptools.packages.find]
where = ["src"]
include = ["kernelbench_tinker*"]
[tool.setuptools.package-data]
kernelbench_tinker = ["py.typed"]
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.isort]
profile = "black"
line_length = 100
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true