-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (123 loc) · 2.88 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (123 loc) · 2.88 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
129
130
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gst-python-ml"
version = "1.1.1"
description = "An ML package for GStreamer"
readme = "README.md"
requires-python = ">=3.12"
license-files = ["COPYING"]
authors = [{name = "Aaron Boxer", email = "aaron.boxer@collabora.com"}]
urls.Homepage = "https://github.com/collabora/gst-python-ml"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: OS Independent",
]
dependencies = [
"pygobject",
"torch>=2.11.0; python_version >= '3.14'",
"torch>=2.7.0; python_version < '3.14'",
"torchvision>=0.26.0; python_version >= '3.14'",
"torchvision>=0.22.0; python_version < '3.14'",
"torchaudio>=2.11.0; python_version >= '3.14'",
"torchaudio>=2.7.0; python_version < '3.14'",
"transformers>=5.6.2; python_version >= '3.14'",
"transformers>=4.44.0; python_version < '3.14'",
"qwen-vl-utils[decord]>=0.0.8",
"autoawq>=0.2.9",
"accelerate>=1.13.0",
"bitsandbytes>=0.49.2",
"opencv-python>=4.13.0; python_version >= '3.14'",
"opencv-python>=4.9.0; python_version < '3.14'",
"opencv-contrib-python>=4.13.0; python_version >= '3.14'",
"opencv-contrib-python>=4.9.0; python_version < '3.14'",
"numpy",
"huggingface-hub",
"lap",
"pycairo",
"ultralytics",
"confluent_kafka",
# "flash-attn",
"diffusers",
"sentencepiece",
"protobuf",
"whisperspeech",
"webdataset",
"easydict",
"pyflann-py3",
"soundfile",
"speechbrain",
"pyopengl"
]
[project.optional-dependencies]
onnx = [
"onnxruntime",
]
onnx-gpu = [
"onnxruntime-gpu",
]
# tvm: install from source (PyPI wheels are stale) - see README
tinygrad = [
"tinygrad",
]
mlx = [
"mlx>=0.20.0",
"mlx-lm",
]
executorch = [
"executorch; python_version < '3.14'",
]
llamacpp = [
"llama-cpp-python",
]
# candle: install manually (not on PyPI) - see README
jax-cpu = [
"jax[cpu]",
]
jax-gpu = [
"jax[cuda12]",
]
jax-tpu = [
"jax[tpu]",
]
openvino = [
"openvino>=2024.0",
]
tensorflow = [
"tensorflow>=2.16.0",
]
litert = [
"ai-edge-litert",
]
vad = [
"pysilero",
"pysilero-vad",
"faster-whisper",
]
all = [
"gst-python-ml[onnx,tinygrad,llamacpp,openvino,tensorflow,litert,vad]",
]
# Optional
[dependency-groups]
test = [
"pytest>=9.0.3",
# Add other test tools
]
dev = [
{include-group = "test"},
# Add linting, etc., e.g., "ruff"
]
[tool.pytest.ini_options]
markers = [
"serial: run this test on its own, it needs the GPU or a capture device to itself",
]
[project.scripts]
pyml-launch = "pyml_launch:main"
[tool.setuptools]
include-package-data = true
py-modules = ["pyml_launch"]
package-dir = {"" = "plugins/python"}
[tool.setuptools.packages.find]
where = ["plugins/python"]