Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (74 loc) · 1.65 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (74 loc) · 1.65 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
[project]
name = "mlkit"
version = "0.0.1"
authors = [{ name = "zengls", email = "3186428803@qq.com" }]
description = "Python package for machine learning"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
requires-python = ">=3.12"
license = "MIT"
license-files = ["LICEN[CS]E*"]
dependencies = [
"torch",
"torchvision",
"torchaudio",
"accelerate",
"numpy",
"tqdm",
"einops",
"overrides",
"tabulate",
"wandb",
"psutil",
"exrex",
"matplotlib",
"hydra-core",
"omegaconf",
"pandas",
"seaborn",
"datasets",
"peft",
"transformers",
"torchviz",
"graphviz",
"safetensors",
"diffusers",
"scikit-learn",
"pillow",
"mlflow>=3.18.0",
]
[project.optional-dependencies]
hard = ["flash-attn", "bitsandbytes"]
[dependency-groups]
lint = ["ruff", "ty"]
doc = [
"mkdocs-gen-files>=0.6.1",
"mkdocs-material>=9.7.6",
"mkdocstrings[python]>=1.0.4",
]
notebook = ["ipykernel", "ipywidgets", "nbstripout"]
dev = [
"pytest",
{ include-group = "lint" },
{ include-group = "doc" },
{ include-group = "notebook" },
]
[tool.uv.extra-build-dependencies]
flash-attn = [{ requirement = "torch", match-runtime = true }]
[tool.uv.extra-build-variables]
flash-attn = { FLASH_ATTENTION_SKIP_CUDA_BUILD = "TRUE" }
[project.urls]
Homepage = "https://github.com/zeroDtree/mlkit"
[tool.uv]
package = true
[tool.pytest.ini_options]
pythonpath = ["src", "."]
testpaths = ["tests"]
[tool.hatch.build.targets.wheel]
packages = ["src/mlkit"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"