Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fork of audiocraft that works with Apple Silicon devices.

License

Notifications You must be signed in to change notification settings

trizko/audiocraft

 
 

Repository files navigation

Audiocraft (Fork, works with Apple Silicon)

This repo is a fork that works with Apple Silicon devices (e.g. M1 Macbook Pro). The original repo can be found here: https://github.com/facebookresearch/audiocraft

Installation

To install, you need to slightly modify the pip install command. Clone this repository and cd into the root directory of the repo. Then run the following commands:

# creating a virtual environment is optional (but recommended).
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip

# this step is required.
pip install --pre --extra-index-url https://download.pytorch.org/whl/nightly/cpu -e .

Running MusicGen

To run the application, you must set the PYTORCH_ENABLE_MPS_FALLBACK environment variable when running like so:

PYTORCH_ENABLE_MPS_FALLBACK=1 python app

About

Fork of audiocraft that works with Apple Silicon devices.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Languages

  • Python 98.1%
  • Jupyter Notebook 1.8%
  • Makefile 0.1%