SimpleTuner icon indicating copy to clipboard operation
SimpleTuner copied to clipboard

Got it working on Windows - need a tester

Open Helikaon23s opened this issue 11 months ago • 10 comments

Firstly - thank you u/bghira for this, impressive work.

Premise: I've literally just finished getting the cmd line shenanigans and the ui to work - haven't got around to actually seeing if the all of the ui and the actual training is working so far (my reward is a visit to the pub, so that'll be all for today lol).

Issue: I installed multiple packages to install everything and I've lost track of what the hell I've done in total - as my system has these packages installed, I can't repeat exactly what I've done, so I'm after assistance to test the method before I make a twat of myself releasing it as a fork or preferably adding it to the project, anyone ?

Method: I'll supply the instructions and method, you repeat it on your system and see if it works ok for you. My concern is that with all of the installed programs I have, an install won't be repeatable.

My system: 4090 24gb vram, 64gb ram on Windows 11.

Notes: the instructions will include making the venv and using Python 3.12, Cuda 12.8 and PyTorch 2.9.1 . My only interest in it (atm) is the music training, so for anyone watching this - it'll also need testing on the other trainers.

Helikaon23s avatar Dec 09 '25 17:12 Helikaon23s

if you're interested in contributing a target for setup.py i'd recommend labeling it cuda-windows so that users can pip install '.[cuda-windows] and it won't have to conflict or interfere with the Linux based dependencies.

i'm assuming you had to include custom windows triton wheels and other things like deepspeed which aren't distributed for it?

bghira avatar Dec 09 '25 17:12 bghira

also NCCL (multigpu comms library) doesn't work on Windows, which necessitates GLOO backend instead. no firsthand experience with that, but GLOO would also be required for eg. teaming up multiple Mac Studio systems.

bghira avatar Dec 09 '25 17:12 bghira

if you're interested in contributing a target for setup.py i'd recommend labeling it cuda-windows so that users can pip install '.[cuda-windows] and it won't have to conflict or interfere with the Linux based dependencies.

i'm assuming you had to include custom windows triton wheels and other things like deepspeed which aren't distributed for it?

Yes, the install complained about my pip installed triton-windows, so I might compile a fresh install instead . And yes, I used a DeepSeek whl for 12.8, which "should" be compatible . I couldn't get the pip install -e . to work, so I installed everything manually. My main interest in ai is getting things working on windows, even if I don't end up using them (lol), something I do in my retirement to keep my mind thinking.

Helikaon23s avatar Dec 09 '25 17:12 Helikaon23s

also NCCL (multigpu comms library) doesn't work on Windows, which necessitates GLOO backend instead. no firsthand experience with that, but GLOO would also be required for eg. teaming up multiple Mac Studio systems.

I've implemented gloo in a couple of installs I converted to windows (which miraculously worked), so I'll note that (thanks) and thank you again. I'm expecting more issues down the road as I click on the "Make it happen No 1" button. The whole install conversion started out being 100% recorded and ended up a mess, hence my request for a blind test.

Helikaon23s avatar Dec 09 '25 17:12 Helikaon23s

if windows devs aren't going to maintain the support they introduce, it solely becomes a burden for me, the only maintainer. but i applaud the effort

bghira avatar Dec 09 '25 19:12 bghira

if windows devs aren't going to maintain the support they introduce, it solely becomes a burden for me, the only maintainer. but i applaud the effort

I take your point, I wouldn't want to make work for you at all sorry,I think it'll be for the best if I just post my method and just leave it as an issue then (and close it).

Helikaon23s avatar Dec 09 '25 23:12 Helikaon23s

adding it as footnotes in INSTALL.md for unsupported setup that dedicated adventurers can use would be always helpful and accepted.

bghira avatar Dec 10 '25 00:12 bghira

For windows support atleast Flash Attention, Triton, SageAttention, etc all need to be "disabled" when the script detects windows since those packages don't support windows by default, though there are forks/adaptions that support Windows like https://github.com/woct0rdho/triton-windows

MeiYi-dev avatar Dec 16 '25 06:12 MeiYi-dev

For windows support atleast Flash Attention, Triton, SageAttention, etc all need to be "disabled" when the script detects windows since those packages don't support windows by default, though there are forks/adaptions that support Windows like https://github.com/woct0rdho/triton-windows

I have it running with the bare minimum , woct0rdho's triton and Deepspeed inside its own venv. The main initial problem was getting simpletuner to compile (rust, msvc, etc). I'm currently trying to get a dataset together to get it to make me a Lora for audio-step .

Helikaon23s avatar Dec 16 '25 07:12 Helikaon23s

Hello @Grey3016 , might you still be interested in other testers?

I happen to also use venv environments with Python 3.12, Cuda 12.8 and PyTorch 2.9.1 for training and other projects, as well. But with two 3090 cards on Windows 10.

ooofest avatar Feb 06 '26 01:02 ooofest