-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (43 loc) · 1.6 KB
/
Copy pathpyproject.toml
File metadata and controls
51 lines (43 loc) · 1.6 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
[build-system]
requires = ["setuptools>=65", "wheel", "Cython>=3.0"]
build-backend = "setuptools.build_meta"
[project]
name = "layerlens"
version = "0.1.0"
description = "LayerLens - Adaptive Low-Rank Adaptation Selector"
authors = [{ name = "LayerLens Team" }]
requires-python = ">=3.9"
dependencies = ["numpy>=1.24", "scipy>=1.10.0"]
[project.optional-dependencies]
demo = ["transformers>=4.20.0", "torch>=2.0.0"]
yolo = ["ultralytics>=8.0.0", "torch>=2.0.0", "torchvision>=0.15.0"]
pipeline = ["transformers>=4.20.0", "torch>=2.0.0", "torchvision>=0.15.0", "pillow>=9.0.0", "ultralytics>=8.0.0"]
dev = ["pytest>=7.0.0", "pytest-cov>=4.0.0", "pytest-mock>=3.10.0"]
[tool.setuptools]
# Use find_packages to automatically discover all packages
# This ensures all subpackages are included, including 'output' and 'utils'
packages = { find = {} }
[[tool.setuptools.ext-modules]]
name = "layerlens.profiling._aggregators"
sources = ["layerlens/profiling/_aggregators.pyx"]
language = "c"
[[tool.setuptools.ext-modules]]
name = "layerlens.profiling._batch"
sources = ["layerlens/profiling/_batch.pyx"]
language = "c"
[[tool.setuptools.ext-modules]]
name = "layerlens.optimization._solver"
sources = ["layerlens/optimization/_solver.pyx"]
language = "c"
[tool.cython]
language_level = 3
[tool.pyright]
include = ["layerlens", "scripts", "demos", "experiments", "tests"]
exclude = ["**/__pycache__", "**/node_modules", "**/.git", "**/build", "**/dist", "**/*.egg-info"]
reportMissingImports = "warning"
reportMissingTypeStubs = false
pythonVersion = "3.9"
pythonPlatform = "All"
typeCheckingMode = "basic"
venvPath = "."
venv = "."