code: def disable_torch_init():
      """
      Disable the redundant torch default initialization to accelerate model creation.
      """
      import torch
  
      global torch_linear_init_backup
      global torch_layer_norm_init_backup
  
      torch_linear_init_backup = torch.nn.Linear.reset_parameters
      setattr(torch.nn.Linear, "reset_parameters", lambda self: None)
  
      torch_layer_norm_init_backup = torch.nn.LayerNorm.reset_parameters
      setattr(torch.nn.LayerNorm, "reset_parameters", lambda self: None)
  
file_path: H2O/h2o_flexgen/flexgen/opt_config.py
imports: import argparse
  import dataclasses
  import glob
  import os
  import shutil
  import numpy
  from tqdm import tqdm
label_desc: Use image node_id 3 for calling a global function with example usage: disable_torch_init() without return types