Refactor LoRAManager and LoRAMemoryPool state management logic for dynamic LoRA loading support (#7412)
This commit is contained in:
@@ -108,7 +108,7 @@ def get_hidden_dim(
|
||||
|
||||
def get_normalized_lora_weight_names(name: str) -> Tuple[List[str], List[str]]:
|
||||
"""
|
||||
Mapping a target module name to names of the normized LoRA weights.
|
||||
Mapping a target module name to names of the normalized LoRA weights.
|
||||
Returned tuple contains (name for Lora A, name for Lora B)
|
||||
"""
|
||||
params_mapping = {
|
||||
|
||||
Reference in New Issue
Block a user