Oct. 6, 2023, 4:35 p.m. | /u/sanchitgandhi99

Machine Learning www.reddit.com

# Faster MusicGen Generation with Streaming

There's no need to wait for MusicGen to generate the full audio before you can start listening to the outputs ⏰ With streaming, you can play the audio as soon as the first chunk is ready 🎵 In practice, this reduces the latency to just 5s ⚡️

Check-out the demo: [https://huggingface.co/spaces/sanchit-gandhi/musicgen-streaming](https://huggingface.co/spaces/sanchit-gandhi/musicgen-streaming)

# How Does it Work?

MusicGen is an auto-regressive transformer-based model, meaning generates audio codes (tokens) in a causal fashion. At each decoding …

audio faster generate latency machinelearning musicgen practice streaming

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote