Run Hugging Faces Spaces Demo on your own Colab GPU or Locally
Вставка
- Опубліковано 22 сер 2024
- Many GPU demos like the latest fine-tuned Stable Diffusion Demos on Hugging Face Spaces has got a queue and you need to wait for your turn to come to get the result. This takes a lot of time to run even when some demos on Hugging Face Spaces run on GPU.
To solve this, You can download the code and model from Hugging Face Spaces and run it on Google Colab GPU or on your own GPU Locally.
This video teaches you how to take fine-tuned Stable Diffusions Demo from Hugging Face Spaces and run it on Google Colab GPU.
Google Colab Alternatives - • 3 Google Colab GPU Alt...
Colab used in the video - colab.research...
Thank you so much. Following your tutorial i was able to make another huggingface space work perfectly on my local jupyter notebook. Cheers from Argentina
This is perfect. You really nailed it with this tutorial. Myself, and most likely lots of people, avoid using Hugging Face spaces because of the long wait times. Thanks so much!
Thank you so much! Glad you found it helpful!
Perfect explanation, thank you
You are welcome!
The process is super perfect .Thank you
Thanks dude, I used this as a guide to clone and run hugging face spaces on my laptop. I was almost there, just missing the pip install requirements...
You are the best youtuber i have ever seen
First I can't thank you enough for your videos. I learn a lot from you. My question is that when I tried running the colab notebook I got this error: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torchtext 0.14.0 requires torch==1.13.0, but you have torch 1.12.1+cu113 which is incompatible.
torchaudio 0.13.0+cu116 requires torch==1.13.0, but you have torch 1.12.1+cu113 which is incompatible.
Thank you, I think it might be one of the demos where the cuda has got some conflict. Did you try the same strategy with some other hugging face spaces?
Yes I tried other ones and all is ok. Thanks again for a great informative channel 🙂
When I am trying to clone illusion diffusion demo in colab, after launching app.py then it says spaces is not defined. Now what could I do
I also have this problem
Thanks for your videos ♥
Glad you like them :)
Arcane, Archer, Elden Ring, Spiderverse, Modern Disney, Waifu, Pokemon, Fuyuko Waifu, Pony, John, Robo, Cyberpunk Anime
which one should i use for image uploading everything is giving error when image is uploaded
Thank you!
If I want to complete the demonstration of this video, which plan(google Colab) do I need to buy?
awesome stuff that even a layman can do. What GUI or basic way would you do this to show up on the front end if you made a simple app on digital ocean? Gradio still or another? Cheers
If you don't need authentication I'd go with Gradio but if it's required then i'd go with flask or streamlit or dash or other options based on what we want to!
Good Job Amigo
Thank you for your time
Thanks for checking it out!
Do you have an introductory video on hugging face?
This is general no code introduction about all things Hugging Face ua-cam.com/video/x8gdOPO35HA/v-deo.html
Is there a way to host a gradio app somewhere other than HuggingFace Spaces? Can you permanently run it on Google cloud and a get a URL or embed code?
Tbh hugging face is the easiest free option for a permanent link. Colab will run out after a given time. If you want a paid version then you can host it in any server that can run gradio.
Thanks.
You're welcome 🙂
this does not run in colab anymore.. getting lots of errors
I'm having an issue with my access to Google Colab. I'm unable to log in due to an access restriction.
Can you please help me resolve this issue?
I appreciate your help in advance.
When running: "! pip install -r requirements.txt -q" command. Getting an error like this:"ERROR: xformers-0.0.15.dev0+4c06c79.d20221205-cp38-cp38-linux_x86_64.whl is not a supported wheel on this platform." please help to resolve
You need to find how to install xformers for your OS and Hardware
Thank you for this tutorial. How can i run it in my computer?
It could be possible to deploy this app and communicate with api endopoints?
Hi sir! How can I contact with you? I need your help please
1:28