[Misc] Tidy up some spec decode logic in GPUModelRunner (#31591)

Signed-off-by: Nick Hill <nickhill123@gmail.com>
This commit is contained in:
Nick Hill
2026-01-08 09:10:07 -08:00
committed by GitHub
parent 49568d5cf9
commit a3d909ad2b
3 changed files with 51 additions and 50 deletions
+4
View File
@@ -139,6 +139,10 @@ class GPUModelRunner(LoRAModelRunnerMixin, KVConnectorModelRunnerMixin):
# CUDA graphs.
self.cudagraph_manager = CudaGraphManager(self.vllm_config, self.device)
def update_max_model_len(self, max_model_len: int) -> None:
self.max_model_len = max_model_len
self.req_states.max_model_len = max_model_len
def get_supported_tasks(self) -> tuple[str]:
return ("generate",)