unsloth/.github/workflows
Daniel Han 22b6eb8926 ci(mlx): add real Apple Silicon job on free macos-14 runner
GitHub-hosted macos-14 is the M1 standard runner (3 vCPU, 7 GB RAM,
14 GB storage) and is FREE for public repositories per the GitHub
Actions billing reference. Larger variants (macos-14-large,
macos-14-xlarge) are billed; we deliberately avoid those.

unslothai/unsloth and unslothai/unsloth-zoo are both public, so
adding a single macos-14 job to MLX CI costs zero minutes against
the org's billing quota while closing the only remaining gap the
spoofed Linux job cannot reach: the actual Apple Silicon dispatch
path. Specifically the new mlx-real-apple-silicon job:

  - Installs the real mlx and mlx-lm packages from PyPI.
  - Verifies platform.system()=='Darwin' and platform.machine()=='arm64'
    naturally, with no monkeypatch.
  - Imports unsloth and asserts unsloth._IS_MLX is True so the gate
    flips on real hardware as it is supposed to.
  - Smoke-imports every PR-A MLX-only module: mlx_loader, mlx_trainer,
    mlx_compile, mlx_utils, mlx_cce, gated_delta_vjp. These all do
    `import mlx.core as mx` at module level; this is the test that
    catches a future change to those modules that would only surface
    on a real Mac.
  - Re-runs the same three dispatch test files the Linux job runs.
    The monkeypatch spoofs still apply on real hardware, so this is
    also the canary that the spoofs do not collide with the real
    environment.

The Linux job is unchanged. Both jobs trigger on the same path
filter; mlx-real-apple-silicon caps at 15 minutes since the mlx
install is heavier than the Linux dep set.
2026-05-07 03:00:21 +00:00
..
lint-ci.yml CI: SHA-pin every action; fix 4 bugs in advisory-audit 2026-05-07 01:12:40 +00:00
mlx-ci.yml ci(mlx): add real Apple Silicon job on free macos-14 runner 2026-05-07 03:00:21 +00:00
release-desktop.yml Fix Studio desktop tray installer and titlebar and bux fixes (#5179) 2026-04-30 08:40:39 -07:00
security-audit.yml CI: SHA-pin every action; fix 4 bugs in advisory-audit 2026-05-07 01:12:40 +00:00
stale.yml CI: SHA-pin every action; fix 4 bugs in advisory-audit 2026-05-07 01:12:40 +00:00
studio-backend-ci.yml CI: SHA-pin every action; fix 4 bugs in advisory-audit 2026-05-07 01:12:40 +00:00
studio-frontend-ci.yml CI: SHA-pin every action; fix 4 bugs in advisory-audit 2026-05-07 01:12:40 +00:00
studio-inference-smoke.yml CI: rename + comprehensive Chat UI Tests (verified locally) 2026-05-07 01:51:01 +00:00
studio-tauri-smoke.yml CI: SHA-pin every action; fix 4 bugs in advisory-audit 2026-05-07 01:12:40 +00:00
studio-ui-smoke.yml CI(ui): drop nonexistent username locator (auth form is password-only) 2026-05-07 02:10:14 +00:00
studio-update-smoke.yml CI: rename + comprehensive Chat UI Tests (verified locally) 2026-05-07 01:51:01 +00:00
wheel-smoke.yml CI: SHA-pin every action; fix 4 bugs in advisory-audit 2026-05-07 01:12:40 +00:00