code: def _reserve_storage_percentage(
      topology: Topology, percent: float
  ) -> None:
      for device in topology.devices:
          device.storage.hbm = int((1 - percent) * device.storage.hbm)
  
imports: import copy
  import logging
  import math
  from typing import Dict, List, Optional, Set, Tuple
  from torch import nn
  from torchrec.distributed.planner.constants import BIGINT_DTYPE, POOLING_FACTOR
  from torchrec.distributed.planner.types import ParameterConstraints, PlannerError, PlannerErrorType, Storage, StorageReservation, Topology
  from torchrec.distributed.planner.utils import sharder_name, storage_repr_in_gb
  from torchrec.distributed.types import get_tensor_size_bytes, ModuleSharder
label_desc: Use image node_id 5 for calling a global function with example usage: _reserve_storage_percentage(topology, percent) without return types