From 66b1c1df25e5d60f2f64ad153ff5482d8336b072 Mon Sep 17 00:00:00 2001 From: davendw49 Date: Sat, 1 Nov 2025 19:18:01 +0000 Subject: [PATCH 1/3] fix: missing @dataclass for ExpertDistributionReq --- python/sglang/srt/managers/io_struct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/managers/io_struct.py b/python/sglang/srt/managers/io_struct.py index 3e740621fbd..0c28e29e151 100644 --- a/python/sglang/srt/managers/io_struct.py +++ b/python/sglang/srt/managers/io_struct.py @@ -1343,7 +1343,7 @@ class ExpertDistributionReqType(Enum): STOP_RECORD = 2 DUMP_RECORD = 3 - +@dataclass class ExpertDistributionReq(BaseReq): action: ExpertDistributionReqType From fe3d54eed61f31aec7de5e26c08f333e8b4b5d79 Mon Sep 17 00:00:00 2001 From: davendw49 Date: Sat, 1 Nov 2025 19:22:09 +0000 Subject: [PATCH 2/3] fall back --- python/sglang/srt/managers/io_struct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/managers/io_struct.py b/python/sglang/srt/managers/io_struct.py index 0c28e29e151..3e740621fbd 100644 --- a/python/sglang/srt/managers/io_struct.py +++ b/python/sglang/srt/managers/io_struct.py @@ -1343,7 +1343,7 @@ class ExpertDistributionReqType(Enum): STOP_RECORD = 2 DUMP_RECORD = 3 -@dataclass + class ExpertDistributionReq(BaseReq): action: ExpertDistributionReqType From eaea121d138f3334dc362a311117c9ea78163af6 Mon Sep 17 00:00:00 2001 From: SecretSettler Date: Sat, 1 Nov 2025 19:24:02 +0000 Subject: [PATCH 3/3] fix: Missing @dataclass for ExpertDistributionReq --- python/sglang/srt/managers/io_struct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/managers/io_struct.py b/python/sglang/srt/managers/io_struct.py index 3e740621fbd..0c28e29e151 100644 --- a/python/sglang/srt/managers/io_struct.py +++ b/python/sglang/srt/managers/io_struct.py @@ -1343,7 +1343,7 @@ class ExpertDistributionReqType(Enum): STOP_RECORD = 2 DUMP_RECORD = 3 - +@dataclass class ExpertDistributionReq(BaseReq): action: ExpertDistributionReqType