[Core][Frontend] Add weight version tagging for RL rollouts (#49040)

Signed-off-by: Shuolei Wang <shuoleiwang123@gmail.com>
Signed-off-by: Shuolei Wang <948904026@qq.com>
This commit is contained in:
Shuolei Wang
2026-07-28 14:35:29 +08:00
committed by GitHub
parent 90245f4190
commit 9069a57139
16 changed files with 142 additions and 18 deletions
+10 -2
View File
@@ -267,6 +267,14 @@ class EngineClient(ABC):
"""Batched weight update for RL training."""
raise NotImplementedError
async def finish_weight_update(self) -> None:
"""Finish the current weight update."""
async def finish_weight_update(self, weight_version: str | None = None) -> None:
"""Finish the weight update and set its version if provided."""
raise NotImplementedError
async def update_weight_version(self, new_version: str) -> None:
"""Set the weight version without updating weights."""
raise NotImplementedError
async def get_weight_version(self) -> str:
"""Return the latest committed weight version."""
raise NotImplementedError