-
Notifications
You must be signed in to change notification settings - Fork 167
Fix train_text_to_image_qat.py #401
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
Fix train_text_to_image_qat.py #401
Conversation
|
The documentation is not available anymore as the PR was closed or merged. |
49c26f0 to
ebcf8ff
Compare
|
As far as I understood model export gets broken after this change so it needs to be fixed before merging this. |
fxmarty
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
I can't test those changes as I get an error at this point
| for _, batch in tqdm(zip(range(args.opt_init_steps), itertools.islice(dataloader, 0, args.opt_init_steps))): |
collate_fn from the dataloader is not pickable. Have you had the issue @AlexKoff88 ?
| @@ -1,5 +1,5 @@ | |||
| accelerate | |||
| diffusers | |||
| torch~=1.13 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there anything blocking for pytorch 2.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did not check it.
I am looking into it. There are multiple issues introduced by updates in |
|
Some issues in this PR should be fixed after merging this PR: #397 |
Co-authored-by: fxmarty <[email protected]>
Changes
openvino/stable-diffusion/requirements.txtAcceleratorfromlogging_dirtoproject_dir,logging_dirdeprecated since 0.18accelerator.prepareforunet