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: retry transient github.com 5xx on unsloth-zoo git fetches in CI (#5389)
Daniel Han1794a544b543
diff --git a/.github/workflows/consolidated-tests-ci.yml b/.github/workflows/consolidated-tests-ci.ymlindex 4ad3d9f16aa..0f6f89d3540 100644--- a/.github/workflows/consolidated-tests-ci.yml+++ b/.github/workflows/consolidated-tests-ci.yml@@ -234,9 +234,23 @@ jobs:# tests/conftest.py spoof which handles that.run: |set -euxo pipefail- git clone --depth=1 --branch="$UNSLOTH_ZOO_REF" \- https://github.com/unslothai/unsloth-zoo \- "$RUNNER_TEMP/unsloth-zoo"+ # github.com occasionally 500s on the git fetch; retry so a+ # single upstream blip does not fail CI.+ for attempt in 1 2 3; do+ rm -rf "$RUNNER_TEMP/unsloth-zoo"+ if git clone --depth=1 --branch="$UNSLOTH_ZOO_REF" \+ https://github.com/unslothai/unsloth-zoo \+ "$RUNNER_TEMP/unsloth-zoo"; then+ break+ fi+ if [ "$attempt" -eq 3 ]; then+ echo "::error::git clone unsloth-zoo failed after 3 attempts"+ exit 1+ fi+ delay=$((5 * attempt))+ echo "::warning::clone failed (attempt $attempt/3), retrying in ${delay}s..."+ sleep "$delay"+ donepip install -e "$RUNNER_TEMP/unsloth-zoo" --no-depspip show unsloth_zoo@@ -2040,9 +2054,23 @@ jobs:# main-branch fixes flow into the smoke without a release).run: |set -euxo pipefail- git clone --depth=1 --branch="$UNSLOTH_ZOO_REF" \- https://github.com/unslothai/unsloth-zoo \- "$RUNNER_TEMP/unsloth-zoo"+ # github.com occasionally 500s on the git fetch; retry so a+ # single upstream blip does not fail CI.+ for attempt in 1 2 3; do+ rm -rf "$RUNNER_TEMP/unsloth-zoo"+ if git clone --depth=1 --branch="$UNSLOTH_ZOO_REF" \+ https://github.com/unslothai/unsloth-zoo \+ "$RUNNER_TEMP/unsloth-zoo"; then+ break+ fi+ if [ "$attempt" -eq 3 ]; then+ echo "::error::git clone unsloth-zoo failed after 3 attempts"+ exit 1+ fi+ delay=$((5 * attempt))+ echo "::warning::clone failed (attempt $attempt/3), retrying in ${delay}s..."+ sleep "$delay"+ donepip install -e "$RUNNER_TEMP/unsloth-zoo" --no-depspip show unsloth_zoodiff --git a/.github/workflows/mlx-ci.yml b/.github/workflows/mlx-ci.ymlindex 61e0566903d..52038dd3320 100644--- a/.github/workflows/mlx-ci.yml+++ b/.github/workflows/mlx-ci.yml@@ -153,7 +153,20 @@ jobs:'httpx==0.28.1'pip install --index-url https://download.pytorch.org/whl/cpu \'torch==2.10.0'- pip install "unsloth_zoo @ git+https://github.com/unslothai/unsloth-zoo"+ # github.com occasionally 500s on the git fetch; retry the+ # zoo install so a single upstream blip does not fail CI.+ for attempt in 1 2 3; do+ if pip install "unsloth_zoo @ git+https://github.com/unslothai/unsloth-zoo"; then+ break+ fi+ if [ "$attempt" -eq 3 ]; then+ echo "::error::pip install unsloth_zoo failed after 3 attempts"+ exit 1+ fi+ delay=$((5 * attempt))+ echo "::warning::unsloth_zoo install failed (attempt $attempt/3), retrying in ${delay}s..."+ sleep "$delay"+ donepip install -e . --no-deps# Real Apple Silicon sanity: confirm _IS_MLX activates on realdiff --git a/.github/workflows/version-compat-ci.yml b/.github/workflows/version-compat-ci.ymlindex ff3218bba00..b14a759916c 100644--- a/.github/workflows/version-compat-ci.yml+++ b/.github/workflows/version-compat-ci.yml@@ -203,8 +203,22 @@ jobs:with: { path: unsloth }- name: Clone unsloth-zoo @ mainrun: |- git clone --depth=1 https://github.com/unslothai/unsloth-zoo \- "$RUNNER_TEMP/unsloth-zoo"+ # github.com occasionally 500s on the git fetch; retry so a+ # single upstream blip does not fail CI.+ for attempt in 1 2 3; do+ rm -rf "$RUNNER_TEMP/unsloth-zoo"+ if git clone --depth=1 https://github.com/unslothai/unsloth-zoo \+ "$RUNNER_TEMP/unsloth-zoo"; then+ break+ fi+ if [ "$attempt" -eq 3 ]; then+ echo "::error::git clone unsloth-zoo failed after 3 attempts"+ exit 1+ fi+ delay=$((5 * attempt))+ echo "::warning::clone failed (attempt $attempt/3), retrying in ${delay}s..."+ sleep "$delay"+ done- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: '3.12'