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 Han456e05dc5783
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex 024d26942bb..e3de5f63477 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1891,7 +1891,7 @@ class FastLlamaModel:torch.cuda.empty_cache()"""multiplier = \"4.5 if getattr(model.config, 'quantization_config', {'load_in_4bit' : False})['load_in_4bit'] else "\- "8.0 if getattr(model.config, 'quantization_config', {'load_in_8bit' : False})['load_in_8bit'] else 1.0"+ "8.0 if getattr(model.config, 'quantization_config', {'load_in_8bit' : False})['load_in_8bit'] else 1.0"debug_info = debug_info.replace("multiplier__", "(" + multiplier + ")")debug_info = debug_info.replace("P__", "get_model_param_count")