code: def init_state(self, group, p, gindex, pindex):
      raise NotImplementedError(
          "init_state method needs to be overridden"
      )
  
imports: from collections import abc
  from collections import defaultdict
  from copy import deepcopy
  from itertools import chain
  import torch
  import bitsandbytes.functional
label_desc: Use image node_id 9 for calling the Optimizer8bit obj's underlying member method code with example usage: obj.init_state(group, p, gindex, pindex) without return types