code: def test_hypervolume_cuda(self) -> None:
      if torch.cuda.is_available():
          self.test_hypervolume(cuda=True)
  
imports: from contextlib import ExitStack
  from typing import List, Optional
  from unittest.mock import patch
  import numpy
  import torch
  from ax.core.metric import Metric
  from ax.core.observation import ObservationData, ObservationFeatures
  from ax.core.optimization_config import MultiObjectiveOptimizationConfig
  from ax.core.outcome_constraint import ComparisonOp, ObjectiveThreshold, OutcomeConstraint
  from ax.core.parameter_constraint import ParameterConstraint
  from ax.exceptions.core import UnsupportedError
  from ax.modelbridge.factory import get_sobol
  from ax.modelbridge.modelbridge_utils import get_pareto_frontier_and_configs, observed_hypervolume, observed_pareto_frontier, pareto_frontier, predicted_hypervolume, predicted_pareto_frontier
  from ax.modelbridge.registry import Cont_X_trans, ST_MTGP_trans, Y_trans
  from ax.modelbridge.torch import TorchModelBridge
  from ax.models.torch.botorch_modular.model import BoTorchModel
  from ax.models.torch.botorch_moo import MultiObjectiveBotorchModel
  from ax.models.torch.botorch_moo_defaults import infer_objective_thresholds, pareto_frontier_evaluator
  from ax.service.utils.report_utils import exp_to_df
  from ax.utils.common.testutils import TestCase
  from ax.utils.common.typeutils import checked_cast, not_none
  from ax.utils.testing.core_stubs import get_branin_data_multi_objective, get_branin_experiment_with_multi_objective, get_hierarchical_search_space, get_hss_trials_with_fixed_parameter, get_non_monolithic_branin_moo_data, TEST_SOBOL_SEED
  from ax.utils.testing.mock import fast_botorch_optimize
  from ax.utils.testing.modeling_stubs import transform_1, transform_2
  from botorch.utils.multi_objective.pareto import is_non_dominated
label_desc: Use image node_id 5 for calling the MultiObjectiveTorchModelBridgeTest obj's underlying member method code with example usage: obj.test_hypervolume_cuda() without return types