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.

Add use_rslora reference to LoraConfig inititalisation (#2539)

Januszb781a7ad383f
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py
index cadfed94300..67566fc0b54 100644
--- a/unsloth/models/vision.py
+++ b/unsloth/models/vision.py
@@ -538,6 +538,7 @@ class FastBaseModel:
lora_dropout = lora_dropout,
bias = bias,
task_type = task_type,
+ use_rslora = use_rslora,
)
model = prepare_model_for_kbit_training(
model,