-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (34 loc) · 1004 Bytes
/
pyproject.toml
File metadata and controls
39 lines (34 loc) · 1004 Bytes
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
[project]
name = "spgd-study"
version = "0.1.0"
description = "Empirical analysis of saddle-point-escaping optimizers (SPGD) on non-convex ML loss landscapes"
authors = [{ name = "Shyam Patadia", email = "spatadia@wpi.edu" }]
requires-python = ">=3.10,<3.13"
readme = "README.md"
dependencies = [
"torch>=2.3.0",
"torchvision>=0.18.0",
"numpy>=1.26",
"scipy>=1.12",
"matplotlib>=3.8",
"seaborn>=0.13",
"pandas>=2.2",
"scikit-learn>=1.4",
"openml>=0.14",
"tqdm>=4.66",
"pyyaml>=6.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/spgd_study"]
# Pull torch / torchvision from the official PyTorch CUDA 12.1 index
# (works on RTX 4050 / Ada Lovelace and on A30 / Ampere alike).
[[tool.uv.index]]
name = "pytorch-cu121"
url = "https://download.pytorch.org/whl/cu121"
explicit = true
[tool.uv.sources]
torch = { index = "pytorch-cu121" }
torchvision = { index = "pytorch-cu121" }