Skip to content

Qwen Image LoRA Training Tutorial on RunPod using Diffusion Pipe

Not downloaded yet
youtube.comhttps://www.youtube.com/watch?v=hXnFChMvLwg

I've updated the Diffusion Pipe template with Qwen Image support!

You can now train the following models in a single template:

  • Wan 2.1 / 2.2
  • Qwen Image
  • SDXL
  • Flux

This update also includes automatic captioning powered by JoyCaption.

Enjoy!

24 points10 comments
Open on Reddit
About this post
Posted
Archived
Score
24 · 87% up
Kind
Image
ID
1olnwl4

Author

261
posts
706
comments
472
media
View profile

12 comments

Flux doesn't seem to work for me. It always fails with a missing .toml file. First it was example/flux.toml. I thought maybe I screwed something up during the first setup, so I blew away the pod and the network drive, started from scratch, and this time it fails missing dataset.toml. The Qwen LoRA completed, but no output folder. Here is the error using flux:

rank0]: Traceback (most recent call last): [rank0]: File "/workspace/diffusion_pipe_working_folder/diffusion_pipe/train.py", line 358, in <module> [rank0]: with open(config['dataset']) as f: [rank0]: FileNotFoundError: [Errno 2] No such file or directory: 'examples/dataset.toml' [rank0]:[W1102 03:27:08.759049954 ProcessGroupNCCL.cpp:1479] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator()) [2025-11-02 03:27:12,052] [INFO] [launch.py:319:sigkill_handler] Killing subprocess 5177 [2025-11-02 03:27:12,052] [ERROR] [launch.py:325:sigkill_handler] ['/usr/bin/python3', '-u', 'train.py', '--local_rank=0', '--deepspeed', '--config', 'examples/flux.toml'] exits with return code = 1

1 points

Try without a network storage. It can mess things up if used before with previous template.

I do my best to make adaptations for that in the code, but it’s not perfect.

2 points

Thanks, I got back around to this today, it worked not using network storage.

1 points

Is this sub so interested in character Lora because people are making digital influencers? Digital pron stars? I’ve never fully understood the character Lora obsession around here.

-3 points

I would also add celebrity deepfakes, given the number of celebrity LoRAs that used to be hosted on civitai and tensorArt (now people have to train those themselves, I guess).

3 points

I personally train my friends (for shitposting group messages, effectively), my wife (mostly fantasy type image backgrounds), and my daughters and my niblings for birthday cards, birthday decorations, etc.

For instance, my daughter’s birthday theme this year was Superkitties so I trained a Lora on her and one on Superkitties so I could make stuff for it.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.