
Open-source AI music generation

Open-source AI music generation
ACE-Step is an open source foundation model for music generation that integrates diffusion based generation with a Deep Compression AutoEncoder and a lightweight linear transformer. The model is designed to balance generation speed with musical coherence, achieving state of the art performance as measured by Real Time Factor (RTF). On a single GPU with a batch size of 1 and 27 steps, ACE-Step can generate one minute of music in approximately 2.2 seconds, representing a 27.27 times speed improvement over real time. The project is available under the Apache License 2.0, and its code and model checkpoints are hosted on GitHub. The primary function of ACE-Step is to convert textual inputs, such as descriptive tags and structured lyrics, into complete musical compositions through its Text2Music feature. Users can initiate the application by running the command python app.py, which opens the interface for core functionalities. Advanced command line arguments allow for finer control, including specifying a checkpoint path with --checkpoint_path, configuring network settings with --port, and enabling optimized performance with --bf16. The model supports fine tuning using LoRA, which requires the PEFT library, and training datasets must follow the Huggingface format for compatibility. Typical use cases for ACE-Step include prompt based music creation, where users provide text descriptions to generate audio, and custom model training for specialized musical outputs. The project emphasizes accessibility and community involvement, offering a project website, model checkpoints, and a Discord community for support. Users are advised to ensure originality in their creations, clearly attribute the AI role when using the model, and respect intellectual property rights. The architecture, hardware performance benchmarks, and application examples are documented on the project website at ace-step.github.io.