File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5195,7 +5195,7 @@ def load_lora_weights(
51955195 raise ValueError ("PEFT backend is required for this method." )
51965196
51975197 low_cpu_mem_usage = kwargs .pop ("low_cpu_mem_usage" , _LOW_CPU_MEM_USAGE_DEFAULT_LORA )
5198- load_with_metdata = kwargs .get ("load_with_metdata " , False )
5198+ load_with_metadata = kwargs .get ("load_with_metadata " , False )
51995199 if low_cpu_mem_usage and is_peft_version ("<" , "0.13.0" ):
52005200 raise ValueError (
52015201 "`low_cpu_mem_usage=True` is not compatible with this `peft` version. Please update it with `pip install -U peft`."
@@ -5222,7 +5222,7 @@ def load_lora_weights(
52225222 adapter_name = adapter_name ,
52235223 _pipeline = self ,
52245224 low_cpu_mem_usage = low_cpu_mem_usage ,
5225- load_with_metadata = load_with_metdata ,
5225+ load_with_metadata = load_with_metadata ,
52265226 )
52275227
52285228 @classmethod
You can’t perform that action at this time.
0 commit comments