audiocraft icon indicating copy to clipboard operation
audiocraft copied to clipboard

HuggingFace

Open ilikecoding777 opened this issue 1 year ago • 22 comments

On the huggingface demo, it's gone. What happened?

ilikecoding777 avatar Jul 01 '23 18:07 ilikecoding777

not only that, the models are gone as well. all of them

GrandaddyShmax avatar Jul 01 '23 19:07 GrandaddyShmax

Huh. Possibly a Cease and Desist from someone?

MavelDraconia avatar Jul 01 '23 19:07 MavelDraconia

same issue here. Colab notebook is not working.

pramatias avatar Jul 01 '23 20:07 pramatias

Same thing.

itsLighty avatar Jul 01 '23 20:07 itsLighty

Same...

requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/facebook/musicgen-melody/resolve/main/compression_state_dict.bin

KonradGmurek avatar Jul 01 '23 20:07 KonradGmurek

hope this is resolved asap? same error? any alternatives?

charlesmccarthy avatar Jul 01 '23 20:07 charlesmccarthy

Intel has the same thing. It's probably an exploit. image

BetaDoggo avatar Jul 01 '23 20:07 BetaDoggo

Fixed the issue on my colab, (reuploaded the models), so if anyone needs musicgen feel free: https://colab.research.google.com/github/camenduru/MusicGen-colab/blob/main/MusicGen_ClownOfMadness_plus_colab.ipynb

GrandaddyShmax avatar Jul 01 '23 21:07 GrandaddyShmax

Fixed the issue on my colab, (reuploaded the models), so if anyone needs musicgen feel free: https://colab.research.google.com/github/camenduru/MusicGen-colab/blob/main/MusicGen_ClownOfMadness_plus_colab.ipynb

Where can i get the models and how to adjust the code to reference them when running locally?

charlesmccarthy avatar Jul 01 '23 22:07 charlesmccarthy

I used it before I posted this issue, but then after that, it now shows "404 Invalid rev id: HEAD" Does any of the devs know what happened on HuggingFace?

ilikecoding777 avatar Jul 01 '23 22:07 ilikecoding777

Fixed the issue on my colab, (reuploaded the models), so if anyone needs musicgen feel free: https://colab.research.google.com/github/camenduru/MusicGen-colab/blob/main/MusicGen_ClownOfMadness_plus_colab.ipynb

Where can i get the models and how to adjust the code to reference them when running locally?

You can get this repo with everything set up: https://github.com/GrandaddyShmax/audiocraft_plus

Or alternatively you can get the models here: https://huggingface.co/GrandaddyShmax

GrandaddyShmax avatar Jul 01 '23 22:07 GrandaddyShmax

I used it before I posted this issue, but then after that, it now shows "404 Invalid rev id: HEAD" Does any of the devs know what happened on HuggingFace?

From what I understood, they and many other large groups on huggingface got hacked

GrandaddyShmax avatar Jul 01 '23 22:07 GrandaddyShmax

I used it before I posted this issue, but then after that, it now shows "404 Invalid rev id: HEAD" Does any of the devs know what happened on HuggingFace?

From what I understood, they and many other large groups on huggingface got hacked

That's crazy. I tried the huggingface link you provided, but it keeps saying error when I use an example music file and then add a prompt. Is there any tips/tricks for MusicGen that I need to know?

ilikecoding777 avatar Jul 01 '23 22:07 ilikecoding777

I used it before I posted this issue, but then after that, it now shows "404 Invalid rev id: HEAD" Does any of the devs know what happened on HuggingFace?

From what I understood, they and many other large groups on huggingface got hacked

That's crazy. I tried the huggingface link you provided, but it keeps saying error when I use an example music file and then add a prompt. Is there any tips/tricks for MusicGen that I need to know?

Yeah that's because my huggingface version runs on cpu which cannot run this model.. so if you want to use huggingface you'll have to duplicate the space. alternatively you can use the colab, it is always up to date

