[Hotfix] Fix ruff errors (#10073)

Signed-off-by: Woosuk Kwon <woosuk.kwon@berkeley.edu>
This commit is contained in:
Woosuk Kwon
2024-11-06 01:24:28 -08:00
committed by GitHub
parent a02a50e6e5
commit 6a585a23d2
3 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class RayHPUExecutor(DistributedGPUExecutor):
uses_ray: bool = True
def _init_executor(self) -> None:
self.forward_dag: Optional["ray.dag.CompiledDAG"] = None
self.forward_dag: Optional[ray.dag.CompiledDAG] = None
# If the env var is set, it uses the Ray's compiled DAG API
# which optimizes the control plane overhead.
# Run vLLM with VLLM_USE_RAY_COMPILED_DAG=1 to enable it.