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

Can I change the location of the downloaded models? My disk is almost full #234

Open StableInfo opened 1 year ago

StableInfo commented 1 year ago

Hello, I just tried the large model (state_dict.bin?), and the programm downloaded it for me, except it did so inside C I believe, thats not where my MusicGen Installation is located:

Loading model facebook/musicgen-large
Downloading state_dict.bin: 100%|██████████████████████████████████████████████████| 6.51G/6.51G [00:53<00:00, 121MB/s]
Downloading (…)ssion_state_dict.bin: 100%|███████████████████████████████████████████| 236M/236M [00:01<00:00, 122MB/s]

1) Where can I find the models? 2) Can I change their location after I found them? Without breaking anything? 3) It would be good to be able to downloaded anywhere we want.