Spaces:
Configuration error
Configuration error
Eugene
commited on
chore: Remove unused OS deps (#80)
Browse filesSigned-off-by: Eugene <[email protected]>
- docling_serve/.env.example → .env.example +0 -0
- os-packages.txt +0 -2
- uv.lock +5 -5
docling_serve/.env.example → .env.example
RENAMED
|
File without changes
|
os-packages.txt
CHANGED
|
@@ -4,5 +4,3 @@ tesseract-langpack-eng
|
|
| 4 |
leptonica-devel
|
| 5 |
libglvnd-glx
|
| 6 |
glib2
|
| 7 |
-
wget
|
| 8 |
-
git
|
|
|
|
| 4 |
leptonica-devel
|
| 5 |
libglvnd-glx
|
| 6 |
glib2
|
|
|
|
|
|
uv.lock
CHANGED
|
@@ -504,7 +504,7 @@ wheels = [
|
|
| 504 |
|
| 505 |
[[package]]
|
| 506 |
name = "docling-serve"
|
| 507 |
-
version = "0.
|
| 508 |
source = { editable = "." }
|
| 509 |
dependencies = [
|
| 510 |
{ name = "docling" },
|
|
@@ -520,10 +520,10 @@ dependencies = [
|
|
| 520 |
|
| 521 |
[package.optional-dependencies]
|
| 522 |
cpu = [
|
| 523 |
-
{ name = "torch", version = "2.6.0", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "platform_machine != 'x86_64' and sys_platform == 'darwin'" },
|
| 524 |
-
{ name = "torch", version = "2.6.0+cpu", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "platform_machine == 'x86_64' or sys_platform != 'darwin'" },
|
| 525 |
-
{ name = "torchvision", version = "0.21.0", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "(platform_machine != 'x86_64' and sys_platform == 'darwin') or (platform_machine == 'aarch64' and sys_platform == 'linux')" },
|
| 526 |
-
{ name = "torchvision", version = "0.21.0+cpu", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "(platform_machine == 'x86_64' and sys_platform == 'darwin') or (platform_machine != 'aarch64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux')" },
|
| 527 |
]
|
| 528 |
cu124 = [
|
| 529 |
{ name = "torch", version = "2.6.0+cu124", source = { registry = "https://download.pytorch.org/whl/cu124" } },
|
|
|
|
| 504 |
|
| 505 |
[[package]]
|
| 506 |
name = "docling-serve"
|
| 507 |
+
version = "0.5.0"
|
| 508 |
source = { editable = "." }
|
| 509 |
dependencies = [
|
| 510 |
{ name = "docling" },
|
|
|
|
| 520 |
|
| 521 |
[package.optional-dependencies]
|
| 522 |
cpu = [
|
| 523 |
+
{ name = "torch", version = "2.6.0", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "(platform_machine != 'x86_64' and sys_platform == 'darwin' and extra == 'extra-13-docling-serve-cpu') or (platform_machine == 'x86_64' and extra == 'extra-13-docling-serve-cpu' and extra == 'extra-13-docling-serve-cu124') or (sys_platform != 'darwin' and extra == 'extra-13-docling-serve-cpu' and extra == 'extra-13-docling-serve-cu124')" },
|
| 524 |
+
{ name = "torch", version = "2.6.0+cpu", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "(platform_machine == 'x86_64' and extra == 'extra-13-docling-serve-cpu') or (platform_machine != 'x86_64' and extra == 'extra-13-docling-serve-cpu' and extra == 'extra-13-docling-serve-cu124') or (sys_platform != 'darwin' and extra == 'extra-13-docling-serve-cpu')" },
|
| 525 |
+
{ name = "torchvision", version = "0.21.0", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "(platform_machine != 'x86_64' and sys_platform == 'darwin' and extra == 'extra-13-docling-serve-cpu') or (platform_machine == 'aarch64' and sys_platform == 'linux' and extra == 'extra-13-docling-serve-cpu') or (sys_platform != 'darwin' and sys_platform != 'linux' and extra == 'extra-13-docling-serve-cpu' and extra == 'extra-13-docling-serve-cu124') or (sys_platform == 'darwin' and extra == 'extra-13-docling-serve-cpu' and extra == 'extra-13-docling-serve-cu124') or (sys_platform == 'linux' and extra == 'extra-13-docling-serve-cpu' and extra == 'extra-13-docling-serve-cu124')" },
|
| 526 |
+
{ name = "torchvision", version = "0.21.0+cpu", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "(platform_machine == 'x86_64' and sys_platform == 'darwin' and extra == 'extra-13-docling-serve-cpu') or (platform_machine != 'aarch64' and sys_platform == 'linux' and extra == 'extra-13-docling-serve-cpu') or (sys_platform != 'darwin' and sys_platform != 'linux' and extra == 'extra-13-docling-serve-cpu') or (sys_platform == 'darwin' and extra == 'extra-13-docling-serve-cpu' and extra == 'extra-13-docling-serve-cu124') or (sys_platform == 'linux' and extra == 'extra-13-docling-serve-cpu' and extra == 'extra-13-docling-serve-cu124')" },
|
| 527 |
]
|
| 528 |
cu124 = [
|
| 529 |
{ name = "torch", version = "2.6.0+cu124", source = { registry = "https://download.pytorch.org/whl/cu124" } },
|