-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (31 loc) · 834 Bytes
/
setup.py
File metadata and controls
34 lines (31 loc) · 834 Bytes
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
# For licensing see accompanying LICENSE file.
# Copyright (C) 2024 Apple Inc. All Rights Reserved.
from setuptools import setup, find_packages
setup(
name="diffusion-alignment-pytorch",
version="0.0.1",
python_requires=">=3.8",
install_requires=[
"ml-collections",
"absl-py",
"diffusers[torch]>=0.29.0", # 0.29.0 supports SD3
"accelerate",
"torchvision",
"inflect==6.0.4",
"pydantic==1.10.13",
"wandb",
"ipdb",
"line_profiler",
"timm",
"termcolor",
"openai-clip",
"image-reward",
"ipykernel",
"clint",
"torchmetrics[image]>=1.4.0", # using [image] to install torch-fidelity
"peft>=0.6.0",
"transformers>=4.41.2"
"einops",
"torchdiffeq",
],
)