code: def codec_decode(fine_tokens):
      """Turn quantized audio codes into audio array using encodec."""
      # load models if not yet exist
      global models
      global models_devices
      if "codec" not in models:
          preload_models()
      model = models["codec"]
      if OFFLOAD_CPU:
          model.to(models_devices["codec"])
      device = next(model.parameters()).device
      arr = torch.from_numpy(fine_tokens)[None]
      arr = arr.to(device)
      arr = arr.transpose(0, 1)
      emb = model.quantizer.decode(arr)
      out = model.decoder(emb)
      audio_arr = out.detach().cpu().numpy().squeeze()
      del arr, emb, out
      if OFFLOAD_CPU:
          model.to("cpu")
      return audio_arr
  
imports: import contextlib
  import gc
  import os
  import re
  from encodec import EncodecModel
  import funcy
  import logging
  import numpy
  from scipy.special import softmax
  import torch
  import torch.nn.functional
  import tqdm
  from transformers import BertTokenizer
  from huggingface_hub import hf_hub_download
  from .model import GPTConfig, GPT
  from .model_fine import FineGPT, FineGPTConfig
label_desc: Use image node_id 21 for calling a global function with example usage: codec_decode(fine_tokens) and returns: audio_arr