code: def prepare_int4_weight_and_scales_and_zeros(
      weight_bf16, groupsize, inner_k_tiles
  ):
      weight_int32, scales_and_zeros = group_quantize_tensor(
          weight_bf16, n_bit=4, groupsize=groupsize
      )
      weight_int4pack = torch.ops.aten._convert_weight_to_int4pack(
          weight_int32, inner_k_tiles
      )
      return weight_int4pack, scales_and_zeros
  
imports: import time
  from pathlib import Path
  import torch
  import torch.nn
  import torch.nn.functional
  from sentencepiece import SentencePieceProcessor
  from model import Transformer
label_desc: Use image node_id 10 for calling a global function with example usage: prepare_int4_weight_and_scales_and_zeros(weight_bf16, groupsize, inner_k_tiles) and returns: weight_int4pack,  scales_and_zeros