-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·89 lines (78 loc) · 2.76 KB
/
pyproject.toml
File metadata and controls
executable file
·89 lines (78 loc) · 2.76 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
[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",
"numpy>=1.24.0,<3.0.0",
]
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.10"
version = "3.1.4"
[project.scripts]
uform-chat = "uform.chat:main"
[project.optional-dependencies]
torch = ["torch>=2.7.0", "torchvision", "transformers>=4.50.0"]
onnx = ["onnx>=1.16.0", "onnxruntime>=1.20.0"]
onnx-gpu = ["onnx>=1.16.0", "onnxruntime-gpu>=1.20.0", "tensorrt-cu12>=10.0.0; platform_system=='Linux'"]
dev = ["pytest", "pandas", "requests", "tabulate", "psutil>=5.9.0", "nvidia-ml-py>=12.535.0"]
[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 = ['py310', 'py312'] # Set target Python versions to 3.10 and 3.12