GrandaddyShmax avatar Jul 01 '23 22:07 GrandaddyShmax

Thanks @GrandaddyShmax. The colab version of audiocraft doesn't exactly run like the colab audiocraft+. Audiocraft+ yields a public url after the execution.

Do we have to clone the audiocraft+ repo, run the python app.py and connect to that public url?

pramatias avatar Jul 01 '23 22:07 pramatias

Thanks @GrandaddyShmax. The colab version of audiocraft doesn't exactly run like the colab audiocraft+. Audiocraft+ yields a public url after the execution.

Do we have to clone the audiocraft+ repo, run the python app.py and connect to that public url?

if you run the repo locally, you do not need to use the public url, only the local one. But to be honest I never ran it locally so I cannot answer it with experience, don't have a good enough gpu.

GrandaddyShmax avatar Jul 01 '23 22:07 GrandaddyShmax

if you run the repo locally, you do not need to use the public url, only the local one. But to be honest I never ran it locally so I cannot answer it with experience, don't have a good enough gpu.

I run it on colab too, not locally. It just that with plain audiocraft, i ran it without gradio, just cells on the colab. In audiocraft+ i have to run the gradio on my computer, that's my question i guess. And then connect to the public url of audiocraft+ output.

I should have made it more clear the first time.

pramatias avatar Jul 01 '23 22:07 pramatias

if you run the repo locally, you do not need to use the public url, only the local one. But to be honest I never ran it locally so I cannot answer it with experience, don't have a good enough gpu.

I run it on colab too, not locally. It just that with plain audiocraft, i ran it without gradio, just cells on the colab. In audiocraft+ i have to run the gradio on my computer, that's my question i guess. And then connect to the public url of audiocraft+ output.

I should have made it more clear the first time.

oh I see now. yeah it's different, this colab creates you link for the webui. so if you are running colab you will need to enter that link and it will open up the webui with everything set up

GrandaddyShmax avatar Jul 01 '23 22:07 GrandaddyShmax

I'm running locally and why do I have this error? "huggingface.co/facebook/musicgen-melody/resolve/main/compression_state_dict.bin"

Also, I wanted to check with Colab, and it's the same error!

I was also looking for a file on Huggingface and it's removed for some reason.

nikollax avatar Jul 01 '23 23:07 nikollax

I'm running locally and why do I have this error? "huggingface.co/facebook/musicgen-melody/resolve/main/compression_state_dict.bin"

Also, I wanted to check with Colab, and it's the same error!

I was also looking for a file on Huggingface and it's removed for some reason.

Try using this colab: https://colab.research.google.com/github/camenduru/MusicGen-colab/blob/main/MusicGen_ClownOfMadness_plus_colab.ipynb

Or this Repo if you want to run locally: https://github.com/GrandaddyShmax/audiocraft_plus

GrandaddyShmax avatar Jul 01 '23 23:07 GrandaddyShmax

I'm running locally and why do I have this error? "huggingface.co/facebook/musicgen-melody/resolve/main/compression_state_dict.bin"

Also, I wanted to check with Colab, and it's the same error!

I was also looking for a file on Huggingface and it's removed for some reason.

pip uninstall audiocraft
pip install git+https://[email protected]/GrandaddyShmax/audiocraft_plus@85a5112#egg=audiocraft

Or just edit ..\env\Lib\site-packages\audiocraft\models\loaders.py to use GrandaddyShmax repo

HF_MODEL_CHECKPOINTS_MAP = {
    "small": "GrandaddyShmax/musicgen-small",
    "medium": "GrandaddyShmax/musicgen-medium",
    "large": "GrandaddyShmax/musicgen-large",
    "melody": "GrandaddyShmax/musicgen-melody",
}

rsxdalv avatar Jul 01 '23 23:07 rsxdalv

Issue appears to be resolved and the official repository is back up again.

rsxdalv avatar Jul 02 '23 07:07 rsxdalv