code: def quant(self):
      weight = self.weight.data.contiguous().half().cuda()
      CB, _, SCB, _, _ = bnb.functional.double_quant(weight)
      delattr(self, "weight")
      setattr(self, "weight", nn.Parameter(CB, requires_grad=False))
      delattr(self, "SCB")
      setattr(self, "SCB", nn.Parameter(SCB, requires_grad=False))
      del weight
  
file_path: colossalai/examples/images/diffusion/scripts/utils.py
imports: import bitsandbytes
  import torch
  import torch.nn
label_desc: Use image node_id 2 for calling the Linear8bit obj's underlying member method code with example usage: obj.quant() without return types