def METHOD_NAME(
    self,
    type,
    plan: ScalePlan,
    cur_actors: Optional[List[Node]],
):
    logger.info(ScalePlan)
    if type == NodeType.PS:
        actor_name = "PsActor_0"
    elif type == NodeType.WORKER:
        actor_name = "PythonWorker-0|1"
    self._ray_client.delete_actor(actor_name)