code: def test_memory_omitted_option(shutdown_ray_and_serve):
      """Ensure that omitting memory doesn't break the deployment."""
  
      @serve.deployment(
          ray_actor_options={"num_cpus": 1, "num_gpus": 1}
      )
      def hello(*args, **kwargs):
          return "world"
  
      ray.init(num_gpus=3, namespace="serve")
      handle = serve.run(hello.bind())
  
      assert handle.remote().result() == "world"
  
imports: import os
  import subprocess
  import sys
  from contextlib import contextmanager
  from tempfile import NamedTemporaryFile
  import pytest
  import requests
  import ray
  import ray._private.state
  import ray.actor
  from ray import serve
  from ray._private.test_utils import wait_for_condition
  from ray.exceptions import RayActorError
  from ray.serve._private.constants import SERVE_DEFAULT_APP_NAME, SERVE_NAMESPACE
  from ray.serve.context import _get_global_client
  from ray.tests.conftest import call_ray_stop_only
  from ray.util.state import list_actors
label_desc: Use image node_id 6 for calling a global function with example usage: test_memory_omitted_option(shutdown_ray_and_serve) and returns: str