Spaces:
Running
on
Zero
Running
on
Zero
Fix dependencies
Browse files- pyproject.toml +1 -0
- requirements.txt +4 -2
- uv.lock +37 -10
pyproject.toml
CHANGED
@@ -8,6 +8,7 @@ dependencies = [
|
|
8 |
"accelerate>=1.4.0",
|
9 |
"gradio>=5.20.1",
|
10 |
"hf-transfer>=0.1.9",
|
|
|
11 |
"protobuf>=6.30.0",
|
12 |
"sentencepiece>=0.2.0",
|
13 |
"spaces>=0.32.0",
|
|
|
8 |
"accelerate>=1.4.0",
|
9 |
"gradio>=5.20.1",
|
10 |
"hf-transfer>=0.1.9",
|
11 |
+
"opencv-python-headless>=4.11.0.86",
|
12 |
"protobuf>=6.30.0",
|
13 |
"sentencepiece>=0.2.0",
|
14 |
"spaces>=0.32.0",
|
requirements.txt
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
# This file was autogenerated by uv via the following command:
|
2 |
# uv pip compile pyproject.toml -o requirements.txt
|
3 |
accelerate==1.4.0
|
4 |
-
|
5 |
-
# via gemma-3-12b-it (pyproject.toml)
|
6 |
aiofiles==23.2.1
|
7 |
# via gradio
|
8 |
annotated-types==0.7.0
|
@@ -94,6 +93,7 @@ numpy==2.2.3
|
|
94 |
# via
|
95 |
# accelerate
|
96 |
# gradio
|
|
|
97 |
# pandas
|
98 |
# transformers
|
99 |
nvidia-cublas-cu12==12.1.3.1
|
@@ -127,6 +127,8 @@ nvidia-nvjitlink-cu12==12.8.93
|
|
127 |
# nvidia-cusparse-cu12
|
128 |
nvidia-nvtx-cu12==12.1.105
|
129 |
# via torch
|
|
|
|
|
130 |
orjson==3.10.15
|
131 |
# via gradio
|
132 |
packaging==24.2
|
|
|
1 |
# This file was autogenerated by uv via the following command:
|
2 |
# uv pip compile pyproject.toml -o requirements.txt
|
3 |
accelerate==1.4.0
|
4 |
+
# via gemma-3-12b-it (pyproject.toml)
|
|
|
5 |
aiofiles==23.2.1
|
6 |
# via gradio
|
7 |
annotated-types==0.7.0
|
|
|
93 |
# via
|
94 |
# accelerate
|
95 |
# gradio
|
96 |
+
# opencv-python-headless
|
97 |
# pandas
|
98 |
# transformers
|
99 |
nvidia-cublas-cu12==12.1.3.1
|
|
|
127 |
# nvidia-cusparse-cu12
|
128 |
nvidia-nvtx-cu12==12.1.105
|
129 |
# via torch
|
130 |
+
opencv-python-headless==4.11.0.86
|
131 |
+
# via gemma-3-12b-it (pyproject.toml)
|
132 |
orjson==3.10.15
|
133 |
# via gradio
|
134 |
packaging==24.2
|
uv.lock
CHANGED
@@ -2,10 +2,18 @@ version = 1
|
|
2 |
revision = 1
|
3 |
requires-python = ">=3.10"
|
4 |
resolution-markers = [
|
5 |
-
"python_full_version >= '3.13'",
|
6 |
-
"python_full_version
|
7 |
-
"python_full_version == '3.
|
8 |
-
"python_full_version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
]
|
10 |
|
11 |
[[package]]
|
@@ -248,6 +256,7 @@ dependencies = [
|
|
248 |
{ name = "accelerate" },
|
249 |
{ name = "gradio" },
|
250 |
{ name = "hf-transfer" },
|
|
|
251 |
{ name = "protobuf" },
|
252 |
{ name = "sentencepiece" },
|
253 |
{ name = "spaces" },
|
@@ -260,6 +269,7 @@ requires-dist = [
|
|
260 |
{ name = "accelerate", specifier = ">=1.4.0" },
|
261 |
{ name = "gradio", specifier = ">=5.20.1" },
|
262 |
{ name = "hf-transfer", specifier = ">=0.1.9" },
|
|
|
263 |
{ name = "protobuf", specifier = ">=6.30.0" },
|
264 |
{ name = "sentencepiece", specifier = ">=0.2.0" },
|
265 |
{ name = "spaces", specifier = ">=0.32.0" },
|
@@ -616,7 +626,7 @@ name = "nvidia-cudnn-cu12"
|
|
616 |
version = "9.1.0.70"
|
617 |
source = { registry = "https://pypi.org/simple" }
|
618 |
dependencies = [
|
619 |
-
{ name = "nvidia-cublas-cu12" },
|
620 |
]
|
621 |
wheels = [
|
622 |
{ url = "https://files.pythonhosted.org/packages/9f/fd/713452cd72343f682b1c7b9321e23829f00b842ceaedcda96e742ea0b0b3/nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl", hash = "sha256:165764f44ef8c61fcdfdfdbe769d687e06374059fbb388b6c89ecb0e28793a6f", size = 664752741 },
|
@@ -643,9 +653,9 @@ name = "nvidia-cusolver-cu12"
|
|
643 |
version = "11.4.5.107"
|
644 |
source = { registry = "https://pypi.org/simple" }
|
645 |
dependencies = [
|
646 |
-
{ name = "nvidia-cublas-cu12" },
|
647 |
-
{ name = "nvidia-cusparse-cu12" },
|
648 |
-
{ name = "nvidia-nvjitlink-cu12" },
|
649 |
]
|
650 |
wheels = [
|
651 |
{ url = "https://files.pythonhosted.org/packages/bc/1d/8de1e5c67099015c834315e333911273a8c6aaba78923dd1d1e25fc5f217/nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl", hash = "sha256:8a7ec542f0412294b15072fa7dab71d31334014a69f953004ea7a118206fe0dd", size = 124161928 },
|
@@ -656,7 +666,7 @@ name = "nvidia-cusparse-cu12"
|
|
656 |
version = "12.1.0.106"
|
657 |
source = { registry = "https://pypi.org/simple" }
|
658 |
dependencies = [
|
659 |
-
{ name = "nvidia-nvjitlink-cu12" },
|
660 |
]
|
661 |
wheels = [
|
662 |
{ url = "https://files.pythonhosted.org/packages/65/5b/cfaeebf25cd9fdec14338ccb16f6b2c4c7fa9163aefcf057d86b9cc248bb/nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl", hash = "sha256:f3b50f42cf363f86ab21f720998517a659a48131e8d538dc02f8768237bd884c", size = 195958278 },
|
@@ -686,6 +696,23 @@ wheels = [
|
|
686 |
{ url = "https://files.pythonhosted.org/packages/da/d3/8057f0587683ed2fcd4dbfbdfdfa807b9160b809976099d36b8f60d08f03/nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl", hash = "sha256:dc21cf308ca5691e7c04d962e213f8a4aa9bbfa23d95412f452254c2caeb09e5", size = 99138 },
|
687 |
]
|
688 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
689 |
[[package]]
|
690 |
name = "orjson"
|
691 |
version = "3.10.15"
|
@@ -1453,7 +1480,7 @@ name = "triton"
|
|
1453 |
version = "3.0.0"
|
1454 |
source = { registry = "https://pypi.org/simple" }
|
1455 |
dependencies = [
|
1456 |
-
{ name = "filelock", marker = "python_full_version < '3.13'" },
|
1457 |
]
|
1458 |
wheels = [
|
1459 |
{ url = "https://files.pythonhosted.org/packages/45/27/14cc3101409b9b4b9241d2ba7deaa93535a217a211c86c4cc7151fb12181/triton-3.0.0-1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e1efef76935b2febc365bfadf74bcb65a6f959a9872e5bddf44cc9e0adce1e1a", size = 209376304 },
|
|
|
2 |
revision = 1
|
3 |
requires-python = ">=3.10"
|
4 |
resolution-markers = [
|
5 |
+
"python_full_version >= '3.13' and sys_platform == 'darwin'",
|
6 |
+
"python_full_version >= '3.13' and platform_machine == 'aarch64' and sys_platform == 'linux'",
|
7 |
+
"(python_full_version >= '3.13' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version >= '3.13' and sys_platform != 'darwin' and sys_platform != 'linux')",
|
8 |
+
"python_full_version == '3.12.*' and sys_platform == 'darwin'",
|
9 |
+
"python_full_version == '3.12.*' and platform_machine == 'aarch64' and sys_platform == 'linux'",
|
10 |
+
"(python_full_version == '3.12.*' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version == '3.12.*' and sys_platform != 'darwin' and sys_platform != 'linux')",
|
11 |
+
"python_full_version == '3.11.*' and sys_platform == 'darwin'",
|
12 |
+
"python_full_version == '3.11.*' and platform_machine == 'aarch64' and sys_platform == 'linux'",
|
13 |
+
"(python_full_version == '3.11.*' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version == '3.11.*' and sys_platform != 'darwin' and sys_platform != 'linux')",
|
14 |
+
"python_full_version < '3.11' and sys_platform == 'darwin'",
|
15 |
+
"python_full_version < '3.11' and platform_machine == 'aarch64' and sys_platform == 'linux'",
|
16 |
+
"(python_full_version < '3.11' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version < '3.11' and sys_platform != 'darwin' and sys_platform != 'linux')",
|
17 |
]
|
18 |
|
19 |
[[package]]
|
|
|
256 |
{ name = "accelerate" },
|
257 |
{ name = "gradio" },
|
258 |
{ name = "hf-transfer" },
|
259 |
+
{ name = "opencv-python-headless" },
|
260 |
{ name = "protobuf" },
|
261 |
{ name = "sentencepiece" },
|
262 |
{ name = "spaces" },
|
|
|
269 |
{ name = "accelerate", specifier = ">=1.4.0" },
|
270 |
{ name = "gradio", specifier = ">=5.20.1" },
|
271 |
{ name = "hf-transfer", specifier = ">=0.1.9" },
|
272 |
+
{ name = "opencv-python-headless", specifier = ">=4.11.0.86" },
|
273 |
{ name = "protobuf", specifier = ">=6.30.0" },
|
274 |
{ name = "sentencepiece", specifier = ">=0.2.0" },
|
275 |
{ name = "spaces", specifier = ">=0.32.0" },
|
|
|
626 |
version = "9.1.0.70"
|
627 |
source = { registry = "https://pypi.org/simple" }
|
628 |
dependencies = [
|
629 |
+
{ name = "nvidia-cublas-cu12", marker = "(platform_machine != 'aarch64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux')" },
|
630 |
]
|
631 |
wheels = [
|
632 |
{ url = "https://files.pythonhosted.org/packages/9f/fd/713452cd72343f682b1c7b9321e23829f00b842ceaedcda96e742ea0b0b3/nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl", hash = "sha256:165764f44ef8c61fcdfdfdbe769d687e06374059fbb388b6c89ecb0e28793a6f", size = 664752741 },
|
|
|
653 |
version = "11.4.5.107"
|
654 |
source = { registry = "https://pypi.org/simple" }
|
655 |
dependencies = [
|
656 |
+
{ name = "nvidia-cublas-cu12", marker = "(platform_machine != 'aarch64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux')" },
|
657 |
+
{ name = "nvidia-cusparse-cu12", marker = "(platform_machine != 'aarch64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux')" },
|
658 |
+
{ name = "nvidia-nvjitlink-cu12", marker = "(platform_machine != 'aarch64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux')" },
|
659 |
]
|
660 |
wheels = [
|
661 |
{ url = "https://files.pythonhosted.org/packages/bc/1d/8de1e5c67099015c834315e333911273a8c6aaba78923dd1d1e25fc5f217/nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl", hash = "sha256:8a7ec542f0412294b15072fa7dab71d31334014a69f953004ea7a118206fe0dd", size = 124161928 },
|
|
|
666 |
version = "12.1.0.106"
|
667 |
source = { registry = "https://pypi.org/simple" }
|
668 |
dependencies = [
|
669 |
+
{ name = "nvidia-nvjitlink-cu12", marker = "(platform_machine != 'aarch64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux')" },
|
670 |
]
|
671 |
wheels = [
|
672 |
{ url = "https://files.pythonhosted.org/packages/65/5b/cfaeebf25cd9fdec14338ccb16f6b2c4c7fa9163aefcf057d86b9cc248bb/nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl", hash = "sha256:f3b50f42cf363f86ab21f720998517a659a48131e8d538dc02f8768237bd884c", size = 195958278 },
|
|
|
696 |
{ url = "https://files.pythonhosted.org/packages/da/d3/8057f0587683ed2fcd4dbfbdfdfa807b9160b809976099d36b8f60d08f03/nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl", hash = "sha256:dc21cf308ca5691e7c04d962e213f8a4aa9bbfa23d95412f452254c2caeb09e5", size = 99138 },
|
697 |
]
|
698 |
|
699 |
+
[[package]]
|
700 |
+
name = "opencv-python-headless"
|
701 |
+
version = "4.11.0.86"
|
702 |
+
source = { registry = "https://pypi.org/simple" }
|
703 |
+
dependencies = [
|
704 |
+
{ name = "numpy" },
|
705 |
+
]
|
706 |
+
sdist = { url = "https://files.pythonhosted.org/packages/36/2f/5b2b3ba52c864848885ba988f24b7f105052f68da9ab0e693cc7c25b0b30/opencv-python-headless-4.11.0.86.tar.gz", hash = "sha256:996eb282ca4b43ec6a3972414de0e2331f5d9cda2b41091a49739c19fb843798", size = 95177929 }
|
707 |
+
wheels = [
|
708 |
+
{ url = "https://files.pythonhosted.org/packages/dc/53/2c50afa0b1e05ecdb4603818e85f7d174e683d874ef63a6abe3ac92220c8/opencv_python_headless-4.11.0.86-cp37-abi3-macosx_13_0_arm64.whl", hash = "sha256:48128188ade4a7e517237c8e1e11a9cdf5c282761473383e77beb875bb1e61ca", size = 37326460 },
|
709 |
+
{ url = "https://files.pythonhosted.org/packages/3b/43/68555327df94bb9b59a1fd645f63fafb0762515344d2046698762fc19d58/opencv_python_headless-4.11.0.86-cp37-abi3-macosx_13_0_x86_64.whl", hash = "sha256:a66c1b286a9de872c343ee7c3553b084244299714ebb50fbdcd76f07ebbe6c81", size = 56723330 },
|
710 |
+
{ url = "https://files.pythonhosted.org/packages/45/be/1438ce43ebe65317344a87e4b150865c5585f4c0db880a34cdae5ac46881/opencv_python_headless-4.11.0.86-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6efabcaa9df731f29e5ea9051776715b1bdd1845d7c9530065c7951d2a2899eb", size = 29487060 },
|
711 |
+
{ url = "https://files.pythonhosted.org/packages/dd/5c/c139a7876099916879609372bfa513b7f1257f7f1a908b0bdc1c2328241b/opencv_python_headless-4.11.0.86-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0e0a27c19dd1f40ddff94976cfe43066fbbe9dfbb2ec1907d66c19caef42a57b", size = 49969856 },
|
712 |
+
{ url = "https://files.pythonhosted.org/packages/95/dd/ed1191c9dc91abcc9f752b499b7928aacabf10567bb2c2535944d848af18/opencv_python_headless-4.11.0.86-cp37-abi3-win32.whl", hash = "sha256:f447d8acbb0b6f2808da71fddd29c1cdd448d2bc98f72d9bb78a7a898fc9621b", size = 29324425 },
|
713 |
+
{ url = "https://files.pythonhosted.org/packages/86/8a/69176a64335aed183529207ba8bc3d329c2999d852b4f3818027203f50e6/opencv_python_headless-4.11.0.86-cp37-abi3-win_amd64.whl", hash = "sha256:6c304df9caa7a6a5710b91709dd4786bf20a74d57672b3c31f7033cc638174ca", size = 39402386 },
|
714 |
+
]
|
715 |
+
|
716 |
[[package]]
|
717 |
name = "orjson"
|
718 |
version = "3.10.15"
|
|
|
1480 |
version = "3.0.0"
|
1481 |
source = { registry = "https://pypi.org/simple" }
|
1482 |
dependencies = [
|
1483 |
+
{ name = "filelock", marker = "(python_full_version < '3.13' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version < '3.13' and sys_platform != 'darwin' and sys_platform != 'linux')" },
|
1484 |
]
|
1485 |
wheels = [
|
1486 |
{ url = "https://files.pythonhosted.org/packages/45/27/14cc3101409b9b4b9241d2ba7deaa93535a217a211c86c4cc7151fb12181/triton-3.0.0-1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e1efef76935b2febc365bfadf74bcb65a6f959a9872e5bddf44cc9e0adce1e1a", size = 209376304 },
|