MusicGen Small
MusicGenCC-BY-NC-4.0textaudio

MusicGen Small

Updated Nov 16, 2026
Parameters
600M
Context
8,192
License
CC-BY-NC-4.0
Q4 GGUF
0.28 GB
Updated
Nov 16, 2026

Q4 GGUF download: thepatch/musicgen-small-GGUF - 0.28 GB on disk, read 2026-11-02. VRAM figures above are estimates; this is the actual file size.

Will it run on your hardware?

Pick your GPU memory - see which quantizations fit, and the cheapest card for the rest

Runs on your 24 GB - best at Q4_K_M
1 of 1 quantizations fit MusicGen Small with real runtime overhead.
Q4_K_M
0.3 GB
fits tight too big

Need an exact figure for your context length? Use the VRAM calculator.

Run it locally

Copy-paste - running in under a minute

vLLMOpenAI-compatible API
vllm serve facebook/musicgen-small

New to this? Start with Ollama · serve to many users with vLLM.

Deep dive

Notes, sources, and the full write-up

MusicGen SmallLink to this section

MusicGen is Meta's text-to-music generation model. At 600M parameters, it's lightweight yet produces coherent musical pieces from text prompts. Part of Facebook's open AudioCraft suite.

UsageLink to this section

from transformers import AutoProcessor, MusicgenForConditionalGeneration
 
processor = AutoProcessor.from_pretrained("facebook/musicgen-small")
model = MusicgenForConditionalGeneration.from_pretrained("facebook/musicgen-small")
 
inputs = processor(text=["80s pop track with bass and drums"], padding=True, return_tensors="pt")
audio = model.generate(**inputs, max_new_tokens=256)

When to useLink to this section

  • Quick music prototyping - generate short music clips
  • Creative inspiration - explore musical ideas
  • Background music - social media content

From the community

What users are saying

“is this model opensource for commercial purposes? I read in this article https://about.fb.com/news/2023/08/audiocraft-generative-ai-for-music-and-audio/:~:text=Takeaways,field%20of%20AI%2Dgenerated%20audio.”

“Hi @Qingjie920 @BoscoTheDog here is the related open issue: https://github.com/huggingface/optimum/issues/1297 A PR is open here for the ONNX export support: https://github.com/huggingface/optimum/pull/1779 @xenova is actively working to make Musicgen work with transformers.js.”

“I can't seem to be able to get rid of the unknown error message. ![image.png](https://cdn-uploads.huggingface.co/production/uploads/6493fe8ced5315cdf68b6504/FTe0TLsha7ny6B3owZnp.png) Please advise.”

Frequently asked

Quick answers to common questions

How much VRAM does MusicGen Small need?

MusicGen Small with 600M parameters needs significant VRAM depending on quantization. Use our VRAM calculator for an exact estimate.

Is MusicGen Small better than other MusicGen models?

MusicGen Small has 600M parameters with 8,192 context - a strong choice for audio-generation, music-generation, edge.

What license is MusicGen Small under?

MusicGen Small is released under the CC-BY-NC-4.0 license, making it suitable for most commercial and personal projects.

What hardware runs MusicGen Small well?

With 600M parameters, MusicGen Small is small enough for most consumer GPUs, Apple Silicon Macs, and many CPUs. Check our hardware directory for specific recommendations.

What is the best quantization for MusicGen Small?

Q4_K_M is the recommended sweet spot - ~98% of FP16 quality at ~27% of the size. Step up to Q5_K_M or Q8_0 only if you have spare VRAM. Use our VRAM calculator to compare.

What models compete with MusicGen Small?

MusicGen Small competes with other models in its class. Browse our model directory for comparisons, benchmarks, and community reviews to find the best fit.

Compare & pair with

Similar models and recommended hardware

Related models

Nearby options

Similar models and compatible hardware by spec