Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scale_parameter=False relative_step=False warmup_init=False it not working !! training LoRA #2191

Closed
MIKETUFFIN66 opened this issue Apr 1, 2024 · 4 comments

Comments

@MIKETUFFIN66
Copy link

Hello,
every time i train an object before , i use this ( scale_parameter=False relative_step=False warmup_init=False ) in the Optimizer extra arguments .. it was working just fine.
after updating Kohya .. its giving a long error and it does not work !!
when i take it out .. it starts training again just fine ! any idea why ??

111

2222

@DarkViewAI
Copy link

You're using adamw8bit, that argument is only for adafactor, switch your optimizer to adafactor.

@MIKETUFFIN66
Copy link
Author

adafactor

i did adfactor and chaged the LR to adfactor as well still not working

@bmaltais
Copy link
Owner

bmaltais commented Apr 1, 2024

I just tried it on my system and it did work. I have published the test config and dataset used in the test folder... load the following config and see if it work on your system.

Use the dev branch to test:

git pull
git checkout dev

Open this config file: ./test/config/locon-Adafactor.json

@MIKETUFFIN66
Copy link
Author

I just tried it on my system and it did work. I have published the test config and dataset used in the test folder... load the following config and see if it work on your system.

Use the dev branch to test:

git pull
git checkout dev

Open this config file: ./test/config/locon-Adafactor.json

Yes , Thanks it worked !

11111

222222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants