forked from vipshop/cache-dit
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (70 loc) · 1.66 KB
/
pyproject.toml
File metadata and controls
88 lines (70 loc) · 1.66 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
[project]
name = "cache_dit"
dynamic = ["version"]
requires-python = ">=3.10"
authors = [{name = "DefTruth, vipshop.com, etc."}]
description = "A PyTorch-native and Flexible Inference Engine with Hybrid Cache Acceleration and Parallelism for 🤗DiTs."
maintainers = [{name="DefTruth, vipshop.com, etc"}]
readme = "README.md"
dependencies = [
"pyyaml",
"torch>=2.7.1",
"diffusers>=0.35.1",
"transformers>=4.55.2",
]
[project.optional-dependencies]
parallelism = [
"einops>=0.8.1",
]
quantization = [
"torchao>=0.14.1",
"bitsandbytes>=0.48.1"
]
metrics = [
"scipy",
"scikit-image",
"image-reward",
"lpips==0.1.4",
]
serving = [
"fastapi>=0.104.0",
"uvicorn>=0.24.0",
"pydantic>=2.0.0",
]
dev = [
"packaging",
"pre-commit",
"pytest>=7.0.0,<8.0.0",
"pytest-html",
"expecttest",
"hypothesis",
"accelerate",
"peft",
"protobuf",
"sentencepiece",
"opencv-python-headless",
"ftfy",
"scikit-image",
]
all = [
"cache-dit[parallelism]",
"cache-dit[quantization]",
"cache-dit[metrics]",
"cache-dit[serving]",
]
[project.urls]
Repository = "https://github.com/vipshop/cache-dit"
Homepage = "https://github.com/vipshop/cache-dit"
GitHub = "https://github.com/vipshop/cache-dit"
[project.scripts]
cache-dit-metrics-cli = "cache_dit.metrics:main"
cache-dit-serve = "cache_dit.serve.serve:launch_server"
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_scheme = "python-simplified-semver"
local_scheme = "no-local-version"
[tool.black]
line-length = 80
target-version = ["py310"]