From c59eb5262cdf612e6d50578f7f555826066f4c4c Mon Sep 17 00:00:00 2001 From: Lianmin Zheng Date: Wed, 25 Sep 2024 11:30:17 -0700 Subject: [PATCH] ignore import error --- python/sglang/srt/model_executor/model_runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/sglang/srt/model_executor/model_runner.py b/python/sglang/srt/model_executor/model_runner.py index 71fa05e356..a88f06ed6a 100644 --- a/python/sglang/srt/model_executor/model_runner.py +++ b/python/sglang/srt/model_executor/model_runner.py @@ -581,12 +581,12 @@ def import_model_classes(): for tmp in entry: assert ( tmp.__name__ not in model_arch_name_to_cls - ), f"{tmp.__name__}" + ), f"Duplicated model implementation for {tmp.__name__}" model_arch_name_to_cls[tmp.__name__] = tmp else: assert ( entry.__name__ not in model_arch_name_to_cls - ), f"{entry.__name__}" + ), f"Duplicated model implementation for {entry.__name__}" model_arch_name_to_cls[entry.__name__] = entry return model_arch_name_to_cls