-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (74 loc) · 2.07 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (74 loc) · 2.07 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 = 'glap-model'
version = '0.0.13'
dependencies = [
'numpy',
'pyyaml',
'setuptools',
'soundfile',
'torch>=1.8.2',
'torchaudio',
'torchinfo',
'sentencepiece',
'dasheng',
"transformers",
'loguru',
]
requires-python = '>=3.10'
authors = [
{name = "Heinrich Dinkel", email = "dinkelheinrich@xiaomi.com"},
{name = "Junbo Zhang", email = "zhangjunbo1@xiaomi.com"},
]
maintainers = [
{name = "Heinrich Dinkel", email = "dinkelheinrich@xiaomi.com"},
{name = "Junbo Zhang", email = "zhangjunbo1@xiaomi.com"},
]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 3 - Alpha",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
# Pick your license as you wish (see also "license" above)
"License :: OSI Approved :: Apache Software License",
# Specify the Python versions you support here.
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Environment :: GPU :: NVIDIA CUDA :: 11.4",
"Environment :: GPU :: NVIDIA CUDA :: 12",
"Topic :: Multimedia :: Sound/Audio :: Speech",
]
[project.urls]
Homepage = "https://github.com/xiaomi-research/GLAP"
Documentation = "https://github.com/xiaomi-research/GLAP"
Repository = "https://github.com/xiaomi-research/GLAP"
Issues = "https://github.com/xiaomi-research/GLAP/issues"
[build-system]
requires = ['hatchling']
build-backend = 'hatchling.build'
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.sdist]
exclude = [".direnv", ".venv", "uv.lock"]
[tool.hatch.build.targets.wheel]
bypass-selection = true
[tool.uv]
index-url = "https://pypi.tuna.tsinghua.edu.cn/simple"
[tool.setuptools.packages.find]
where = ["."] # Look in current directory
[project.scripts]
score_glap = "glap_model.inference:main"
[project.optional-dependencies]
dev = [
'einops',
'tokenizers',
'fire',
'pytorch-ignite',
'accelerate',
'bitsandbytes',
'scipy',
'webdataset',
'phonemizer',
'pandas',
]