-
Notifications
You must be signed in to change notification settings - Fork 62
/
pyproject.toml
executable file
·88 lines (77 loc) · 2.64 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=42"]
[project]
authors = [
{email = "[email protected]", name = "Ash Vardanian"},
{email = "[email protected]", name = "Mikhail Kim"},
{email = "[email protected]", name = "Vladimir Orshulevich"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: Chinese (Simplified)",
"Natural Language :: English",
"Natural Language :: French",
"Natural Language :: German",
"Natural Language :: Italian",
"Natural Language :: Japanese",
"Natural Language :: Korean",
"Natural Language :: Polish",
"Natural Language :: Russian",
"Natural Language :: Spanish",
"Natural Language :: Turkish",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Image Recognition",
]
dependencies = [
"huggingface_hub>=0.16.4",
"tokenizers>=0.13.3",
"pillow",
"simsimd",
]
description = "Pocket-Sized Multimodal AI for Content Understanding and Generation"
maintainers = [
{email = "[email protected]", name = "Unum Cloud"},
]
name = "uform"
readme = "README.md"
requires-python = ">=3.7"
version = "3.0.3"
[project.scripts]
uform-chat = "uform.chat:main"
[project.optional-dependencies]
torch = ["torch>=1.13.1", "torchvision", "transformers>=4.36.2"]
onnx = ["onnx>=1.15.0", "onnxruntime>=1.17.1", "numpy"]
onnx-gpu = ["onnx>=1.15.0", "onnxruntime-gpu>=1.17.1", "numpy"]
dev = ["pytest", "pandas"]
[project.urls]
"Homepage" = "https://github.com/unum-cloud/uform"
[tool.setuptools.packages.find]
where = ["python"]
include = ["uform"]
namespaces = false
[tool.ruff]
ignore = ["C408", "C901", "E501", "E741"]
ignore-init-module-imports = true
select = ["C", "E", "F", "I", "UP", "W"]
[tool.ruff.isort]
lines-after-imports = 2
[tool.ruff.lint.isort]
known-first-party = ["uform"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["E401"]
[tool.tomlsort]
all = true
in_place = true
spaces_before_inline_comment = 2
spaces_indent_inline_array = 4
trailing_comma_inline_array = true
# Configuration options for the Black formatter:
# https://black.readthedocs.io/en/latest/usage_and_configuration/the_basics.html#where-black-looks-for-the-file
[tool.black]
line-length = 120 # Set line length to the same value as in `.clang-format` for modern wide screens
target-version = ['py36', 'py312'] # Set target Python versions to 3.6 and 3.12