-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (77 loc) · 2.44 KB
/
pyproject.toml
File metadata and controls
84 lines (77 loc) · 2.44 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 = "ace-step"
version = "1.5.0"
description = "ACE-Step 1.5"
readme = "README.md"
requires-python = "==3.11.*"
license = {text = "MIT"}
dependencies = [
# PyTorch for Windows with CUDA 12.8
"torch==2.7.1+cu128; sys_platform == 'win32'",
"torchvision; sys_platform == 'win32'",
"torchaudio==2.7.1+cu128; sys_platform == 'win32'",
# PyTorch for Linux with CUDA 12.8
"torch==2.10.0; sys_platform == 'linux'",
"torchvision; sys_platform == 'linux'",
"torchaudio==2.10.0; sys_platform == 'linux'",
# PyTorch for macOS (CPU / MPS)
"torch>=2.9.1; sys_platform == 'darwin' and platform_machine == 'arm64'",
"torchvision; sys_platform == 'darwin' and platform_machine == 'arm64'",
"torchaudio>=2.9.1; sys_platform == 'darwin' and platform_machine == 'arm64'",
# Common dependencies
"transformers>=4.51.0,<4.58.0",
"diffusers",
"gradio>=6.5.1",
"matplotlib>=3.7.5",
"scipy>=1.10.1",
"soundfile>=0.13.1",
"loguru>=0.7.3",
"einops>=0.8.1",
"accelerate>=1.12.0",
"fastapi>=0.110.0",
"diskcache",
"uvicorn[standard]>=0.27.0",
"numba>=0.63.1",
"vector-quantize-pytorch>=1.27.15",
"torchcodec>=0.9.1",
"torchao",
"toml",
# Training dependencies
"peft>=0.7.0",
"lightning>=2.0.0",
# Local third-party packages
"nano-vllm; sys_platform != 'darwin'",
"modelscope",
# MLX-LM for fast Apple Silicon inference (optional, Metal-accelerated)
"mlx-lm>=0.20.0; sys_platform == 'darwin' and platform_machine == 'arm64'",
]
[[tool.uv.index]]
name = "pytorch-cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true
[tool.uv]
required-environments = [
"sys_platform == 'darwin' and platform_machine == 'arm64'",
]
[tool.uv.sources]
nano-vllm = { path = "acestep/third_parts/nano-vllm" }
torch = [
{ index = "pytorch-cu128", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },
]
torchvision = [
{ index = "pytorch-cu128", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },
]
torchaudio = [
{ index = "pytorch-cu128", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },
]
[project.scripts]
acestep = "acestep.acestep_v15_pipeline:main"
acestep-api = "acestep.api_server:main"
acestep-download = "acestep.model_downloader:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = []
[tool.hatch.build.targets.wheel]
packages = ["acestep"]