code: def close(
      num: float, other: float, rtol: float = 1e-5, atol: float = 1e-8
  ):
      return abs(num - other) <= atol + rtol * other
  
file_path: colossalai/tests/test_legacy/test_utils/test_norm_gradient_clipping.py
imports: import pytest
  import torch
  from torch.nn.parameter import Parameter
  from torch.nn.utils import clip_grad_norm_
  import colossalai
  from colossalai.legacy.tensor import ColoTensorSpec, ProcessGroup, distspec
  from colossalai.legacy.utils.common import clip_grad_norm
  from colossalai.logging import disable_existing_loggers
  from colossalai.tensor.colo_parameter import ColoParameter
  from colossalai.testing import parameterize, rerun_if_address_is_in_use, spawn
  from colossalai.utils import get_current_device
label_desc: Use image node_id 1 for calling a global function with example usage: close(num, other, rtol, atol) and returns: unknown