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...

КОМЕНТАРІ • 37

  • @karen-7057
    @karen-7057 11 місяців тому +1

    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

  • @bytexd_official
    @bytexd_official Рік тому +1

    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!

    • @1littlecoder
      @1littlecoder  Рік тому

      Thank you so much! Glad you found it helpful!

  • @tortiegirl9087
    @tortiegirl9087 Місяць тому +1

    Perfect explanation, thank you

  • @krishnachaitanya3089
    @krishnachaitanya3089 11 місяців тому +1

    The process is super perfect .Thank you

  • @marc1190
    @marc1190 Рік тому +2

    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...

  • @rushidesai8533
    @rushidesai8533 Рік тому +1

    You are the best youtuber i have ever seen

  • @GPCreations-fl6qz
    @GPCreations-fl6qz Рік тому +3

    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.

    • @1littlecoder
      @1littlecoder  Рік тому +1

      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?

    • @GPCreations-fl6qz
      @GPCreations-fl6qz Рік тому +1

      Yes I tried other ones and all is ok. Thanks again for a great informative channel 🙂

  • @user-re9gc1xt5d
    @user-re9gc1xt5d 6 місяців тому +1

    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

  • @catrocks
    @catrocks Рік тому +1

    Thanks for your videos ♥

  • @krishnachaitanya3089
    @krishnachaitanya3089 11 місяців тому +1

    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

  • @rufus9322
    @rufus9322 Рік тому +1

    Thank you!
    If I want to complete the demonstration of this video, which plan(google Colab) do I need to buy?

  • @fractalarbitrage
    @fractalarbitrage Рік тому +1

    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

    • @1littlecoder
      @1littlecoder  Рік тому +2

      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!

  • @MomStealer_The_II
    @MomStealer_The_II Місяць тому

    Good Job Amigo

  • @mjacfardk
    @mjacfardk Рік тому

    Thank you for your time

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Рік тому +2

    Do you have an introductory video on hugging face?

    • @1littlecoder
      @1littlecoder  Рік тому +2

      This is general no code introduction about all things Hugging Face ua-cam.com/video/x8gdOPO35HA/v-deo.html

  • @Prof-Reza
    @Prof-Reza 8 місяців тому +1

    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?

    • @1littlecoder
      @1littlecoder  8 місяців тому

      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.

  • @nic-ori
    @nic-ori Рік тому +1

    Thanks.

  • @user-gb9ie4is7k
    @user-gb9ie4is7k 5 місяців тому

    this does not run in colab anymore.. getting lots of errors

  • @nuransengul1439
    @nuransengul1439 11 місяців тому

    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.

  • @nithinma8697
    @nithinma8697 6 місяців тому

    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

    • @1littlecoder
      @1littlecoder  6 місяців тому

      You need to find how to install xformers for your OS and Hardware

  • @veli33yilmaz
    @veli33yilmaz 6 місяців тому

    Thank you for this tutorial. How can i run it in my computer?

  • @qepri
    @qepri Рік тому

    It could be possible to deploy this app and communicate with api endopoints?

  • @zohirjonsharipov6917
    @zohirjonsharipov6917 9 місяців тому

    Hi sir! How can I contact with you? I need your help please

  • @forheuristiclifeksh7836
    @forheuristiclifeksh7836 9 місяців тому

    1:28