File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -482,7 +482,7 @@ def create_py_executor_instance(
482482 num_lora_modules = model_engine .model .model_config .pretrained_config .num_hidden_layers * \
483483 len (lora_config .lora_target_modules + lora_config .missing_qkv_modules )
484484
485- peft_cache_config_model = PeftCacheConfig .create_from_pybind (
485+ peft_cache_config_model = PeftCacheConfig .from_pybind (
486486 executor_config .peft_cache_config
487487 ) if executor_config .peft_cache_config is not None else PeftCacheConfig (
488488 )
Original file line number Diff line number Diff line change @@ -823,7 +823,7 @@ def _build_model(self):
823823 num_lora_modules = engine_config .pretrained_config .num_hidden_layers * \
824824 len (lora_config .lora_target_modules + lora_config .missing_qkv_modules )
825825
826- peft_cache_config_model = PeftCacheConfig .create_from_pybind (
826+ peft_cache_config_model = PeftCacheConfig .from_pybind (
827827 self ._executor_config .peft_cache_config
828828 ) if self ._executor_config .peft_cache_config is not None else PeftCacheConfig (
829829 )
You can’t perform that action at this time.
0 commit comments