Kohya ss installation on Runpod for LoRA SDXL or SD training for stable diffusion

Поділитися
Вставка
  • Опубліковано 6 лют 2025

КОМЕНТАРІ • 23

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

    how do you open tensorboard on the kohya gui. It creates a local link url instead of a public one.

    • @AI-HowTo
      @AI-HowTo  Рік тому

      sorry no idea, only the GUI is easily obtained with gradio live link as seen in the video, for tensorboard alternatives might need to be applied such as those suggested on stackoverflow.com/questions/37987839/how-can-i-run-tensorboard-on-a-remote-server/59887887#59887887

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

    When i use kohya_ss and run image captioning, or training or anything -> i don't get any response from anything -> if i in runpod look at logs, there is nothing, like the button pressed are hitting the VOID :) HALP. links, sources, guides anything plz

    • @AI-HowTo
      @AI-HowTo  Рік тому

      sorry, never had this problem before, watch the video steps again, hopefully you can figure out what went wrong... if things didnt go well, then try looking up another Pod which has stable diffusion/Kohya already installed... at the time of preparing this video, cheaper Pods didnt have Kohya, so installing it like this was optimal for me.

    • @ralphieboysch
      @ralphieboysch 10 місяців тому

      I have the same issue. Note that this is about the captioning function, which I dont think you use in this tutorial. I am not sure why it is not working... do you have an idea?@@AI-HowTo

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

    Where is the UI where i can enter the prompts after training?

    • @AI-HowTo
      @AI-HowTo  Рік тому

      sorry, this is only for Kohya training installation on runpod (because SDXL training does work on lower VRAM computers), not for A1111 installation and prompting, Runpod has another template called Run diffusion which has A1111 installed and can be used for prompting

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

    Do you have to do this every time you want to load/run Kohya on runpod?

    • @AI-HowTo
      @AI-HowTo  Рік тому

      short answer is no: some pods have Kohya and other stable diffusion stuff pre installed, but might not always be available or be more expensive...
      on this pod, it was a cheap pod, i did install it manually, back then, there was no other pod that offers this service as part of the pod back then... once you install it, it stays, until you delete the pod, and you better delete it if you dont plan to use it daily, to avoid daily storage charges.

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

      @@AI-HowTo Thanks for the speedy reply!

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

    Hey! I tried everything how you explain it, but when I press the button "Start training" I geet "image folder path is missing". What am I doing wrong? My path is named "/workspace/data/img/40_myname man" and I made sure that the name matches the files on runpod. I even used "Copy path" to avoid any typing errors. Thanks a lot for your advice.

    • @AI-HowTo
      @AI-HowTo  Рік тому +1

      yes, you should only include the path up to image like this:/workspace/data/img
      the training images folder name must not be included only the parent folder

    • @AI-HowTo
      @AI-HowTo  Рік тому +1

      same applies for the class folder if you used regularization, we only include up to /class ... and not inlude the 1_man or 1_person in the paths in Kohya ... these are read automatically by Kohya in folder structure .... also incase you got an error after doing this fix ... and Kohya successfully loads up the number of images you got in each of the training folders, then no worries *double check how many images are being loaded to make sure it is correct during training*

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

      @@AI-HowTo Thank you so much for your help! It worked now. I wish you good luck with your channel. Your Guides are superb. Best regards from Germany.

    • @AI-HowTo
      @AI-HowTo  Рік тому

      Thank you so much for your kind words, best of luck to you as well.

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

      Runpod is a genuine disappointment, a theft... I tried it, and luckily, I didn't invest much money in it. Running a virtual machine felt more like playing a slot machine of fortune. One moment it works, you turn it off to try other configurations, and the next moment, you no longer have GPUs available, so you have to set up another machine, paying, of course. I don't like gambling; I despise it. It's a theft, a disappointment. Don't waste your money there. $10 just to train one LORA... thieves.

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

    Can you make the tutorial for google colab?

    • @AI-HowTo
      @AI-HowTo  Рік тому

      sorry, didnt use colab thus far, will check later if I could present something there as well.

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

    Runpod is a genuine disappointment, a theft... I tried it, and luckily, I didn't invest much money in it. Running a virtual machine felt more like playing a slot machine of fortune. One moment it works, you turn it off to try other configurations, and the next moment, you no longer have GPUs available, so you have to set up another machine, paying, of course. I don't like gambling; I despise it. It's a theft, a disappointment. Don't waste your money there. $10 just to train one LORA... thieves.

    • @AI-HowTo
      @AI-HowTo  Рік тому +1

      one must indeed by very careful about pricing and usage, prepare everything locally, then only do the final training there to avoid losing money ... I found it the lesser evil to avoid buying a very expensive GPU at the time being....I found most online options are at least as expensive as this option or more, not sure if there is a better service, in my tests, i did couple of LoRAs with less than $4 in total, but it is easy to spend lots of money there if the training results needed repeating and needed higher quality results, not sure what are your choices here, hopefully one can buy his own gear soon that is effective for these AI tests.

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

    Price of the GPU instances has gone up 25% in 3 weeks lol

    • @AI-HowTo
      @AI-HowTo  Рік тому

      true, many GPUs have got increase, life changes by the day these days, its really crazy, it is becoming like a rat race :)

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

      Runpod is a genuine disappointment, a theft... I tried it, and luckily, I didn't invest much money in it. Running a virtual machine felt more like playing a slot machine of fortune. One moment it works, you turn it off to try other configurations, and the next moment, you no longer have GPUs available, so you have to set up another machine, paying, of course. I don't like gambling; I despise it. It's a theft, a disappointment. Don't waste your money there. $10 just to train one LORA... thieves.