Patrefans
Aitrepreneur from patreon
Aitrepreneur patreon

1-Click INSTALL Ai-TOOLKIT WAN 2.2 LORA TRAINING!

🕑 Added 2025-08-31 18:17:22 +0000 UTC
1-Click INSTALL Ai-TOOLKIT WAN 2.2 LORA TRAINING!

Comments

Shad Armstrong

Second this, please!

newtoai

Hi. Could you please fix the auto installation for offline use ?

Vaivij

Hi, I get the following error running L40S on Runpod: Generating baseline samples before training Generating Images: 0%| | 0/10 [00:00 File "/workspace/ai-toolkit/run.py", line 120, in main()main() File "/workspace/ai-toolkit/run.py", line 108, in main File "/workspace/ai-toolkit/run.py", line 108, in main raise eraise e File "/workspace/ai-toolkit/run.py", line 96, in main File "/workspace/ai-toolkit/run.py", line 96, in main job.run()job.run() File "/workspace/ai-toolkit/jobs/ExtensionJob.py", line 22, in run File "/workspace/ai-toolkit/jobs/ExtensionJob.py", line 22, in run process.run()process.run() File "/workspace/ai-toolkit/jobs/process/BaseSDTrainProcess.py", line 2007, in run File "/workspace/ai-toolkit/jobs/process/BaseSDTrainProcess.py", line 2007, in run self.sample(self.step_num)self.sample(self.step_num) File "/workspace/ai-toolkit/extensions_built_in/sd_trainer/DiffusionTrainer.py", line 288, in sample File "/workspace/ai-toolkit/extensions_built_in/sd_trainer/DiffusionTrainer.py", line 288, in sample super().sample(step, is_first)super().sample(step, is_first) File "/workspace/ai-toolkit/jobs/process/BaseSDTrainProcess.py", line 367, in sample File "/workspace/ai-toolkit/jobs/process/BaseSDTrainProcess.py", line 367, in sample self.sd.generate_images(gen_img_config_list, sampler=sample_config.sampler)self.sd.generate_images(gen_img_config_list, sampler=sample_config.sampler) File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context return func(*args, **kwargs)return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/ai-toolkit/toolkit/models/base_model.py", line 645, in generate_images File "/workspace/ai-toolkit/toolkit/models/base_model.py", line 645, in generate_images img = self.generate_single_image(img = self.generate_single_image( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/ai-toolkit/extensions_built_in/diffusion_models/wan22/wan22_14b_model.py", line 542, in generate_single_image File "/workspace/ai-toolkit/extensions_built_in/diffusion_models/wan22/wan22_14b_model.py", line 542, in generate_single_image output = pipeline(output = pipeline( ^^^^^^^^^^^^^^^^^^ File "/workspace/ai-toolkit/extensions_built_in/diffusion_models/wan22/wan22_pipeline.py", line 242, in __call__ File "/workspace/ai-toolkit/extensions_built_in/diffusion_models/wan22/wan22_pipeline.py", line 242, in __call__ noise_pred = current_model(noise_pred = current_model( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl return self._call_impl(*args, **kwargs)return self._call_impl(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl return forward_call(*args, **kwargs)return forward_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/diffusers/models/transformers/transformer_wan.py", line 663, in forward File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/diffusers/models/transformers/transformer_wan.py", line 663, in forward hidden_states = block(hidden_states, encoder_hidden_states, timestep_proj, rotary_emb)hidden_states = block(hidden_states, encoder_hidden_states, timestep_proj, rotary_emb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl return self._call_impl(*args, **kwargs)return self._call_impl(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl return forward_call(*args, **kwargs)return forward_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/diffusers/models/transformers/transformer_wan.py", line 474, in forward File "/workspace/ai-toolkit/venv/lib/python3.12/site-packages/diffusers/models/transformers/transformer_wan.py", line 474, in forward self.scale_shift_table + temb.float()self.scale_shift_table + temb.float() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^~~~~~~~~~~~~~~~~~~~~~~~~~~ RuntimeErrorRuntimeError: : Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

Nils Johan Anti

theres some issue when running this locally where it doesnt set up a venv the correct way and will fetch torchaudio etc. from global python, paste the error code into gemini/qwen etc. (not chatgpt doesnt work) and you will get a guide on getting it working

simon

it is unreliable my 10 $ wasted for nothing you cant leave the pc or you wont know if its running or not ostris official is better n reliable

James

I intend to run locally on my 4090. Appears to be a standalone install. Most of my python direct interaction is under comfuyi standalone, but I also have separate miniconda environments to support ST, etc. Do you suggest setting up a new conda environment before running your standalone bat installer (with your specified python version, and cuda 12.8 is already on my base Win 11 system). Anything I should know before jumping in and trying it?

Senpai Ashua

Can u do it for Mimic too? Or a video how to install what u need for working. Because runpod is not my favourite. Quite expensive with time. Or anyone knows how i can install all and what i n eed to install to get wan workflow working on mimicpc comfy?

Florin-Mihai Cosma

hello, i try to finish setup, but when i try to connect to htts 8675 port, i reiceve error: Bad gateway Error code 502, what can i do? Thanks

JAMES M BOWEN

Anyone else having issues running this throug the Run pod? I did exactly as the video showed, once i paste the 2 lines of code and hit Enter, it starts downloading everything then fails and just stops there??


More Creators