Hello everyone. I am Dr. Furkan Gözükara. PhD Computer Engineer. SECourses is a dedicated YouTube channel for the following topics : Tech, AI, News, Science, Robotics, Singularity, ComfyUI, SwarmUI, ML, Artificial Intelligence, Humanoid Robots, Wan 2.2, FLUX, Krea, Qwen Image, VLMs, Stable Diffusion
@Dr. Furkan Gözükara i've ran some test. it seems to crash when physical memory is depleted, even though it has virtual memory left. Both are going down steadily, but once i run at out physical memory it crashes.
Dr Furkan I download the model and the other files with your script (Windows_Download_Training_Model_Files) and the error repeats in every try. I did a fresh install of Kohya ss and nothing that I did solve this error:
KeyError: 'time_embed.0.weight' Traceback (most recent call last): File "C:\Users\Marcos\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\Marcos\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "Q:\kohya_ss\venv\Scripts\accelerate.EXEmain.py", line 7, in <module> File "Q:\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 47, in main args.func(args) File "Q:\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1017, in launch_command simple_launcher(args) File "Q:\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 637, in simple_launcher raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd) subprocess.CalledProcessError: Command '['Q:\kohya_ss\venv\Scripts\python.exe', 'Q:/kohya_ss/sd-scripts/train_db.py', '--config_file', 'Q://config_dreambooth-20241007-122824.toml']' returned non-zero exit status 1.
If you are interested in using AI, generative AI applications, open source applications in your computer, than this is the most fundamental and important tutorial that you need. In this tutorial I show and explain how to properly install appropriate Python versions accurately, how to switch between different Python versions, how to install diffe...
Hi, @Dr. Furkan Gözükara Did you try training OpenFLUX / Schnell with kohya's latest commits on sd3-flux.1 branch ? I always get a NotImplemented error. tried on torch 2.4.1 and 2.5.0
NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.
NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.
Dr. how to set Kohya SS, in a DreamBooth FLUX Train, to save the train every "x" steps if I need to stop the train and restart it before exactly where I stopped?
When fine tuning flux, any suggestions on lora_rank? The default on the replicate trainer is 16, and it says higher numbers capture more features but take longer to train. Any guidance on this?
NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.
NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.