class_docstr: RayInstaller is responsible for installing ray on the target instance.
class_docstr_tok: ["RayInstaller","is","responsible","for","installing","ray","on","the","target","instance","."]
code: def __init__(
      self,
      provider: NodeProviderV1,
      config: AutoscalingConfig,
      process_runner=subprocess,
  ) -> None:
      self._provider = provider
      self._config = config
      self._process_runner = process_runner
  
file_path: ray/python/ray/autoscaler/v2/instance_manager/ray_installer.py
imports: import logging
  import subprocess
  from ray.autoscaler._private.updater import NodeUpdater
  from ray.autoscaler._private.util import with_envs, with_head_node_ip
  from ray.autoscaler.node_provider import NodeProvider
  from ray.autoscaler.v2.instance_manager.config import AutoscalingConfig
  from ray.core.generated.instance_manager_pb2 import Instance
label_desc: Use image node_id 1 to create a new RayInstaller object from inherited base classes: object with example: obj = RayInstaller(provider, config, process_runner)