-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (58 loc) · 1.61 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (58 loc) · 1.61 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
[project]
name = "production-vlm-engineering"
version = "0.2.0"
description = "Reproducible production-grade multimodal vision pipelines, efficient adaptation, and MLOps for 2026-2027 frontier systems."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Mattral" }]
dependencies = [
"pyyaml>=6.0.0",
"numpy>=1.26.0",
"scipy>=1.13.0",
"matplotlib>=3.9.0",
"pillow>=10.0.0",
]
[project.optional-dependencies]
# Full ML stack — required for *real* GPU fine-tuning/inference runs (P0-02, P0-03).
# Without this installed, examples still run a CPU-only pipeline-mechanics smoke test.
ml = [
"torch>=2.3.0",
"transformers>=4.45.0",
"peft>=0.13.0",
"accelerate>=0.34.0",
"bitsandbytes>=0.43.0",
"datasets>=2.20.0",
"pandas>=2.2.0",
"scikit-learn>=1.5.0",
]
cli = ["rich>=13.7.0", "typer>=0.12.0"]
onnx = ["onnx>=1.16.0", "onnxruntime>=1.18.0", "optimum>=1.21.0"]
serving = ["fastapi>=0.112.0", "uvicorn>=0.30.0"]
demo = ["gradio>=4.40.0"]
dev = [
"pytest>=8.2.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
"ruff>=0.6.0",
"pre-commit>=3.7.0",
"mkdocs-material>=9.5.0",
"mkdocstrings[python]>=0.25.0",
]
[project.scripts]
production-vlm = "production_vlm.cli:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/production_vlm"]
[tool.ruff]
line-length = 120
target-version = "py310"
exclude = ["legacy", "notebooks", "src/cv_playbook"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
asyncio_mode = "auto"