Skip to content

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.

fix(studio): disable mlx gc for none (#5991)

Long Yixing63dc27f76e00
diff --git a/studio/backend/core/training/worker.py b/studio/backend/core/training/worker.py
index a8253215970..e4ef95a375a 100644
--- a/studio/backend/core/training/worker.py
+++ b/studio/backend/core/training/worker.py
@@ -1362,7 +1362,7 @@ def _run_mlx_training(event_queue, stop_queue, config):
gc_setting = config.get("gradient_checkpointing", "mlx")
if isinstance(gc_setting, str):
use_grad_checkpoint = (
- gc_setting if gc_setting.lower() not in ("false", "") else False
+ gc_setting if gc_setting.lower() not in ("false", "none", "") else False
)
else:
use_grad_checkpoint = gc_setting