-
Notifications
You must be signed in to change notification settings - Fork 480
/
setup.py
28 lines (26 loc) · 848 Bytes
/
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
import os
import pkg_resources
from setuptools import find_packages, setup
setup(
name="lora_diffusion",
py_modules=["lora_diffusion"],
version="0.1.7",
description="Low Rank Adaptation for Diffusion Models. Works with Stable Diffusion out-of-the-box.",
author="Simo Ryu",
packages=find_packages(),
entry_points={
"console_scripts": [
"lora_add = lora_diffusion.cli_lora_add:main",
"lora_pti = lora_diffusion.cli_lora_pti:main",
"lora_distill = lora_diffusion.cli_svd:main",
"lora_ppim = lora_diffusion.preprocess_files:main",
],
},
install_requires=[
str(r)
for r in pkg_resources.parse_requirements(
open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
)
],
include_package_data=True,
)