From eccee4c48e55fb05426f238fe0c780a0749e5917 Mon Sep 17 00:00:00 2001 From: Shangming Cai Date: Sun, 22 Feb 2026 14:20:16 +0800 Subject: [PATCH] [PD] Change bootstrap_room metadata dtype from int64 to uint64 (#19141) --- python/sglang/srt/disaggregation/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/disaggregation/utils.py b/python/sglang/srt/disaggregation/utils.py index e44512abd..6d58f415a 100644 --- a/python/sglang/srt/disaggregation/utils.py +++ b/python/sglang/srt/disaggregation/utils.py @@ -137,7 +137,7 @@ class MetadataBuffers: ) # Request validation: store bootstrap_room to detect metadata corruption self.bootstrap_room = torch.zeros( - (size, 8), dtype=torch.int64, device=device + (size, 8), dtype=torch.uint64, device=device ) def get_buf_infos(self):