From b8efa1a26180a289fe78617114d859ab3d65f9b1 Mon Sep 17 00:00:00 2001 From: Shanshan Shen <467638484@qq.com> Date: Mon, 30 Dec 2024 15:27:24 +0800 Subject: [PATCH] add error info Signed-off-by: Shanshan Shen <467638484@qq.com> --- vllm/lora/punica_wrapper/punica_selector.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vllm/lora/punica_wrapper/punica_selector.py b/vllm/lora/punica_wrapper/punica_selector.py index 83a2dc5c8693f..be26b59541d8b 100644 --- a/vllm/lora/punica_wrapper/punica_selector.py +++ b/vllm/lora/punica_wrapper/punica_selector.py @@ -8,6 +8,7 @@ def get_punica_wrapper(*args, **kwargs) -> PunicaWrapperBase: punica_wrapper_qualname = current_platform.get_punica_wrapper() punica_wrapper_cls = resolve_obj_by_qualname(punica_wrapper_qualname) punica_wrapper = punica_wrapper_cls(*args, **kwargs) - assert punica_wrapper is not None + assert punica_wrapper is not None, \ + "the punica_wrapper_qualname(" + punica_wrapper_qualname + ") is wrong." print_info_once("Using " + punica_wrapper_qualname.rsplit(".", 1)[1] + ".") return punica_wrapper