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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
ci: stop asserting torch on the Intel Mac clean-machine leg (#8693)
Daniel Han29806d363502
diff --git a/.github/workflows/clean-machine-install-ci.yml b/.github/workflows/clean-machine-install-ci.ymlindex 0291cc3a961..d02ace84f65 100644--- a/.github/workflows/clean-machine-install-ci.yml+++ b/.github/workflows/clean-machine-install-ci.yml@@ -355,14 +355,35 @@ jobs:HOME_DIR="$UNSLOTH_STUDIO_HOME"fi- if [ "${{ matrix.flags }}" != "--no-torch" ]; then- if [ "${{ matrix.delivery }}" = "tauri" ]; then- PY="$HOME_DIR/studio/unsloth_studio/bin/python"- else- PY="$HOME_DIR/unsloth_studio/bin/python"+ # install.sh sets SKIP_TORCH for --no-torch AND, at install.sh:1880, for Intel+ # Macs, where upstream no longer publishes x86_64 macOS torch wheels. Reading+ # only matrix.flags asserted a torch the installer had deliberately skipped,+ # so the macos-15-intel leg could never pass.+ skip_torch=0+ if [ "${{ matrix.flags }}" = "--no-torch" ]; then+ skip_torch=1+ elif [ "$(uname -s)" = "Darwin" ] && [ "$(uname -m)" = "x86_64" ]; then+ skip_torch=1+ fi++ if [ "${{ matrix.delivery }}" = "tauri" ]; then+ PY="$HOME_DIR/studio/unsloth_studio/bin/python"+ else+ PY="$HOME_DIR/unsloth_studio/bin/python"+ fi+ [ -x "$PY" ] || { echo "::error::installer left no managed Python at $PY"; exit 1; }+ # These representative native wheels load without the developer-only dylib patch.+ if [ "$skip_torch" = 1 ]; then+ "$PY" -c "import numpy, safetensors, tokenizers; print('native wheels loaded', numpy.__version__)"+ # A skipped torch has to be genuinely absent. Silently tolerating one would+ # hide a half-installed x86_64 wheel, which is the failure this leg exists+ # to catch.+ if "$PY" -c "import torch" 2>/dev/null; then+ echo "::error::torch is importable on a leg where install.sh skips it"+ exit 1fi- [ -x "$PY" ] || { echo "::error::installer left no managed Python at $PY"; exit 1; }- # These representative native wheels load without the developer-only dylib patch.+ echo "torch correctly absent (install.sh skipped it)"+ else"$PY" -c "import numpy, safetensors, tokenizers, torch; print('native wheels loaded', numpy.__version__, torch.__version__)"fiSTUDIO_HOME="$HOME_DIR" bash .github/scripts/assert-llama-loads.sh