MusicGPT  by gabotechs

Music generation app for local LLM inference

created 1 year ago
1,110 stars

Top 35.1% on sourcepulse

GitHubView on GitHub
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

5 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
127 stars in the last 90 days

Explore Similar Projects

Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Nat Friedman Nat Friedman(Former CEO of GitHub), and
32 more.

llama.cpp by ggml-org

0.4%
84k
C/C++ library for local LLM inference
created 2 years ago
updated 1 day ago
Feedback? Help us improve.