[Bugfix] LoRA for DeepSeek V3.2 (#35077)
Signed-off-by: Hollow Man <hollowman@opensuse.org> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Jee Jee Li <pandaleefree@gmail.com>
This commit is contained in:
co-authored by
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Jee Jee Li
parent
04eac6ba24
commit
a250f1bd5f
@@ -160,7 +160,11 @@ class WorkerLoRAManager:
|
||||
lora_request.lora_path,
|
||||
", ".join(sorted(expected_lora_modules_lst)),
|
||||
)
|
||||
elif not is_in_target_modules(module_name, target_modules):
|
||||
elif not is_in_target_modules(
|
||||
module_name,
|
||||
target_modules,
|
||||
packed_modules_mapping,
|
||||
):
|
||||
logger.warning_once(
|
||||
"LoRA module '%s' in adapter '%s' is not in the "
|
||||
"deployment-time target_modules restriction [%s]."
|
||||
@@ -197,6 +201,9 @@ class WorkerLoRAManager:
|
||||
self._cached_dummy_lora = dummy_lora
|
||||
return self._adapter_manager.add_adapter(dummy_lora)
|
||||
|
||||
def get_dummy_lora_warmup_rank(self, default_rank: int) -> int:
|
||||
return self._adapter_manager.get_dummy_lora_warmup_rank(default_rank)
|
||||
|
||||
def pin_adapter(self, adapter_id: int) -> bool:
|
||||
return self._adapter_manager.pin_adapter(adapter_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user