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 llama.py
Daniel Han013a2ed95b10
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex 48d1f7ec6e2..a31a4856760 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1372,6 +1372,8 @@ def _wrap_fast_inference(generate, device_type, dtype, model):# Wraps inference with bfloat16 / float16@torch.inference_modedef _fast_generate(*args, **kwargs):+ print(args)+ print(kwargs)# Set a flag for generation!internal_model = model