Hehehe, I've been using it since i start knowing about it few months ago. But i just used the base Vpred because the other vpred models tend to fuse with some styles which for me ruin it. If i want style i just use style loras
Can you share me example of that if possible for me to learn? I didn't really use Comfy yet. Just generating right from Stability Matrix Inference tab π
Might be a too high LR; check that + make sure to compare the dim/alpha settings. They also influence the "real" LR
that's what bugging me too as i directly follow the setting from HS and i turned out like thatπ
The resource you linked to also uses AdamW8bit and not adafactor like in the config you posted above (although not sure since both are mentioned).
I'm wondering about this too, why this json file mentioned adafactor too as i only used adamw8bit. I guess i need to start fresh, maybe it is mixed with other config or something
I see but this is pretty much the default setting from Hollowstrawberry. I didn't change anything at all. Maybe you can try train one Lora there to see what i mean
Yes, I'm aware of that image augmentation, i didn't activate those rotate and flip things. The lora trained on Onetrainer using HS settings tend to goes 'abstract' real quick.
Thank you so much for your response mate πI think i really need to work on my captions/tags. My character's face came out good but the outfit looks kinda in shambles. Need luck to get the one i want.
If i knew before building this pc i think i would settled for lower series of gpu with more vram than the latesy series with low vram tho πKinda bummed out after learning about all of this.
Hi, just want to ask few things, I've been gen images all these months and never create my own lora. I'm a total noob in Lora Training as i just start to train one lora of an anime character for Pony SDXL yesterday. I got the same 8gb vram gpu as well and i use Onetrainer as well. These are my questions:
Do we need to upscaled our datasets and does upscaled datasets will make the time needed to train much longer?
How to caption, i mean i use the Dataset Processor for this and adjust a bit here and there but i read somewhere that we shouldn't caption it in detail as how we prompt in image generation?
Does more vram can make the training faster? Can we use two gpu for that?
That's about it i guess. Sorry if the questions sounds stupid for you π My main concern is how the Creators in Civitai does their Lora with so less steps and epoch but it looks incredible
I did and still the same thing happen, so i try to change versions of OneTrainer and still won't work. Reinstall all over again make it works but i can't continue my Prodigy training with my backup, i just start again with adamw.
Btw, does upscaled dataset makes the training go slower?Should i upscaled them or not because i saw people training their lora with the same rtx 8gb vram, done for around 3 hours but i take at least 6 hours to get it done.
Thank you so much for your response sir, I try to reinstall OneTrainer in SM and it works as usual after that. Idk what trigger than problem, one thing i remember is that i changed from AdamW_8Bit to Prodigy for that last training because i just want to try Prodigy. Is that a possible cause of it? Now I'm back using Adamw_8bit and it goes well.
The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable. WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.3.1+cu118 with CUDA 1108 (you have 2.5.1+cpu) Python 3.10.11 (you have 3.10.11) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) Memory-efficient attention, SwiGLU, sparse and more won't be available. Set XFORMERS_MORE_DETAILS=1 for more details C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\xformers\ops\fmha\flash.py:211: FutureWarning: torch.library.impl_abstract was renamed to torch.library.register_fake. Please use that instead; we will remove torch.library.impl_abstract in a future version of PyTorch. u/torch.library.impl_abstract("xformers_flash::flash_fwd") C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\xformers\ops\fmha\flash.py:344: FutureWarning: torch.library.impl_abstract was renamed to torch.library.register_fake. Please use that instead; we will remove torch.library.impl_abstract in a future version of PyTorch. u/torch.library.impl_abstract("xformers_flash::flash_bwd") C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\xformers\ops\swiglu_op.py:128: FutureWarning: torch.cuda.amp.custom_fwd(args...) is deprecated. Please use torch.amp.custom_fwd(args..., device_type='cuda') instead. def forward(cls, ctx, x, w1, b1, w2, b2, w3, b3): C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\xformers\ops\swiglu_op.py:149: FutureWarning: torch.cuda.amp.custom_bwd(args...) is deprecated. Please use torch.amp.custom_bwd(args..., device_type='cuda') instead. def backward(cls, ctx, dx5): Exception in thread Thread-1 (__training_thread_function): Traceback (most recent call last): File "threading.py", line 1016, in _bootstrap_inner File "threading.py", line 953, in run File "C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\modules\ui\TrainUI.py", line 552, in __training_thread_function ZLUDA.initialize_devices(self.train_config) File "C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\modules\zluda\ZLUDA.py", line 37, in initialize_devices if not is_zluda(config.train_device) and not is_zluda(config.temp_device): File "C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\modules\zluda\ZLUDA.py", line 12, in is_zluda return torch.cuda.get_device_name(device).endswith("[ZLUDA]") File "C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\torch\cuda\__init__.py", line 493, in get_device_name return get_device_properties(device).name File "C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\torch\cuda\__init__.py", line 523, in get_device_properties _lazy_init() # will define _get_device_properties File "C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\torch\cuda\__init__.py", line 310, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled
It was doing fine as just finished training my first ever Lora. So i started the 2nd Lora Training, it started, so i left it to go to sleep, but as I wake up this happened. What should I do? I'm using OneTrainer inside Stability Matrix
Thanks a lot for this. Got a problem to install it at first, then i tried reinstall python 3.10.6 and reinstall this, it works.
I tried to generate art using the exact same prompt and settings with one of the image i randomly pick on civitai but there are sometimes error saying 'Cuda out of memory'. Do you know why?
I'll try. Which models do you think the best right now?
Hehehe, I've been using it since i start knowing about it few months ago. But i just used the base Vpred because the other vpred models tend to fuse with some styles which for me ruin it. If i want style i just use style loras
Can you share me example of that if possible for me to learn? I didn't really use Comfy yet. Just generating right from Stability Matrix Inference tab π
What should i search for to learn about this? I'm total noob in photoshop, only use it like 20 years ago maybe.
yup for sure it is not easy. that's why i ask for the best approach from fellow members.
Noted and thank you for your advice.
Yes, lots of characters already in the model but for certain specific version or outfit of them require me to use the lora π
So, for now, i need to get deep in learning inpainting and as u/Mutaclone advice to use Invoke, i'll try to learn that too for sure.
Thank you so much for all your responses πππ
I'm using a non popular one and I like it because it doesn't look the same as 1000 others, so you need to try to find your own liking.
about to ask does pony still use the score thing and i saw this π€£ After all these years they still stuck with this? insane π
Yeah, love all your works in AI world sir and what you've been fighting for on X as well π
For real, we know our own face the best π
Love how you always use your own face π€£π
Hi, i just try inpainting, can i know how the mask looks like in this? Did you mask the whole hand area?
that's what bugging me too as i directly follow the setting from HS and i turned out like thatπ
I'm wondering about this too, why this json file mentioned adafactor too as i only used adamw8bit. I guess i need to start fresh, maybe it is mixed with other config or something
I see but this is pretty much the default setting from Hollowstrawberry. I didn't change anything at all. Maybe you can try train one Lora there to see what i mean
https://colab.research.google.com/github/hollowstrawberry/kohya-colab/blob/main/Lora_Trainer_XL.ipynb
Yes, I'm aware of that image augmentation, i didn't activate those rotate and flip things. The lora trained on Onetrainer using HS settings tend to goes 'abstract' real quick.
https://preview.redd.it/ht2jiecgms3e1.png?width=1225&format=png&auto=webp&s=f6222e2fbbbf0c32c997467b8b71aceed70d3147
Or do i need to let it train even more π
Inference in Stability Matrix π
Right now I only tried using AdamW8bit for both constant and cosine. So do you reckon i should use adamw8bit with Cosine with Restart?
Thank you so much for your response mate πI think i really need to work on my captions/tags. My character's face came out good but the outfit looks kinda in shambles. Need luck to get the one i want.
If i knew before building this pc i think i would settled for lower series of gpu with more vram than the latesy series with low vram tho πKinda bummed out after learning about all of this.
Thanks again mate
Hi, just want to ask few things, I've been gen images all these months and never create my own lora. I'm a total noob in Lora Training as i just start to train one lora of an anime character for Pony SDXL yesterday. I got the same 8gb vram gpu as well and i use Onetrainer as well. These are my questions:
That's about it i guess. Sorry if the questions sounds stupid for you π My main concern is how the Creators in Civitai does their Lora with so less steps and epoch but it looks incredible
I did and still the same thing happen, so i try to change versions of OneTrainer and still won't work. Reinstall all over again make it works but i can't continue my Prodigy training with my backup, i just start again with adamw.
Btw, does upscaled dataset makes the training go slower?Should i upscaled them or not because i saw people training their lora with the same rtx 8gb vram, done for around 3 hours but i take at least 6 hours to get it done.
Thank you so much for your response sir, I try to reinstall OneTrainer in SM and it works as usual after that. Idk what trigger than problem, one thing i remember is that i changed from AdamW_8Bit to Prodigy for that last training because i just want to try Prodigy. Is that a possible cause of it? Now I'm back using Adamw_8bit and it goes well.
Like this u/Pretend_Potential ?
The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable. WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.3.1+cu118 with CUDA 1108 (you have 2.5.1+cpu) Python 3.10.11 (you have 3.10.11) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) Memory-efficient attention, SwiGLU, sparse and more won't be available. Set XFORMERS_MORE_DETAILS=1 for more details C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\xformers\ops\fmha\flash.py:211: FutureWarning:
torch.library.impl_abstractwas renamed totorch.library.register_fake. Please use that instead; we will removetorch.library.impl_abstractin a future version of PyTorch. u/torch.library.impl_abstract("xformers_flash::flash_fwd") C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\xformers\ops\fmha\flash.py:344: FutureWarning:torch.library.impl_abstractwas renamed totorch.library.register_fake. Please use that instead; we will removetorch.library.impl_abstractin a future version of PyTorch. u/torch.library.impl_abstract("xformers_flash::flash_bwd") C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\xformers\ops\swiglu_op.py:128: FutureWarning:torch.cuda.amp.custom_fwd(args...)is deprecated. Please usetorch.amp.custom_fwd(args..., device_type='cuda')instead. def forward(cls, ctx, x, w1, b1, w2, b2, w3, b3): C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\xformers\ops\swiglu_op.py:149: FutureWarning:torch.cuda.amp.custom_bwd(args...)is deprecated. Please usetorch.amp.custom_bwd(args..., device_type='cuda')instead. def backward(cls, ctx, dx5): Exception in thread Thread-1 (__training_thread_function): Traceback (most recent call last): File "threading.py", line 1016, in _bootstrap_inner File "threading.py", line 953, in run File "C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\modules\ui\TrainUI.py", line 552, in __training_thread_function ZLUDA.initialize_devices(self.train_config) File "C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\modules\zluda\ZLUDA.py", line 37, in initialize_devices if not is_zluda(config.train_device) and not is_zluda(config.temp_device): File "C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\modules\zluda\ZLUDA.py", line 12, in is_zluda return torch.cuda.get_device_name(device).endswith("[ZLUDA]") File "C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\torch\cuda\__init__.py", line 493, in get_device_name return get_device_properties(device).name File "C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\torch\cuda\__init__.py", line 523, in get_device_properties _lazy_init() # will define _get_device_properties File "C:\Users\User\AppData\Roaming\StabilityMatrix\Packages\OneTrainer\venv\lib\site-packages\torch\cuda\__init__.py", line 310, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabledIt was doing fine as just finished training my first ever Lora. So i started the 2nd Lora Training, it started, so i left it to go to sleep, but as I wake up this happened. What should I do? I'm using OneTrainer inside Stability Matrix
Thanks a lot for this. Got a problem to install it at first, then i tried reinstall python 3.10.6 and reinstall this, it works.
I tried to generate art using the exact same prompt and settings with one of the image i randomly pick on civitai but there are sometimes error saying 'Cuda out of memory'. Do you know why?