code: def check_overrides(self):
      for module, attr, config in self.mng.module_weight_config_triple:
          pmodule = getattr(module, attr)
          assert pmodule is not None
          assert isinstance(pmodule, torch.Tensor) or isinstance(
              pmodule, torch.Parameter
          )
          found = False
          for gindex, group in enumerate(self.param_groups):
              if found:
                  break
              for pindex, p in enumerate(group["params"]):
                  if found:
                      break
                  if id(p) == id(pmodule):
                      # found the matching parameter
                      # init override
                      self.mng.pid2config[id(p)] = config
                      self.mng.index2config[
                          (gindex, pindex)
                      ] = self.mng.pid2config[id(p)]
                      found = True
  
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 6 for calling the Optimizer8bit obj's underlying member method code with example usage: obj.check_overrides() without return types