diff --git a/python/sglang/srt/multimodal/processors/step3_vl.py b/python/sglang/srt/multimodal/processors/step3_vl.py index b6720fc5c..658ba5882 100644 --- a/python/sglang/srt/multimodal/processors/step3_vl.py +++ b/python/sglang/srt/multimodal/processors/step3_vl.py @@ -102,7 +102,7 @@ class ImagePatcher: steps: list[tuple[int, int]], img_rate_thr: float = 0.6, ) -> tuple[list[tuple[int, int, int, int]], tuple[int, int]]: - assert 1 >= img_rate_thr >= 0, "The `in_rate_thr` should lie in 0~1" + assert 1 >= img_rate_thr >= 0, "The `img_rate_thr` should lie in 0~1" windows = [] # Sliding windows. for size, step in zip(sizes, steps): diff --git a/python/sglang/srt/multiplex/pdmux_context.py b/python/sglang/srt/multiplex/pdmux_context.py index 81cc6e26a..05cde1371 100644 --- a/python/sglang/srt/multiplex/pdmux_context.py +++ b/python/sglang/srt/multiplex/pdmux_context.py @@ -33,7 +33,7 @@ def load_pdmux_config(config_path: str) -> PDMuxConfig: raise ValueError("Missing required field: sm_group_num") if raw["sm_group_num"] < 3: - raise ValueError("sm_group_num must greater than 3") + raise ValueError("sm_group_num must be >= 3") manual_divisions = raw.get("manual_divisions", [])