code: def get_multi_weights_col(
      self, prefixes: List[str], quantize: str, dim: int
  ):
      if quantize in ["gptq", "awq"]:
          try:
              qweight = torch.cat(
                  [
                      self.get_sharded(f"{p}.qweight", dim=1)
                      for p in prefixes
                  ],
                  dim=1,
              )
          except RuntimeError:
              raise RuntimeError(
                  f"Cannot load `{quantize}` weight, make sure the model is already quantized"
              )
  
          qzeros = torch.cat(
              [
                  self.get_sharded(f"{p}.qzeros", dim=1)
                  for p in prefixes
              ],
              dim=1,
          )
          scales = torch.cat(
              [
                  self.get_sharded(f"{p}.scales", dim=1)
                  for p in prefixes
              ],
              dim=1,
          )
  
          if quantize == "gptq":
              w = [self.get_tensor(f"{p}.g_idx") for p in prefixes]
              for w2 in w[1:]:
                  torch.testing.assert_close(w2, w[0])
              g_idx = w[0]
          else:
              g_idx = None
  
          bits, groupsize, desc_act = self._get_gptq_params()
          from text_generation_server.utils.layers import HAS_EXLLAMA
  
          use_exllama = (
              bits == 4
              and HAS_EXLLAMA
              and quantize == "gptq"
              and not desc_act
          )
          weight = (
              qweight,
              qzeros,
              scales,
              g_idx,
              bits,
              groupsize,
              use_exllama,
          )
      else:
          w = [self.get_sharded(f"{p}.weight", dim=0) for p in prefixes]
          weight = torch.cat(w, dim=dim)
      return weight
  
imports: import os
  from pathlib import Path
  from typing import List, Dict, Optional, Tuple
  from safetensors import safe_open, SafetensorError
  import torch
  from loguru import logger
  from huggingface_hub import hf_hub_download
  import json
  from text_generation_server.utils.log import log_once
label_desc: Use image node_id 11 for calling the Weights obj's underlying member method code with example usage: obj.get_multi_weights_col(prefixes, quantize, dim) and returns: weight