code: def replace_args(args, kwargs, new_args):
      args = new_args[: len(args)]
      for k, v in zip(kwargs.keys(), new_args[len(args) :]):
          kwargs[k] = v
      return tuple(args), kwargs
  
file_path: colossalai/colossalai/tensor/colo_parameter.py
imports: from typing import Optional
  import torch
  from colossalai.tensor.colo_tensor import ColoTensor
  from colossalai.tensor.param_op_hook import ColoParamOpHookManager
  from .colo_tensor import _convert_output
label_desc: Use image node_id 3 for calling a global function with example usage: replace_args(args, kwargs, new_args) and returns: tuple,  kwargs