ComfyUI - Vast.ai: tutorial - how to rent cheap high VRAM GPUs for your AI art

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024

ความคิดเห็น • 43

  • @brgtubedev001
    @brgtubedev001 6 หลายเดือนก่อน +2

    Thank you for showing us how to set up this method of cloud computing. You have an excellent way of explaining the method. Good luck to you and your channel!

    • @koalanation
      @koalanation  6 หลายเดือนก่อน

      Thanks to you for watching!

  • @victorrochin2616
    @victorrochin2616 7 หลายเดือนก่อน +2

    Just what I needed! Once that I need to delete my instance and pick up my work the next day, is there a way of saving my data and pick up where I left later in another instance?

    • @koalanation
      @koalanation  7 หลายเดือนก่อน +1

      You need to synchronise with Dropbox or Blackblaze. Last time I checked with Google Drive did not work. You can always stop the instance, but you have to pay full price, unfortunately.
      Alternatively, you can transfer files from a local computer via SSH or use another cheaper instance for storage, but then you depend on the owner of the instance.

  • @TheFusssi
    @TheFusssi 2 หลายเดือนก่อน

    Thank you :) I got it working with the pytorch version!

    • @koalanation
      @koalanation  2 หลายเดือนก่อน

      Excellent! Have fun

    • @TheFusssi
      @TheFusssi 2 หลายเดือนก่อน

      @@koalanation short catch-up -> used it multiple times now + adapted your script and it works like a charm. Thank you very much for the video, as without it I would either have spended way more time setting it up or even have given it up before getting it to work.

    • @koalanation
      @koalanation  2 หลายเดือนก่อน

      @@TheFusssi good to hear!

  • @Vinny_views
    @Vinny_views 9 หลายเดือนก่อน +1

    Stable diffusion fast is missing from the template

    • @koalanation
      @koalanation  9 หลายเดือนก่อน +4

      Try with the pytorch template.

  • @alexlindgren1
    @alexlindgren1 10 หลายเดือนก่อน +1

    Thanks for this! I want to set up a ComfyUI API instead, so I can send a request from another server and retrieve the generated images, how would you recommend me doing this?

    • @koalanation
      @koalanation  10 หลายเดือนก่อน

      This is a little beyond my expertise. I have seen a tutorial for stable diffusion A1111 with endpoints for runpod. Maybe you want to look at it to get some ideas how to do it for comfyui.

  • @prasanthrajappan4401
    @prasanthrajappan4401 11 หลายเดือนก่อน +1

    how can i have an api to this set up to access it externally

    • @koalanation
      @koalanation  11 หลายเดือนก่อน

      Hi! I am not a technical person, not sure of what your question is. In vast.ai there is some documentation about API. I understand access to the VM can be done via SSH/SCP but I just simply download the requirements via git clone and wget, and use jupyterlab to upload/download from my local machine . Access to Google/drive and Dropbox is possible, but I have not used it. Sorry I cannot help more.

  • @Mnbir
    @Mnbir หลายเดือนก่อน

    Greate Video, Thanks

  • @congtaihu1287
    @congtaihu1287 6 หลายเดือนก่อน

    i could not find the template you are referring to

    • @koalanation
      @koalanation  6 หลายเดือนก่อน

      Use the pytorch template

  • @yasinaydn763
    @yasinaydn763 5 หลายเดือนก่อน +1

    can you share scripts again? pastebin is not working.

    • @koalanation
      @koalanation  5 หลายเดือนก่อน

      Hi! It works for me...🤔 Anyways, I think I may need to update it. To begin, you can use more general templates, new versions of pytorch, etc...I think it is also valuable to connect to have the models/files in backblaze and sync it, instead of downloading everything every time. Takes the same time, but at least you keep the work....

  • @EchoesofHeartbreak
    @EchoesofHeartbreak 11 หลายเดือนก่อน +1

    owesome :)

    • @koalanation
      @koalanation  11 หลายเดือนก่อน

      Thanks! I am glad you liked it

  • @momoe7563
    @momoe7563 10 หลายเดือนก่อน

    Great tutorial, do you think it's possible to edit the template for it to automatically install comfyui with the user going into Jupiter?

    • @koalanation
      @koalanation  10 หลายเดือนก่อน

      Thanks!
      I think it should be possible to make a jupyter notebook from the script. I tried at some moment but I had some issues and decided it was faster to directly just copy and paste the script in the terminal. I have the code in a Google Docs document, which I use every time I want to use vast.ai

  • @Scramit
    @Scramit 9 หลายเดือนก่อน

    why i don't have manager in your interface?

    • @koalanation
      @koalanation  9 หลายเดือนก่อน

      In the script the manager should be installed. Anyway, follow the instructions in the GitHub:
      From the ComfyUI folder
      1- cd custom_nodes
      2- git clone github.com/ltdrdata/ComfyUI-Manager.git
      3- Restart ComfyUI

  • @saberkz
    @saberkz 20 วันที่ผ่านมา

    Do i need to install the plugin and all each time i run it

    • @koalanation
      @koalanation  20 วันที่ผ่านมา

      Unfortunately, using vast.ai, you need to run the script everytime. With other services, like runpod, you can have permanent storage and then you do not need to download all nodes and models everytime.

    • @saberkz
      @saberkz 20 วันที่ผ่านมา

      @koalanation what about google colab ? Whos better

    • @koalanation
      @koalanation  20 วันที่ผ่านมา

      @@saberkz with Collab I think the best thing is you can easily connect and mount Google drive. For the price others are typically cheaper.

  • @Mindset2Work
    @Mindset2Work 9 หลายเดือนก่อน

    Is the choise of the preprocessor / cpu important?

    • @koalanation
      @koalanation  9 หลายเดือนก่อน

      To be frank, I am not sure. I try to use what is available and so far my needs are covered

  • @AIWarper
    @AIWarper 10 หลายเดือนก่อน

    Do you have to do this literally every time you launch? Also, there is no "fast" template anymore

    • @koalanation
      @koalanation  10 หลายเดือนก่อน +1

      If you destroy your instance at the end of the work to keep the costs low, yes. Alternatives are to using your cloud storage or to create your own docker container with the basic models and nodes you normally use.
      Instead of the fast template, you can use the pytorch template.

    • @AIWarper
      @AIWarper 10 หลายเดือนก่อน

      @@koalanation how would I go about the latter (creating the docker)?

    • @koalanation
      @koalanation  10 หลายเดือนก่อน

      @@AIWarper if you are using a 'base' of models and nodes and not changing many things, I think it should not be very difficult to create an image, if you know how to use docker. I have not done it myself, though.
      If you like to try things and you have good reference workflows, I think the fastest is to only install ComfyUI and ComfyUI manager, then use the install missing nodes feature from the manager, and install the models with the manager too. But yes, the cheapest solution may not be optimal if you want not to run these scripts anytime.

  • @2DPTuts
    @2DPTuts 4 หลายเดือนก่อน

    i wonder if its possible to get this to run on krita

    • @koalanation
      @koalanation  4 หลายเดือนก่อน +1

      There is a guide with a Krita template for runpod or vast.ai: github.com/Acly/krita-ai-diffusion/wiki/Cloud-GPU
      Never tried, though