code: def get_run_command_extra_args(
      self,
      gpu_ids: Optional[List[int]] = None,
  ) -> List[str]:
      extra_args = [
          "--env",
          "NVIDIA_DISABLE_REQUIRE=1",
          "--add-host",
          "rayci.localhost:host-gateway",
      ]
      if self.tmp_filesystem:
          extra_args += [
              "--mount",
              f"type={self.tmp_filesystem},destination=/tmp",
          ]
      for volume in self.volumes:
          extra_args += ["--volume", volume]
      for cap in _DOCKER_CAP_ADD:
          extra_args += ["--cap-add", cap]
      if gpu_ids:
          extra_args += [
              "--gpus",
              f'"device={",".join(map(str, gpu_ids))}"',
          ]
      extra_args += [
          "--workdir",
          "/rayci",
          "--shm-size=2.5gb",
      ]
  
      return extra_args
  
file_path: ray/ci/ray_ci/linux_container.py
imports: import os
  import subprocess
  import sys
  from typing import List, Tuple, Optional
  from ci.ray_ci.container import Container
label_desc: Use image node_id 4 for calling the LinuxContainer obj's underlying member method code with example usage: obj.get_run_command_extra_args(gpu_ids) and returns: extra_args