code: def _lazy_load(filename: _PATH) -> Any:
      if not _TORCH_GREATER_EQUAL_2_0:
          raise NotImplementedError(
              "Lazy-loading is only supported with PyTorch >= 2.0."
          )
      if not os.path.isfile(filename):
          raise FileNotFoundError(
              f"Path {str(filename)!r} does not exist or is not a file."
          )
      file_reader = torch.PyTorchFileReader(str(filename))
      with BytesIO(file_reader.get_record("data.pkl")) as pkl:
          mup = _LazyLoadingUnpickler(pkl, file_reader)
          return mup.load()
  
imports: import os
  import pickle
  import warnings
  from functools import partial
  from io import BytesIO
  from typing import IO, TYPE_CHECKING, Any, Callable, Dict, Optional, OrderedDict, Sequence, Set, Union
  import torch
  from lightning_utilities.core.apply_func import apply_to_collection
  from torch import Tensor
  from torch._C import _TensorMeta
  from torch.nn import Parameter
  from typing_extensions import override
  from lightning.fabric.utilities.imports import _TORCH_GREATER_EQUAL_2_0
  from lightning.fabric.utilities.types import _PATH, _Stateful
label_desc: Use image node_id 1 for calling a global function with example usage: _lazy_load(filename) and returns: mup