Miner fix of type hint (#2340)

This commit is contained in:
ljss
2024-01-04 13:27:56 +08:00
committed by GitHub
parent 2e0b6e7757
commit aee8ef661a

View File

@ -55,7 +55,7 @@ def initialize_cluster(
parallel_config: ParallelConfig,
engine_use_ray: bool = False,
ray_address: Optional[str] = None,
) -> Tuple[str, Optional["PlacementGroup"]]:
) -> Optional["PlacementGroup"]:
"""Initialize the distributed cluster probably with Ray.
Args: