code: def _disable_prexisiting_fake_mode(fn):
      @functools.wraps(fn)
      def wrapper(*args, **kwargs):
          with maybe_disable_fake_tensor_mode():
              return fn(*args, **kwargs)
  
      return wrapper
  
imports: import copy
  import dataclasses
  import functools
  import types
  from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Type, TYPE_CHECKING, Union
  import torch
  import torch.fx._pytree
  import torch.utils._pytree
  from torch.fx._compatibility import compatibility
  from torch.fx.experimental.proxy_tensor import maybe_disable_fake_tensor_mode
  from torch.fx.passes.infra.pass_base import PassResult
  from torch.fx.passes.infra.pass_manager import PassManager
  from .graph_signature import _sig_to_specs, ArgumentSpec, ConstantArgument, ExportGraphSignature, InputKind, InputSpec, OutputKind, OutputSpec, SymIntArgument, TensorArgument
label_desc: Use image node_id 1 for calling a global function with example usage: _disable_prexisiting_fake_mode(fn) and returns: wrapper, fn