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
include all candidate files when scanning a directory, not just the first
Roland Tannous56412f236256
diff --git a/studio/backend/core/training/trainer.py b/studio/backend/core/training/trainer.pyindex 41d208d9f4b..5e20dfb43ff 100644--- a/studio/backend/core/training/trainer.py+++ b/studio/backend/core/training/trainer.py@@ -1819,7 +1819,7 @@ class UnslothTrainer:for ext in ('.json', '.jsonl', '.csv', '.parquet'):candidates.extend(sorted(file_path_obj.glob(f"*{ext}")))if candidates:- all_files.append(str(candidates[0]))+ all_files.extend(str(c) for c in candidates)continueraise ValueError(f"No supported data files in directory: {file_path_obj}")else: