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
Update _utils.py
Daniel Han57c689458337
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex a63aaccc28a..377db89cc07 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -964,6 +964,7 @@ def _unsloth_get_batch_samples(self, epoch_iterator, num_batches):m = m.modelsignature = inspect.signature(m.forward).parameters.values()has_kwargs = tuple(signature)[-1].kind == inspect._VAR_KEYWORD+ print(m.forward, signature, has_kwargs)# Iterate to find all batchesfor _ in range(num_batches):