GrandaddyShmax / audiocraft_plus

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
561 stars 63 forks source link

mac-os-fix for update #25

Open tob-har opened 1 year ago

tob-har commented 1 year ago

I got the updated version fixed for mac os on my own now.

But Multiband_Diffusion is not working. I assume following the errors, because it heavy relies on torch. Am I right, or is there a way to use it on CPU, without torch/CUDA enabled?

GrandaddyShmax commented 1 year ago

Still trying to figure out how MBD works, but from what i tested so far it uses far more VRAM..

tob-har commented 1 year ago

yes, same impression. I tried to go through the necessary PyScrips to solve occurring errors on Mac with replacing some torch related lines with eG numpy solutions. Solved some issues, but still some way to go... keep you posted if I make progress

jasalt commented 1 year ago

Hit this also when trying MDB, AssertionError: Torch not compiled with CUDA enabled, but good to know that it wouldn't probably run anyways on 16GB M1 Mac, medium and melody models run fine.