summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authoryurenh <blackhao0426@gmail.com>2026-08-31 18:22:10 -0500
committeryurenh <blackhao0426@gmail.com>2026-08-31 18:22:10 -0500
commitd60d87e6cd3c1caf2187600b2c73035abf66dde6 (patch)
tree1c0fbbeb2c948376484b1dbede65f9bf3499f700 /pyproject.toml
parent8acf3f94c630c0ef2cc89c56d39464c42a0d5e3a (diff)
package: pyproject, Apache-2.0, install docs
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GkgLsACEF6CCP7EUfA5fZe
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..41c9703
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,18 @@
+[build-system]
+requires = ["setuptools>=68"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "zbp-scaling"
+version = "0.1.0"
+description = "Scaling study for zeroth-order backpropagation (ZBP) vs BP on decoder-only language models"
+readme = "README.md"
+requires-python = ">=3.10"
+license = { text = "Apache-2.0" }
+dependencies = ["torch>=2.1", "numpy", "pyyaml", "tiktoken", "datasets"]
+
+[project.optional-dependencies]
+dev = ["pytest"]
+
+[tool.setuptools.packages.find]
+where = ["src"]