mirror of
https://github.com/huggingface/peft.git
synced 2025-10-20 15:33:48 +08:00
fix eetq peft
This commit is contained in:
@ -96,6 +96,7 @@ def dispatch_eetq(
|
||||
|
||||
if is_eetq_available() and isinstance(target_base_layer, EetqLinear):
|
||||
new_module = EetqLoraLinear(target, adapter_name, **kwargs)
|
||||
new_module.train()
|
||||
target.weight = target_base_layer.weight
|
||||
|
||||
if hasattr(target, "bias"):
|
||||
|
Reference in New Issue
Block a user