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 Han6662fd652c20
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex 7070919903e..233f104ecbf 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -857,8 +857,7 @@ def LlamaModel_fast_forward(return module(*inputs, past_key_value, output_attentions, padding_mask = padding_mask, position_embeddings = position_embeddings)return custom_forwardpass-- print(torch.utils.checkpoint.checkpoint)+layer_outputs = torch.utils.checkpoint.checkpoint(create_custom_forward(decoder_layer),hidden_states,