-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (43 loc) · 1.25 KB
/
Copy pathsetup.py
File metadata and controls
46 lines (43 loc) · 1.25 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
from setuptools import find_packages, setup
requirements = [
"jax-metal==0.1.1; platform_system=='Darwin'",
"jaxlib==0.5.0; platform_system=='Darwin'",
"jax==0.5.0; platform_system=='Darwin'",
"flax==0.10.4",
# "safetensors>=0.5.3",
# "pydantic>=2.11.3",
# "huggingface-hub>=0.30.2",
# "soundfile>=0.13.1",
# "descript-audio-codec>=1.0.0",
"safetensors",
"pydantic",
"huggingface-hub",
"soundfile",
"descript-audio-codec",
"torchaudio",
]
extras_require = {
'gpu': ['jax[cuda12]'],
'tpu': ['jax[tpu]'],
}
setup(
name='diajax',
url='https://github.com/jaco-bro/diajax',
packages=find_packages(),
version='0.1.7',
readme="README.md",
author_email="backupjjoe@gmail.com",
description="Dia-JAX: A JAX port of Dia, the text-to-speech model for generating realistic dialogue from text with emotion and tone control",
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
author="J Joe",
license="Apache-2.0",
# python_requires=">=3.12.8",
install_requires=requirements,
extras_require=extras_require,
entry_points={
"console_scripts": [
"dia=diajax.dia:main",
],
},
)