Patrefans
Furkan Gözükara from patreon
Furkan Gözükara patreon

OneTrainer FLUX LoRA Training Full Tutorial For Local Windows and Cloud Massed Compute

🕑 Added 2024-09-10 16:49:36 +0000 UTC

Comments

Furkan Gözükara

hello. onetrainer should support atm but i havent had a chance. when prompting after the training, are you in details describing the clothing? it should fix this in flux training. also if you can find different clothing having images in training dataset it would work way better

Vlad

Hey! Are there any new changes? I have already trained on your config Kohya_FLUX_DreamBooth with my 12GB VRAM, excellent results, but I have bad dataset, out of 30 photos in dataset which 15-20 photos a person in a coat, FLUX constantly makes a person in the same coat, and does not want to change to another coat or jacket, but can change to a suit for example. I have to use inpaint or vton to make different clothes in dataset, and make a good training with my bad dataset. OneTrainer not added yet support for DreamBooth training with 12GB VRAM? I would like to train with Masked Training, maybe it would solve the problem with clothing.

Furkan Gözükara

yes i will do hopefully once FP8 gets added

楠 陈

I hope you can do more research on OneTrainer. At present, I think OneTrainer is better than Kohya.

Furkan Gözükara

no bf16_nf4 is worse. best config is rank 1. currently one trainer is bad compared to Kohya unless you have like 40 GB VRAM GPU since it doesn't have working FP8. only nf4 works and it is lower quality. i wait fp8 to do further research

楠 陈

If bf16_nf4 is better than bf16_bf16, then the best configuration should be RANK2?

Furkan Gözükara

if you make your own docker sure it can be. but i put it into a public repo atm so you dont need login etc

Antonis

is the flux base always have to be fetched from HF? Can it not be encapsulated on a docker container?

Furkan Gözükara

fixed now should work directly

Furkan Gözükara

ok you need to set access token . to save you from this step i will clone repo. give me some time and update configs

楠 陈

Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/0ef5fff789c832c5c7f4e127f94c8b54bbcced44/model_index.json. Access to model black-forest-labs/FLUX.1-dev is restricted. You must have access to it and be authenticated to access it. Please log in. Traceback (most recent call last): File "E:\OneTrainer\OneTrainer\modules\ui\TrainUI.py", line 552, in __training_thread_function trainer.start() File "E:\OneTrainer\OneTrainer\modules\trainer\GenericTrainer.py", line 122, in start self.model = self.model_loader.load( File "E:\OneTrainer\OneTrainer\modules\modelLoader\FluxLoRAModelLoader.py", line 46, in load base_model_loader.load(model, model_type, model_names, weight_dtypes) File "E:\OneTrainer\OneTrainer\modules\modelLoader\flux\FluxModelLoader.py", line 261, in load raise Exception("could not load model: " + model_names.base_model) Exception: could not load model: E:/stable-diffusion-webui-forge/webui_forge_cu121_torch231/webui/models/Stable-diffusion/flux1-dev.safetensors


More Creators