-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (119 loc) · 3.54 KB
/
pyproject.toml
File metadata and controls
128 lines (119 loc) · 3.54 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[tool.poetry]
name = "tbot"
version = "0.1.0"
description = "A command-line multimodal AI chat assistant for text and image generation"
authors = ["Christian Servin <https://github.com/CServinL>"]
license = "GPL-3.0"
readme = "README.md"
packages = [
{include = "tbot"},
{include = "conductor"},
{include = "diffusiond"},
]
[tool.poetry.dependencies]
python = "^3.12"
torch = "^2.7.0"
transformers = "^4.53.0"
diffusers = "^0.34.0"
pillow = "^10.0.0"
accelerate = "^0.28.0"
safetensors = "^0.4.3"
uvloop = "^0.21.0"
bitsandbytes = "^0.46.0"
# Optional GPU acceleration
xformers = {version = "^0.0.31", optional = true}
[tool.poetry.group.dev.dependencies]
black = "^24.0.0"
pytest = "^7.0.0"
[tool.poetry.extras]
gpu = ["xformers"]
[tool.poetry.scripts]
conductor = "conductor.conductor:main_sync"
diffusiond = "diffusiond.main:main"
tbot = "tbot.main:main" # HTTP client-based TBot
tbot-servers = "tbot.server_manager:main" # Server management utility
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ['py312']
# External PyPI module dependencies tree (from pyproject.toml):
# tbot (project root)
# ├── torch (^2.7.0)
# │ ├── typing-extensions
# │ ├── filelock
# │ ├── sympy
# │ ├── networkx
# │ ├── jinja2
# │ ├── fsspec
# │ └── numpy
# ├── transformers (^4.53.0)
# │ ├── tokenizers
# │ ├── requests
# │ │ ├── charset-normalizer
# │ │ ├── idna
# │ │ ├── urllib3
# │ │ └── certifi
# │ ├── tqdm
# │ ├── regex
# │ ├── numpy
# │ ├── packaging
# │ ├── filelock
# │ ├── pyyaml
# │ ├── safetensors
# │ ├── huggingface-hub
# │ │ ├── requests
# │ │ ├── tqdm
# │ │ ├── filelock
# │ │ ├── packaging
# │ │ └── typing-extensions
# │ └── (see also torch, diffusers, accelerate)
# ├── diffusers (^0.34.0)
# │ ├── torch
# │ ├── transformers
# │ ├── numpy
# │ ├── Pillow
# │ ├── tqdm
# │ ├── requests
# │ ├── importlib-metadata
# │ ├── packaging
# │ ├── filelock
# │ ├── huggingface-hub
# │ └── (see also torch, transformers)
# ├── pillow (^10.0.0)
# │ ├── olefile
# │ └── (standard library: zlib, struct, etc.)
# ├── accelerate (^0.28.0)
# │ ├── torch
# │ ├── packaging
# │ ├── psutil
# │ ├── numpy
# │ ├── pyyaml
# │ ├── huggingface-hub
# │ └── (see also torch)
# ├── safetensors (^0.4.3)
# │ └── numpy
# ├── uvloop (^0.21.0)
# │ └── (cython extension, no further deps)
# ├── bitsandbytes (^0.46.0)
# │ └── (cuda extension, no further deps)
# ├── xformers (^0.0.31) [optional, for GPU]
# │ └── torch
# ├── black (^24.0.0) [dev]
# │ ├── click
# │ ├── tomli
# │ ├── pathspec
# │ ├── platformdirs
# │ ├── packaging
# │ └── mypy-extensions
# ├── pytest (^7.0.0) [dev]
# │ ├── attrs
# │ ├── iniconfig
# │ ├── pluggy
# │ ├── packaging
# │ ├── tomli
# │ └── (standard library: importlib, sys, etc.)
# └── poetry-core (build)
# ├── tomlkit
# └── (standard library: pathlib, sys, etc.)