code: def test_fractional_memory_round_down(shutdown_only):
      @ray.remote
      def test():
          pass
  
      with ray.init(num_cpus=1, _memory=2):
          ray.get(test.options(memory=2.9).remote(), timeout=5)
  
      with ray.init(num_cpus=1, _memory=0.2):
          ray.get(test.options(memory=0.5).remote(), timeout=5)
  
      with ray.init(num_cpus=1, _memory=2.2):
          ray.get(test.options(memory=2.9).remote(), timeout=5)
          with pytest.raises(ray.exceptions.GetTimeoutError):
              ray.get(test.options(memory=3.1).remote(), timeout=5)
  
imports: import logging
  import os
  import sys
  import time
  import numpy
  import pytest
  import ray
  import ray.cluster_utils
  from ray._private.test_utils import RayTestTimeoutException, wait_for_condition
  from ray.util.placement_group import placement_group
  from ray.util.accelerators import AWS_NEURON_CORE
  from ray.util.scheduling_strategies import PlacementGroupSchedulingStrategy
label_desc: Use image node_id 5 for calling a global function with example usage: test_fractional_memory_round_down(shutdown_only) without return types