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.9k stars 2.13k forks source link

how to set cuda instead cpu in hugging face ? #470

Open xalteropsx opened 4 months ago

al3xv0lk commented 4 months ago

Same thing here:

WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
    PyTorch 2.1.0+cu121 with CUDA 1201 (you have 2.1.0+cpu)
    Python  3.10.11 (you have 3.10.6)

The year is 2024, AI gods are upon us, but we still need to fucking micro-manage packages because devs are unable to code properly.

xalteropsx commented 4 months ago

sadly linux is all main developer on forgetting window many library like triton xformer not support amd