-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
73 lines (66 loc) · 1.56 KB
/
pyproject.toml
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
[tool.poetry]
name = "opencole"
version = "0.1.0"
description = ""
authors = ["Naoto Inoue <inoue_naoto@cyberagent.co.jp>"]
packages = [
{ include = "layoutlib", from = "src", format = "sdist" },
{ include = "opencole", from = "src", format = "sdist" },
]
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
torch = [
{version = "^2.2.1", platform = "darwin", source = "pypi"},
{version = "^2.2.1+cu121", platform = "linux", source = "torch_cu121"},
]
torchvision = [
{version = "^0.17.1", platform = "darwin", source = "pypi"},
{version = "^0.17.1+cu121", platform = "linux", source = "torch_cu121"},
]
langchain = "^0.2"
bitsandbytes = "*"
protobuf = "*"
peft = "*"
sentencepiece = "*"
compel = "*"
skia-python = "*"
datasets = "*"
matplotlib = "*"
scikit-learn = "*"
scikit-image = "*"
setuptools = "*"
sentence-transformers = "*"
huggingface-hub = "*"
openai = "*"
langchain-openai = "*"
chromadb = "*"
faiss-cpu = "*"
seaborn = "*"
pydantic = ">=2.5.2"
pinjected = "*"
beautifulsoup4 = "^4.12.3"
ftfy = "^6.3.0"
langchain-community = "^0.2"
transformers = ">=4.37.2"
diffusers = "^0.31.0"
[[tool.poetry.source]]
name = "torch_cu121"
url = "https://download.pytorch.org/whl/cu121"
priority = "explicit"
[tool.poetry.group.dev.dependencies]
ipykernel = "*"
ipython = "*"
pytest = "*"
mypy = "^1"
tensorboard = "*"
ruff = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.mypy]
ignore_missing_imports = true
[tool.ruff.lint.isort]
known-first-party = ["opencole", "layoutlib"]