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
add grad_norm and num_tokens to TrainingProgress response object
Roland Tannous7bb0aeb756bf
diff --git a/studio/backend/models/training.py b/studio/backend/models/training.pyindex 86aead64623..2afee72e891 100644--- a/studio/backend/models/training.py+++ b/studio/backend/models/training.py@@ -97,4 +97,6 @@ class TrainingProgress(BaseModel):epoch: Optional[int] = Field(None, description="Current epoch")elapsed_seconds: Optional[float] = Field(None, description="Time elapsed since training started")eta_seconds: Optional[float] = Field(None, description="Estimated time remaining")+ grad_norm: Optional[float] = Field(None, description="L2 norm of gradients, computed before gradient clipping")+ num_tokens: Optional[int] = Field(None, description="Total number of tokens processed so far")