Commit de6a88c
Set self._hf_peft_config_loaded to True when LoRA is loaded using
set self._hf_peft_config_loaded to True on successful lora load
Sets the `_hf_peft_config_loaded` flag if a LoRA is successfully loaded in `load_lora_adapter`. Fixes bug huggingface/issues/11148
Co-authored-by: Sayak Paul <[email protected]>load_lora_adapter in PeftAdapterMixin class (huggingface#11155)1 parent 7dc52ea commit de6a88c
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
310 | 313 | | |
311 | 314 | | |
312 | 315 | | |
| |||
0 commit comments