kohya-ss / kohya-ss/sd-scripts
Exactly same libraries both Linux and Windows and Windows is widly slower what could be reason? FLUX Fine Tuning
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.2k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
I just tested FLUX Fine Tuning on Windows (RTX 5090) and Linux (RunPod RTX 5090 and Massed Compute RTX 6000 PRO)
The thing is on Linux the training speed is at least 25% faster than Windows
I am using Adafactor optimizer and Full bf16 training
How could it be?
No block swap used in all tests since it fits into 32 GB VRAM
I am using Torch 2.8 and CUDA 12.9 exactly same libraries on both platforms
There weren't this much difference before
Moreover I was getting like 8.5 second / it before on RTX 3090 TI on Windows and now exactly same config is around 11 second / it on Windows
How can we debug reason you think? What could be the culprit? @kohya-ss
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are named. Start by reproducing FLUX fine tuning with Torch 2.8, CUDA 12.9, Adafactor, full bf16, and no block swap on the reported Windows and Linux hardware; done means identifying and documenting the cause of the timing difference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100