[RL][Cherry-Pick] Fix the out-of-bounds issue caused by int32 in the R3 kernel (#7155)

* [RL]Perf: Optimize batch delete prefix and fused put in R3 (#6604)

* Optimizate delete batch and fused put

* refine code

* refine code

* refine code

* Support suspend r3

* [RL] Fix R3 Empty bug with TP=1 (#6777)

* Fix int32 overflow

* refine code

---------

Co-authored-by: YuBaoku <49938469+EmmonsCurse@users.noreply.github.com>
This commit is contained in:
RAM
2026-04-21 16:51:09 +08:00
committed by GitHub
parent 3c7ca62dc3
commit d8cdda86cb
4 changed files with 74 additions and 40 deletions
+6
View File
@@ -1764,6 +1764,9 @@ class RouterConfig:
else:
self.metrics_port = self.api_server_port
def __str__(self):
return json.dumps({key: value for key, value in self.__dict__.items()})
class CommitConfig:
"""
@@ -1877,6 +1880,9 @@ class RoutingReplayConfig:
"""
return json.dumps({key: value for key, value in self.__dict__.items()})
def __str__(self):
return self.to_json_string()
class FDConfig:
"""