Configuration stub for LoftQ quantisation-aware LoRA initialisation.
Kept for signature parity with the reference adapter library; passing a
non-empty loftq_config or init_lora_weights="loftq" to
LoraConfig raises NotImplementedError until 4-bit quantised
LoRA layers land (LCD-717).
Parameters
loftq_ bitsint= 4Quantisation bit-width for LoftQ.
loftq_ iterint= 1Number of alternating quantisation / SVD iterations.
Examples
>>> from lucid.peft import LoftQConfig
>>> cfg = LoftQConfig(loftq_bits=4, loftq_iter=1)
>>> cfg.loftq_bits, cfg.loftq_iter
(4, 1)