-
Notifications
You must be signed in to change notification settings - Fork 71
/
setup.py
49 lines (42 loc) · 1.15 KB
/
setup.py
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
# Copyright 2022 MosaicML Diffusion authors
# SPDX-License-Identifier: Apache-2.0
"""Diffusion package setup."""
from setuptools import find_packages, setup
install_requires = [
'mosaicml==0.27.0',
'mosaicml-streaming==0.9.0',
'hydra-core>=1.2',
'hydra-colorlog>=1.1.0',
'diffusers[torch]==0.30.3',
'transformers[torch]==4.44.2',
'huggingface-hub[hf_transfer]>=0.23.2',
'wandb>=0.18.1',
'xformers==0.0.28.post3',
'triton>=2.1.0',
'torchmetrics[image]>=1.4.0.post0',
'lpips==0.1.4',
'clean-fid==0.1.35',
'clip@git+https://github.com/openai/CLIP.git@a1d071733d7111c9c014f024669f959182114e33',
'gradio==4.44.0',
'datasets==2.19.2',
'peft==0.12.0',
'numpy<2.0.0',
'sentencepiece',
'mlflow',
'pynvml',
]
extras_require = {}
extras_require['dev'] = {
'pre-commit>=2.18.1,<3',
'pytest==7.3.0',
'coverage[toml]==7.2.2',
'pyarrow==14.0.1',
}
extras_require['all'] = {dep for deps in extras_require.values() for dep in deps}
setup(
name='diffusion',
version='0.0.1',
packages=find_packages(),
install_requires=install_requires,
extras_require=extras_require,
)