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.

Trim ~255 MB of unused packages from Studio setup (#4395)

Daniel Han3a28446a54b4
diff --git a/studio/backend/requirements/extras-no-deps.txt b/studio/backend/requirements/extras-no-deps.txt
index 29bd421a0af..3bdce81cc1f 100644
--- a/studio/backend/requirements/extras-no-deps.txt
+++ b/studio/backend/requirements/extras-no-deps.txt
@@ -8,7 +8,7 @@ snac
# TRL and related packages
trl==0.23.1
git+https://github.com/meta-pytorch/OpenEnv.git
-executorch>=1.0.1
+# executorch>=1.0.1 # 41.5 MB - no imports in unsloth/zoo/studio
torch-c-dlpack-ext
sentence_transformers==5.2.0
transformers==4.57.1
diff --git a/studio/backend/requirements/extras.txt b/studio/backend/requirements/extras.txt
index 51ef69cf5da..170b1c9ec8f 100644
--- a/studio/backend/requirements/extras.txt
+++ b/studio/backend/requirements/extras.txt
@@ -4,7 +4,7 @@ tomli-w
# ExecuTorch dependencies
ruamel.yaml
-coremltools
+# coremltools # 10.2 MB - Apple CoreML, no imports in unsloth/zoo/studio
expecttest
flatbuffers
hydra-core
@@ -15,7 +15,7 @@ pytest<9.0
pytest-json-report
pytest-rerunfailures==15.1
pytest-xdist
-# Also needed by sentence_transformers
+# Also needed by sentence_transformers (installed with --no-deps in extras-no-deps.txt)
scikit-learn==1.7.1
# Additional extras
@@ -26,8 +26,8 @@ omegaconf
einx
pyloudnorm
openai-whisper
-uroman
-MeCab
+# uroman # 4.0 MB - romanization, no imports found
+# MeCab # 19.9 MB - Japanese tokenizer, no imports found
loguru
flatten_dict
ffmpy
diff --git a/studio/backend/requirements/studio.txt b/studio/backend/requirements/studio.txt
index da0b4f382bc..186ba82fe0d 100644
--- a/studio/backend/requirements/studio.txt
+++ b/studio/backend/requirements/studio.txt
@@ -10,7 +10,7 @@ datasets==4.3.0
pyjwt
easydict
addict
-gradio>=4.0.0
+# gradio>=4.0.0 # 148 MB - Studio uses React + FastAPI, not Gradio
huggingface-hub==0.36.2
structlog>=24.1.0
diceware