-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (91 loc) · 2.8 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (91 loc) · 2.8 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
104
105
106
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mergelens"
version = "0.2.1"
description = "Pre-merge diagnostic framework for LLM model merging — analyze, diagnose, and optimize before you merge."
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
authors = [
{ name = "Shuhul Razdan", email = "shuhul.aiml@gmail.com" },
]
keywords = ["llm", "model-merging", "diagnostics", "mergekit", "transformers", "machine-learning", "deep-learning", "model-merge", "weight-analysis", "compatibility", "neural-network"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: OS Independent",
]
dependencies = [
"torch>=2.0",
"safetensors>=0.4",
"huggingface-hub>=0.20",
"typer>=0.9",
"rich>=13.0",
"pyyaml>=6.0",
"pydantic>=2.0",
"numpy>=1.24",
"diskcache>=5.6",
]
[project.optional-dependencies]
report = ["jinja2>=3.1", "plotly>=5.18"]
mcp = ["mcp>=1.0"]
audit = ["transformers>=4.36", "accelerate>=0.25"]
vllm = ["vllm>=0.3"]
dev = ["pytest>=7.0", "pytest-cov", "ruff", "mypy"]
all = ["mergelens[report,mcp,audit]"]
[project.scripts]
mergelens = "mergelens.cli:app"
[project.urls]
Homepage = "https://github.com/shuhulx/mergelens"
Repository = "https://github.com/shuhulx/mergelens"
Issues = "https://github.com/shuhulx/mergelens/issues"
[tool.hatch.build]
exclude = [
"MergeLens_PROJECT_SPEC.md",
"LAUNCH_PLAN.md",
".claude/",
".DS_Store",
"tests/",
"examples/",
".pytest_cache/",
".venv/",
]
[tool.hatch.build.targets.wheel]
packages = ["src/mergelens"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short --strict-markers --strict-config --durations=5"
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "SIM", "RUF"]
ignore = ["B008", "B904", "B905", "E402", "E501", "E701", "F401", "SIM108", "SIM118", "RUF012", "UP007"]
[tool.ruff.lint.extend-per-file-ignores]
"tests/**/*.py" = ["S101", "PLR2004", "RUF059", "B018"]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint.isort]
known-first-party = ["mergelens"]
[tool.coverage.run]
source = ["mergelens"]
omit = ["tests/*"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
[tool.pyright]
include = ["src/mergelens"]
pythonVersion = "3.10"
pythonPlatform = "All"
typeCheckingMode = "basic"
reportMissingImports = false