[Rust Frontend][gRPC] Add RL lifecycle control (#51316)

Signed-off-by: Connor Carpenter <connorc@nvidia.com>
Co-authored-by: Nick Hill <nickhill123@gmail.com>
This commit is contained in:
Connor Carpenter
2026-08-14 11:32:39 -07:00
committed by GitHub
co-authored by Nick Hill
parent 3e3ceb1961
commit f473870ecf
17 changed files with 614 additions and 16 deletions
+6
View File
@@ -289,6 +289,12 @@ class Executor(ABC):
output = self.collective_rpc("get_supported_tasks")
return output[0]
def supports_draft_weight_updates(self) -> bool:
worker_support: list[bool] = self.collective_rpc(
"supports_draft_weight_updates"
)
return all(worker_support)
def add_lora(self, lora_request: LoRARequest) -> bool:
assert lora_request.lora_int_id > 0, "lora_id must be greater than 0."
return all(self.collective_rpc("add_lora", args=(lora_request,)))