MusicGPT preview image

What is MusicGPT?

MusicGPT is an application that allows users to generate music locally using large language models (LLMs) without requiring heavy dependencies like Python or machine learning frameworks. It currently supports MusicGen by Meta, with plans to incorporate additional music generation models in the future. The project aims to achieve text and melody conditioned music generation, infinite music streams, and other advanced features.

Key Information

  • Installation:

    • Mac and Linux: via brew
    • Windows: download precompiled executable
    • Docker: recommended for CUDA-enabled GPU support
  • Usage:

    • UI Mode: chat-like web interface with chat history, music sample playback, and background generation
    • CLI Mode: command-line generation and playback, with options for prompt input, sample length, and model selection
  • Models:

    • Small (default)
    • Medium
    • Large
    • Melody
  • Hardware Requirements:

    • Most models require powerful hardware for inference *CUDA-enabled GPU recommended for optimal performance
  • Licensing:

    • Code is licensed under MIT License
    • AI model weights are licensed under CC-BY-NC-4.0