-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (68 loc) · 1.56 KB
/
pyproject.toml
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
[project]
name = "hyperencoder"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"diffusers>=0.31.0",
"huggingface-hub>=0.27.0",
"lightning>=2.5.0.post0",
"matplotlib>=3.9.4",
"numpy>=1.23.5",
"safetensors>=0.4.5",
"scikit-learn>=1.6.0",
"stable-audio-tools>=0.0.16",
"torch>=2.5.1",
"torchaudio>=2.5.1",
"torchvision>=0.20.1",
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cu121", marker = "platform_system != 'Darwin'"},
]
torchvision = [
{ index = "pytorch-cu121", marker = "platform_system != 'Darwin'"},
]
torchaudio = [
{ index = "pytorch-cu121", marker = "platform_system != 'Darwin'"},
]
stable-audio-tools = { path = "stable-audio-tools" }
[[tool.uv.index]]
name = "pytorch-cu121"
url = "https://download.pytorch.org/whl/cu121"
explicit = true
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.ruff.isort]
length-sort = true
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
[dependency-groups]
dev = [
"ipykernel>=6.29.5",
"jupyter>=1.1.1",
"ruff>=0.8.4",
]
[project.scripts]
pre_encode = "hyperencoder.__main__"