Is Kohya giving you errors or issues? How to reinstall, get working again to train your LoRA + cuDNN

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 มิ.ย. 2023
  • My Kohya installation was giving me trouble and I had to reinstall to get it working. I also cover where to get (and how to install) cuDNN libraries from NVIDIA.
    Items discussed in the video:
    github.com/bmaltais/kohya_ss
    developer.nvidia.com/rdp/cudn...
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @anchan4540
    @anchan4540 ปีที่แล้ว +1

    I really appreciate this guide as it finally got my Kohya working, thank you man

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

    Thanks, man.🙂👍
    My kohya installation wasn't working, since I didn't start the installation with administrators rights.
    Your video helped me out, now it works.

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

    I'm having fits getting Kohya to install and function properly. This YT video gives me hope. Will follow your excellent guidelines and perhaps, God willing, finnaly succeed in training my first LoRA. Even if it fails, thank you for doing this excellent how-to. Much appreciated.

    • @zoewilliams2010
      @zoewilliams2010 3 วันที่ผ่านมา

      any luck? 6th install im fuming in rage. lol. But I'm trying to do it with CUDA 12.1. which should be possible because you can literally find precompiled cuda 12.1 files in the kohya directory and found people online doing it. but no luck yet. trying millions of combos of torch and onnx gui and nightly builds oh my god... ill update if figure it out.

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

    Thank you! This worked for me. I don't know why using git clone gave me a different outcome than downloading the source code zip file.

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

    ERES UN GENIO! ME SALVASTE! muchas gracias por el tutorial!

  • @dude_0458
    @dude_0458 ปีที่แล้ว +2

    after an upgrade my kohya stopped working. I tried reinstalling but still doesn't work. I stumble onto this video, followed step by step and now it's working again. Thank you very much!!!!!!!!!!!!!!!!!!!!!!!!!!!

    • @renaissancelaboratories5645
      @renaissancelaboratories5645  ปีที่แล้ว +1

      Glad it worked for you! Same thing happened to me. Things are changing rapidly but it’s fun!

  • @MotuDaaduBhai
    @MotuDaaduBhai ปีที่แล้ว +3

    I followed all the instruction. Still getting an error saying "ModuleNotFoundError: No module named 'tkinter'".

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

    You are a lifesaver ! Thanks

  • @skinnyshitt9328
    @skinnyshitt9328 ปีที่แล้ว +1

    damn, thanks mate, this work for me!

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

    My Kohya isn't recognizing images to get it trained and I'm also using an AMD gpu I don't know what to do I'm stuck.

  • @RikkTheGaijin
    @RikkTheGaijin ปีที่แล้ว

    Thank you! It worked!

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

    Wonderful work

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

    After updating kohya it's just errors and errors and errors, training part is giving me lot of errors, it was working good before. I am going to install it fresh. And if it doesn't work after a fresh install ( training, that is what it is for) I am not going to touch it again ,for few days.

  • @RikkTheGaijin
    @RikkTheGaijin ปีที่แล้ว

    when I do the training I get this message over and over: "A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton'"

  • @aksujonne6906
    @aksujonne6906 ปีที่แล้ว

    When i try to download torch 2 (same as my stable diffusion) my pc stops working and after a while everything slows down a lot

  • @skwjisin
    @skwjisin ปีที่แล้ว

    hi, I have installed it many times and when I go into the web page, none of the buttons work or responding, it all shows grey colour....do you know how to fix this? please

  • @Xathian
    @Xathian ปีที่แล้ว

    Can't figure out why this doesn't work for me. When you run setup, you get the Creating venv part then you get dropped into that menu with options. For me, it creates the venv then drops me back to the command line. The files are created, seemingly, but I don't get to use any of the options. The install is half broken, the gui runs but nothing works

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

      Hello, this is interesting feedback. I'm about to try installing Kohya on a different machine to see if I get errors. It's worth noting that I have Automatic1111 installed already before I installed Kohya. Maybe something from the other install is carrying over to Koyha.

  • @rinpsantos
    @rinpsantos ปีที่แล้ว

    You saved my day.

    • @renaissancelaboratories5645
      @renaissancelaboratories5645  ปีที่แล้ว

      I'm glad it worked for you! Things are changing quickly so I try to keep on top of it. Thanks for watching.

  • @bradcasper4823
    @bradcasper4823 ปีที่แล้ว

    At 7:16 I'm getting this error:
    'findstr' is not recognized as an internal or external command,
    operable program or batch file.

    • @bradcasper4823
      @bradcasper4823 ปีที่แล้ว +1

      Found the solution, hope this helps
      th-cam.com/video/xlVvoCsSzPs/w-d-xo.html

  • @zankpito
    @zankpito ปีที่แล้ว

    and also, I got this message when train a model : A matching Triton is not available, some optimizations will not be enabled.
    Error caught was: No module named 'triton'. How to fix that?

    • @renaissancelaboratories5645
      @renaissancelaboratories5645  ปีที่แล้ว

      Hello, from what I can tell a Triton issue lies somewhere between xformers and cuda. You might want to try a full reinstall of Kohya and cudnn libraries.

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

    Kohya is hek of a headache. It was good before. Lots of troubleshooting required to get it working just for few loras.

  • @dkmegalegendario
    @dkmegalegendario ปีที่แล้ว

    how can i know which torch i am using?, i followed all the steps i selected torch 1 just because i didnt know wich one was the right one, then i open the gui file and the console opens and closes quick,

    • @renaissancelaboratories5645
      @renaissancelaboratories5645  ปีที่แล้ว +2

      If it's still failing, maybe try a removing everything and a reinstall with Torch 2.
      Also, if you are starting the BAT file by double clicking and it is opening and closing to quickly to see any errors, try going to Start, opening a command prompt, changing directory to where Kohya is installed, and type the batch file name in the command window. It will execute the batch file, and won't automatically close the window so you can see the error. Let me know how it goes!

  • @SethSmith354
    @SethSmith354 ปีที่แล้ว +1

    16:32 I just wanted to know you made your own bat file because I can't see this anywhere?

    • @renaissancelaboratories5645
      @renaissancelaboratories5645  ปีที่แล้ว +1

      Yes, I made that. It sits on the desktop and just gives a little more control to launch Kohya than having a shortcut to gui.bat

    • @SethSmith354
      @SethSmith354 ปีที่แล้ว

      @@renaissancelaboratories5645 Thank you! you are a lifesaver!

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

    i'm getting this error "C:\kohya\kohya_ss>setup
    'findstr' is not recognized as an internal or external command,
    operable program or batch file."

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

    I can't find 'Start tensorboard ' Button , Can you tell how to fix it please?

  • @lioncrud9096
    @lioncrud9096 ปีที่แล้ว +1

    It worked for me! Also, can't believe my system still defaults to Microsoft Edge as a browser. Yuck. Gotta change that.

  • @zealgaming8161
    @zealgaming8161 ปีที่แล้ว +2

    There's a great lack of LoRA training information on the web, i don't know what 90% of what's in the Kohya_SS does.... Everytime i experiment outside doing the only build i found that generate good LoRA's it either just Critically errors or generate incoherent shit.

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

    even the 1st line of command does'nt work for me..

  • @user-pc7ef5sb6x
    @user-pc7ef5sb6x ปีที่แล้ว

    I dont see upgrade in my file. Is it named something else?

    • @user-pc7ef5sb6x
      @user-pc7ef5sb6x ปีที่แล้ว

      nevermind. it's replaced with setup.bat

    • @user-vg9gf5di4l
      @user-vg9gf5di4l 11 หลายเดือนก่อน

      @@user-pc7ef5sb6x how did you know it was replaced with setup.bat? i can't see the upgrade in my file too.

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

    Hm okay, that didnt really help me, cause the "Triton" module is still missing

  • @Bluray2
    @Bluray2 ปีที่แล้ว

    Installing Lora i had billions of different errors, insanely much. Wasted 8 hours and any of Captioning still not working.

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

    Why are all these Stable Diffusion apps so insanely difficult to install? SDXL wont install, it bluescreen and hard crashes my PC. Tried installing this, ran through every one of the three hundred hoops you have jump through, ran the setup.bat and immediate error. Reinstalled Python, redistributables etc....error after error after error. Getting ANYTHING installed is a major achievement by itself. Running it is a whole 'nother level of extra tedium.

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

    Hey, can i run khoya ss on AMD Radeon 7900xtx?

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

    the desktop bat should be------>
    @echo off
    cd /d D:\kohya_ss\kohya_ss
    If you are using another drive. but great tutorial but it sadly didn't work for me. still got the error.