-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (95 loc) · 2.67 KB
/
Copy pathpyproject.toml
File metadata and controls
103 lines (95 loc) · 2.67 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "neuraldbg"
version = "1.5.0"
description = "Causal inference engine for deep learning training dynamics"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE.md"]
requires-python = ">=3.9"
authors = [
{name = "SENOUVO Jacques-Charles Gad", email = "neuraldbg@lemniscate.ai"},
]
keywords = [
"deep-learning",
"pytorch",
"debugging",
"causal-inference",
"training-dynamics",
"gradient-analysis",
"machine-learning",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Debuggers",
"Typing :: Typed",
]
dependencies = [
"torch>=2.0.0",
"psutil>=5.9.0",
]
[project.scripts]
neuraldbg = "neuraldbg.cli:main"
[project.optional-dependencies]
dev = [
"pytest>=9.0.3",
"pytest-cov>=5.0",
"coverage>=7.0",
"numpy>=1.24",
]
docs = [
"pdoc>=14.0.0",
]
[project.urls]
Homepage = "https://github.com/LambdaSection/NeuralDBG"
Repository = "https://github.com/LambdaSection/NeuralDBG"
Documentation = "https://github.com/LambdaSection/NeuralDBG#readme"
Changelog = "https://github.com/LambdaSection/NeuralDBG/blob/main/CHANGELOG.md"
Issues = "https://github.com/LambdaSection/NeuralDBG/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["neuraldbg*"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --cov=neuraldbg --cov-report=term-missing"
testpaths = ["tests"]
pythonpath = ["."]
filterwarnings = [
"ignore::DeprecationWarning:mlflow.*",
"ignore::FutureWarning:mlflow.*",
"ignore::FutureWarning:torch.nn.modules.module.*",
"ignore::DeprecationWarning:torch.jit.*",
# Expected internal warnings — intentional design decisions
"ignore:NeuralDbg\\: Model is wrapped in DataParallel.*:UserWarning",
"ignore:NeuralDbg\\: Model is already compiled.*:UserWarning",
]
[tool.coverage.run]
branch = true
source = ["neuraldbg"]
omit = [
"tests/*",
"examples/*",
"neuraldbg/cli.py",
"neuraldbg/injector.py",
"neuraldbg/prune.py",
"neuraldbg/causal_chain.py",
]
[tool.coverage.report]
fail_under = 75
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
"def __repr__",
]