code: def unset_hf_deepspeed_config():
      # useful for unit tests to ensure the global state doesn't leak - call from `tearDown` method
      global _hf_deepspeed_config_weak_ref
      _hf_deepspeed_config_weak_ref = None
  
imports: import importlib.metadata
  import importlib.util
  import weakref
  from functools import partialmethod
  from ..dependency_versions_check import dep_version_check
  from ..utils import is_accelerate_available, is_torch_available, logging
label_desc: Use image node_id 3 for calling a global function with example usage: unset_hf_deepspeed_config() without return types