Open Wolchenok57 opened 2 weeks ago
Did you find a way?
I am facing the same problem.
Per related question ([https://github.com/bmaltais/kohya_ss/issues/2885]), it has been added in latest sd-script (SD3 branch).
This should be solved in the latest version, if you are still having issues please share the logs and the file of the model you are using.
A new undistilled version of flux.1 dev that may be easier to train (https://huggingface.co/nyanko7/flux-dev-de-distill ; https://huggingface.co/MinusZoneAI/flux-dev-de-distill-fp8), raised error: 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.
I tested this on fluxgym, comfyui-flux-trainer and flux branch of sd-scripts and it is the same between them all. Full traceback with launch (my env file is in fluxgym folder, i do not have infinite nvme ssd):
Default flux.1 dev fp8 works. And my 16 GB 4070 TiS handle training well. But with this new model, it makes this error. Is there anything that can be done to modify the code, or is it incompatible at all?