Local deployment of large-scale music AI models on commodity hardware

Xun Zhou, Charlie Ruan, Zihe Zhao, Tianqi Chen, Chris Donahue
11/14/2024
cs.SDcs.LGeess.AS

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We present the MIDInfinite, a web application capable of generating symbolic music using a large-scale generative AI model locally on commodity hardware. Creating this demo involved porting the Anticipatory Music Transformer, a large language model (LLM) pre-trained on the Lakh MIDI dataset, to the Machine Learning Compilation (MLC) framework. Once the model is ported, MLC facilitates inference on a variety of runtimes including C++, mobile, and the browser. We envision that MLC has the potential to bridge the gap between the landscape of increasingly capable music AI models and technology more familiar to music software developers. As a proof of concept, we build a web application that allows users to generate endless streams of multi-instrumental MIDI in the browser, either from scratch or conditioned on a prompt. On commodity hardware (an M3 Macbook Pro), our demo can generate 51 notes per second, which is faster than real-time playback for 72.9% of generations, and increases to 86.3% with 2 seconds of upfront buffering.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhou2024local,
  title  = {Local deployment of large-scale music AI models on commodity hardware},
  author = {Xun Zhou and Charlie Ruan and Zihe Zhao and Tianqi Chen and Chris Donahue},
  year   = {2024},
  eprint = {2411.09625},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.09625v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.09625.svg)](https://codeofpaper.com/paper/2411.09625)

Discussion