-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (59 loc) · 1.67 KB
/
pyproject.toml
File metadata and controls
72 lines (59 loc) · 1.67 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "uno"
version = "0.0.1"
authors = [
{ name="Bytedance Ltd. and/or its affiliates" },
]
maintainers = [
{name = "Wu Shaojin", email = "wushaojin@bytedance.com"},
{name = "Huang Mengqi", email = "huangmengqi.98@bytedance.com"},
{name = "Wu Wenxu", email = "wuwenxu.01@bytedance.com"},
{name = "Cheng Yufeng", email = "chengyufeng.cb1@bytedance.com"},
]
description = "🔥🔥 UNO: A Universal Customization Method for Both Single and Multi-Subject Conditioning"
readme = "README.md"
requires-python = ">=3.10, <=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
license = "Apache-2.0"
license-files = ["LICENSE"]
dependencies = [
"torch>=2.4.0",
"torchvision>=0.19.0",
"einops>=0.8.0",
"transformers>=4.43.3",
"huggingface-hub",
"diffusers>=0.30.1",
"sentencepiece==0.2.0",
"gradio>=5.22.0",
]
[project.optional-dependencies]
train = [
"accelerate==1.1.1",
"deepspeed==0.14.4",
]
dev = [
"ruff",
]
[project.urls]
Repository = "https://github.com/bytedance/UNO"
ProjectPage = "https://bytedance.github.io/UNO"
Models = "https://huggingface.co/bytedance-research/UNO"
Demo = "https://huggingface.co/spaces/bytedance-research/UNO-FLUX"
Arxiv = "https://arxiv.org/abs/2504.02160"
[tool.setuptools.packages.find]
where = [""]
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
[tool.ruff]
include = ["uno/**/*.py"]
line-length = 120
indent-width = 4
target-version = "py310"
show-fixes = true
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]