diff --git a/python/sglang/srt/disaggregation/utils.py b/python/sglang/srt/disaggregation/utils.py index 96110b6cf..d2ff845c4 100644 --- a/python/sglang/srt/disaggregation/utils.py +++ b/python/sglang/srt/disaggregation/utils.py @@ -74,7 +74,7 @@ class ReqToMetadataIdxAllocator: def available_size(self): return len(self.free_slots) - def alloc(self) -> List[int]: + def alloc(self) -> Optional[int]: if len(self.free_slots) == 0: return None