Skip to content

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.

Nightly (#204)

Daniel Han307f2da35394
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index 359761c06a6..54e016d1af0 100644
--- a/unsloth/models/llama.py
+++ b/unsloth/models/llama.py
@@ -1216,6 +1216,8 @@ class FastLlamaModel:
)
pass
+ if loftq_config is None: loftq_config = {}
+
import inspect
signature = str(inspect.signature(LoraConfig))
SUPPORTS_LOFTQ = "loftq_config" in signature