filliptm / ComfyUI_FL-Trainer

140 stars 19 forks source link

Not working, Kohya command crashes #2

Open k8kiss opened 3 months ago

k8kiss commented 3 months ago

Hello, I am trying the example workflow ComfyUI_FL-Trainer, since no file to load the workflow is provided, I tried to put it together like the one in the image. Once I start the training, the Kohya command window opens but it crashes. See attached screenshot.

Thanks in advance for any guidance! hgjyujuyujtrutyutyuty

filliptm commented 3 months ago

did you run the easytrain as the first thing you tested?

k8kiss commented 3 months ago

First I tried the workflow. Then after that I tried the Easytrain and also Khoya command window crash. Have you found a fix? Should I update and try again?

azhagurajpandians commented 3 months ago

I am also getting the same error. Any fixes? djv_view_GiBVwULkMn

EmmanuelMr18 commented 3 months ago

I was having the same issue and looks that the problem is the library diffusers https://huggingface.co/playgroundai/playground-v2.5-1024px-aesthetic/discussions/5

  1. Based on that, I just installed it on my computer: pip install git+https://github.com/huggingface/diffusers Should this library be declared in the requirments.txt?
  2. After doing that I got another error that was because I was using SDLX configuration but a SD1.5 checkpoint.
  3. I got another error related to xformers "xFormers wasn't build with CUDA support" Based on this, I just disabled xformers in the workflow, https://github.com/kijai/ComfyUI-SUPIR/issues/122.

Now is working for me.

Conclusion:

Installing diffusers library: pip install git+https://github.com/huggingface/diffusers Using this workflow (just make sure to disable xformers and use the correct checkpoint): workflow (9).json

Just one question about the performance, I'm going at 2.12it/s on a RTX 4090, is this normal? I'm using 16 images (512px x 512px), and 15 num_repeats