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
debug: add temporary log statements for dataset preview and VLM instruction
Roland Tannous97612af99358
diff --git a/studio/backend/core/training/worker.py b/studio/backend/core/training/worker.pyindex 920ca63cfb1..e386a4f8538 100644--- a/studio/backend/core/training/worker.py+++ b/studio/backend/core/training/worker.py@@ -227,6 +227,16 @@ def run_training_process(dataset = dataset_resulteval_dataset = None+ # [DEBUG] Print first sample before model is loaded+ try:+ sample = dataset[0] if len(dataset) > 0 else None+ logger.info(f"[DEBUG] Dataset loaded BEFORE model. First sample keys: {list(sample.keys()) if sample else 'empty'}")+ if sample:+ preview = {k: str(v)[:200] for k, v in sample.items()}+ logger.info(f"[DEBUG] First sample preview: {preview}")+ except Exception as e:+ logger.info(f"[DEBUG] Could not preview first sample: {e}")+# Disable eval if eval_steps <= 0eval_steps = config.get("eval_steps", 0.00)if eval_steps is not None and float(eval_steps) <= 0:diff --git a/studio/backend/utils/datasets/vlm_processing.py b/studio/backend/utils/datasets/vlm_processing.pyindex 0d29a454009..4c7e86c38fc 100644--- a/studio/backend/utils/datasets/vlm_processing.py+++ b/studio/backend/utils/datasets/vlm_processing.py@@ -200,6 +200,11 @@ def generate_smart_vlm_instruction(dataset_name=dataset_name,)if llm_result and llm_result.get("instruction"):+ import logging+ logging.getLogger(__name__).info(+ f"[DEBUG] LLM-assisted VLM instruction generated: "+ f"'{llm_result['instruction']}' (confidence={llm_result.get('confidence', 'N/A')})"+ )return {"instruction": llm_result["instruction"],"instruction_column": None,