Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Dependencies: drop four Python packages nothing imports (tyro, flatbuffers, pytorch_tokenizers, mammoth) (#15697)

Daniel Hanb7a110f58589
diff --git a/pyproject.toml b/pyproject.toml
index 79ebac97e15..c3e7de0f929 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -195,7 +195,6 @@ huggingfacenotorch = [
"numpy",
"tqdm",
"psutil",
- "tyro",
"protobuf",
"sentencepiece>=0.2.0",
"datasets>=3.4.1,!=4.0.*,!=4.1.0,!=4.4.*,!=4.5.0,<5.0.0",
@@ -879,7 +878,6 @@ colab-ampere-torch220 = [
colab-new = [
"unsloth_zoo>=2026.10.9",
"packaging",
- "tyro",
"transformers>=4.52.4,!=4.53.0,!=4.54.0,!=4.55.0,!=4.55.1,!=4.57.0,!=4.57.4,!=4.57.5,!=5.0.0,!=5.1.0,<=5.17.0",
"datasets>=3.4.1,!=4.0.*,!=4.1.0,!=4.4.*,!=4.5.0,<5.0.0",
"sentencepiece>=0.2.0",
diff --git a/studio/backend/plugins/data-designer-unstructured-seed/pyproject.toml b/studio/backend/plugins/data-designer-unstructured-seed/pyproject.toml
index 82755bcb429..e726e97fe74 100644
--- a/studio/backend/plugins/data-designer-unstructured-seed/pyproject.toml
+++ b/studio/backend/plugins/data-designer-unstructured-seed/pyproject.toml
@@ -16,7 +16,6 @@ dependencies = [
"pandas>=2,<4",
"pymupdf>=1.24.0",
"pymupdf4llm>=0.0.17",
- "mammoth>=1.8.0",
]
[project.entry-points."data_designer.plugins"]
diff --git a/studio/backend/requirements/extras-no-deps.txt b/studio/backend/requirements/extras-no-deps.txt
index cbd68b3d21a..bd812204b29 100644
--- a/studio/backend/requirements/extras-no-deps.txt
+++ b/studio/backend/requirements/extras-no-deps.txt
@@ -30,17 +30,6 @@ sentence_transformers==5.1.2; python_version < "3.10"
tokenizers>=0.22.0,<=0.23.0
transformers==5.5.0; python_version >= "3.10"
transformers==4.57.6; python_version < "3.10"
-# No macOS x86_64 wheel at any version, so uv falls back to an sdist that shells out to
-# cmake. Skipping it on Intel Macs keeps that install compiler-free.
-#
-# Capped rather than pinned, because which version is installable varies along two
-# axes PEP 508 markers cannot express. 1.4.1 has no musllinux wheel (1.1.0 is the
-# newest that does), and its arm64 wheel is macosx_14_0, so a macOS 13 host needs
-# 1.2.0 while macOS 14+ takes 1.4.1. An exact pin would force a musl host or an
-# older Mac onto the one release carrying an sdist and hand them the cmake build
-# this file is written to avoid. The cap keeps the resolver's fallback while
-# bounding it at the newest audited release.
-pytorch_tokenizers<=1.4.1; sys_platform != "darwin" or platform_machine == "arm64"
# 0.12.3: diffusers flash_4_hub refuses older kernels; same dependencies as 0.12.1.
kernels==0.12.3
# kernels<3.11 imports tomli as its tomllib fallback; --no-deps skips its own
diff --git a/studio/backend/requirements/extras.txt b/studio/backend/requirements/extras.txt
index f41e2f36ce4..fd63824dc0c 100644
--- a/studio/backend/requirements/extras.txt
+++ b/studio/backend/requirements/extras.txt
@@ -1,5 +1,3 @@
-# transitive dep of onnxruntime (via data-designer's pymupdf4llm)
-flatbuffers==25.12.19
# Also needed by sentence_transformers (installed with --no-deps in extras-no-deps.txt);
# librosa pulls it in too, but is skipped in no-torch mode.
# scikit-learn publishes win_arm64 wheels from 1.8 only; 1.7.1 would source-build there.
diff --git a/studio/backend/requirements/no-torch-runtime.txt b/studio/backend/requirements/no-torch-runtime.txt
index 2c716dc2cc0..66e687f5bc8 100644
--- a/studio/backend/requirements/no-torch-runtime.txt
+++ b/studio/backend/requirements/no-torch-runtime.txt
@@ -38,7 +38,6 @@ numpy==2.2.6; python_version >= "3.10" and python_version < "3.11"
numpy==2.0.2; python_version < "3.10"
tqdm==4.70.0
psutil==7.2.2
-tyro==1.0.15
# protobuf 7.x requires >=3.10.
protobuf==7.35.1; python_version >= "3.10"
protobuf==6.33.6; python_version < "3.10"
diff --git a/studio/backend/requirements/single-env/data-designer-deps.txt b/studio/backend/requirements/single-env/data-designer-deps.txt
index f63c0766216..6210129c094 100644
--- a/studio/backend/requirements/single-env/data-designer-deps.txt
+++ b/studio/backend/requirements/single-env/data-designer-deps.txt
@@ -23,4 +23,3 @@ tiktoken<1,>=0.8.0
requests>=2.31
pymupdf>=1.24.0
pymupdf4llm>=0.0.17
-mammoth>=1.8.0
diff --git a/studio/install_python_stack.py b/studio/install_python_stack.py
index 0108bdd2a33..514c64b8e9a 100644
--- a/studio/install_python_stack.py
+++ b/studio/install_python_stack.py
@@ -7187,7 +7187,6 @@ WINDOWS_ARM64_SKIP_PACKAGES = {
"librosa",
"openai-whisper",
"torch-c-dlpack-ext",
- "pytorch_tokenizers",
"hf_transfer",
"xformers",
}