def METHOD_NAME(self):
    model, cfg, task = fairseq.checkpoint_utils.load_model_ensemble_and_task([self.checkpoint])
    model = model[0]
    self.quantize_location = getattr(cfg.model, "vq", "encoder")
    model.eval().float()
    model.cuda()
    if self.data_parallel:
        model = nn.DataParallel(model)
    return model