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: allow eval-only progress events through worker callback filter

Roland Tannousc3185d5d981a
diff --git a/studio/backend/core/training/worker.py b/studio/backend/core/training/worker.py
index 04751524826..3941b27ab2b 100644
--- a/studio/backend/core/training/worker.py
+++ b/studio/backend/core/training/worker.py
@@ -135,7 +135,9 @@ def run_training_process(
# Wire up progress callback → event_queue
def _on_progress(progress: TrainingProgress):
- if progress.step >= 0 and progress.loss > 0:
+ has_train_loss = progress.step >= 0 and progress.loss > 0
+ has_eval_loss = progress.eval_loss is not None
+ if has_train_loss or has_eval_loss:
event_queue.put({
"type": "progress",
"step": progress.step,