* Studio: drop OpenEnv and unused ExecuTorch/open_spiel install deps * Studio: drop 8 more unused install deps from extras * Studio: restore tomli<3.11 for kernels; tidy dep-cleanup comments and tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Studio: refresh scan-packages baseline for scipy _external + unsloth-zoo tests scipy moved its vendored array_api_compat from scipy/_lib to scipy/_external, so the four allowlisted array_api_compat __init__.py entries stopped matching and resurfaced as unsuppressed CRITICAL "Downloads and executes remote code" findings on all three pip scan-packages shards (extras, hf-stack, studio). Add the _external paths next to the existing _lib ones so both scipy layouts stay covered. Allowlist two unsloth-zoo test-file false positives now present in the hf-stack shard: tests/test_mlx_save_export_regressions.py (writes to /tmp dropper) and tests/test_mlx_trainer_internals.py (obfuscation plus exec/eval). Drop nine stale entries for packages removed from the Studio requirements and no longer in any shard closure (evaluate, pytest, hypothesis, kgb, langid), confirmed absent via with-deps resolution of all three shards. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel Han <danielhanchen@gmail.com>
22 lines
676 B
Text
22 lines
676 B
Text
# Audio extras (installed with --no-deps --no-cache-dir)
|
|
descript-audio-codec
|
|
descript-audiotools
|
|
julius
|
|
torchcodec==0.10.0
|
|
snac
|
|
|
|
# peft 0.19.0 causes export subprocess shutdown issues in Studio;
|
|
# installing with --no-deps to avoid pulling in torch>=0.11.0
|
|
peft==0.18.1
|
|
|
|
# TRL and related packages
|
|
trl==0.23.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.6
|
|
pytorch_tokenizers
|
|
kernels==0.12.1
|
|
# kernels<3.11 imports tomli as its tomllib fallback; --no-deps skips its own
|
|
# marker dep, so list it here (no-op on the 3.12/3.13 default installs).
|
|
tomli; python_version < "3.11"
|