* Comment out large unused packages from Studio setup requirements Audited all packages installed by `unsloth studio setup` against actual imports in unsloth, unsloth_zoo, and studio/backend. The following have zero imports anywhere and are the largest offenders by disk size: - gradio (148 MB) in studio.txt -- Studio uses React + FastAPI, not Gradio - executorch (41.5 MB) in extras-no-deps.txt -- no imports found - scikit-learn (31.8 MB) in extras.txt -- no imports found - MeCab (19.9 MB) in extras.txt -- Japanese tokenizer, no imports found - coremltools (10.2 MB) in extras.txt -- Apple CoreML, no imports found - uroman (4.0 MB) in extras.txt -- romanization tool, no imports found Total savings: ~255 MB (~32% of the 805 MB installed by setup). Each line is commented out with the package size annotated so they can be re-enabled easily if needed in the future. * Restore scikit-learn -- needed by sentence_transformers sentence_transformers is installed with --no-deps in extras-no-deps.txt, so its sklearn dependency is not auto-resolved. Multiple modules in sentence_transformers import sklearn at the top level (evaluation, util/similarity), so removing scikit-learn would break embedding jobs.
14 lines
357 B
Text
14 lines
357 B
Text
# Audio extras (installed with --no-deps --no-cache-dir)
|
|
descript-audio-codec
|
|
descript-audiotools
|
|
julius
|
|
torchcodec
|
|
snac
|
|
|
|
# TRL and related packages
|
|
trl==0.23.1
|
|
git+https://github.com/meta-pytorch/OpenEnv.git
|
|
# 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
|