MusicGPT  by gabotechs

Music generation app for local LLM inference

Created 1 year ago
1,141 stars

Top 33.7% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

MusicGPT enables local, performant music generation from natural language prompts using Meta's MusicGen models, targeting users who want to experiment with AI music creation without complex setups. It offers a user-friendly web UI and a CLI for direct interaction, abstracting away heavy dependencies like Python and ML frameworks.

How It Works

MusicGPT leverages pre-compiled binaries and Docker images to provide a dependency-free experience. It directly integrates with Hugging Face's transformers library for model inference, allowing users to select different MusicGen model sizes (small, medium, large) and utilize GPU acceleration via CUDA through Docker. This approach prioritizes ease of use and broad platform compatibility.

Quick Start & Requirements

  • Install: brew install gabotechs/taps/musicgpt (macOS/Linux), download executable (Windows), or docker pull gabotechs/musicgpt (recommended for CUDA).
  • Prerequisites: NVIDIA drivers for CUDA acceleration via Docker.
  • Usage: Run musicgpt for UI mode or musicgpt "prompt" for CLI.
  • Docs: https://github.com/gabotechs/MusicGPT

Highlighted Details

  • Local execution of Meta's MusicGen models.
  • Dependency-free installation via binaries or Docker.
  • Supports both a web UI and a CLI interface.
  • Benchmarked against Python transformers for inference speed on Mac M1 Pro.

Maintenance & Community

The project is maintained by gabotechs. Further community or roadmap details are not explicitly provided in the README.

Licensing & Compatibility

The code is MIT licensed. However, the AI model weights are licensed under CC-BY-NC-4.0, which prohibits commercial use.

Limitations & Caveats

The CC-BY-NC-4.0 license on model weights restricts commercial applications. The project currently only supports MusicGen and has plans to add melody conditioning and infinite music streams. Inference requires powerful hardware, especially for larger models.

Health Check
Last Commit

7 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
2
Star History
18 stars in the last 30 days

Explore Similar Projects

Starred by Dan Abramov Dan Abramov(Core Contributor to React; Coauthor of Redux, Create React App), Benjamin Bolte Benjamin Bolte(Cofounder of K-Scale Labs), and
3 more.

riffusion-app-hobby by riffusion

0.0%
3k
Web app for real-time music generation using stable diffusion
Created 2 years ago
Updated 1 year ago
Feedback? Help us improve.