def METHOD_NAME(self):
    device = torch_device
    pipe = SpectrogramDiffusionPipeline.from_pretrained("google/music-spectrogram-diffusion")
    pipe = pipe.to(device)
    pipe.set_progress_bar_config(disable=None)
    processor = MidiProcessor()
    input_tokens = processor(MIDI_FILE)
    # just run 4 denoising loops
    input_tokens = input_tokens[:4]
    generator = torch.manual_seed(0)
    output = pipe(input_tokens, num_inference_steps=100, generator=generator)
    audio = output.audios[0]
    assert abs(np.abs(audio).sum() - 9389.1111) < 5e-2