facebookresearch / audiocraft

Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer, along with MusicGen, a simple and controllable music generation LM with textual and melodic conditioning.
MIT License
20.5k stars 2.06k forks source link

protobuf is required to run MusicGen. Why isn't it part of the requirements? #247

Closed snatalius closed 12 months ago

snatalius commented 1 year ago

I encountered an error while trying to generate music for the first time using MusicGen, and after some troubleshooting I found that I need to pip install protobuf. I'm wondering why it is not installed at the first place. Should it be part of the requirements?

0xlws commented 1 year ago

hey @snatalius i encountered the same, i guess it was overlooked. i only came across the same issue myself after not using google colab, adding it to the requirements.txt did solve the issue.

adefossez commented 12 months ago

this is actually a bug in HF Transformers https://github.com/huggingface/transformers/pull/25684