code: def get_AsyncPartitionedParameterSwapper(model: nn.Module):
      for param_name, param in model.named_parameters():
          if (
              hasattr(param, "nvme_swapper")
              and param.nvme_swapper is not None
          ):
              return param.nvme_swapper
      return None
  
imports: import torch
  import deepspeed
  from torch import Tensor
  from typing import Tuple
  import torch.nn
  from typing import Dict, Callable, Union
  from deepspeed.accelerator import get_accelerator
  import functools
label_desc: Use image node_id 4 for calling a global function with example usage: get_AsyncPartitionedParameterSwapper(model) and returns: None, param