def METHOD_NAME(
    self,
    type,
    plan: ScalePlan,
    cur_actors: Optional[List[Node]],
):
    print(cur_actors)
    v = plan.node_group_resources[type]
    actor_name: str = ""
    if v.count > 0:
        context = {
            "platform": "ray",
            "ps_num": 1,
            "worker_num": 1,
            "conf": "conf.TrainConf",
            "task_id": 0,
            "task_type": type,
        }
        if type == NodeType.PS:
            actor_name = "PsActor_0"
        elif type == "chief":
            actor_name = "PythonWorker-0|1"
        TFRayWorker = get_class(
            "dlrover.trainer.worker.tf_ray_worker.TFRayWorker"
        )
        actor_args = ActorArgs(
            actor_name=actor_name,
            executor=TFRayWorker,
            args=[],
            kargs={"args": context},
        )
        self._ray_client.create_actor(actor_args=actor_args)