code: def get_condition_fuser(cfg: omegaconf.DictConfig) -> ConditionFuser:
      """Instantiate a condition fuser object."""
      fuser_cfg = getattr(cfg, "fuser")
      fuser_methods = ["sum", "cross", "prepend", "input_interpolate"]
      fuse2cond = {k: fuser_cfg[k] for k in fuser_methods}
      kwargs = {
          k: v for k, v in fuser_cfg.items() if k not in fuser_methods
      }
      fuser = ConditionFuser(fuse2cond=fuse2cond, **kwargs)
      return fuser
  
imports: import typing
  import audiocraft
  import omegaconf
  import torch
  from .encodec import CompressionModel, EncodecModel, InterleaveStereoCompressionModel
  from .lm import LMModel
  from .lm_magnet import MagnetLMModel
  from ..modules.codebooks_patterns import CodebooksPatternProvider, DelayedPatternProvider, MusicLMPattern, ParallelPatternProvider, UnrolledPatternProvider, CoarseFirstPattern
  from ..modules.conditioners import BaseConditioner, ChromaStemConditioner, CLAPEmbeddingConditioner, ConditionFuser, ConditioningProvider, LUTConditioner, T5Conditioner
  from .unet import DiffusionUnet
  from ..None import quantization
  from ..utils.utils import dict_from_config
  from ..modules.diffusion_schedule import MultiBandProcessor, SampleProcessor
label_desc: Use image node_id 6 for calling a global function with example usage: get_condition_fuser(cfg) and returns: fuser