Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[fix] fix for prior preservation and mixed precision sampling#11873

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Brvcket wants to merge5 commits intohuggingface:main
base:main
Choose a base branch
Loading
fromBrvcket:main

Conversation

Brvcket
Copy link

There were 4 issues fixed:

  1. When sampling with prior preservation, the prompt was not passed to the correct argument position, causing a generation error during sampling.
  2. When sampling with prior preservation, the transformer passed to the pipeline did not have the torch_dtype argument, causing issues with mixed precision.
  3. When sampling with prior preservation, the prompt was passed in fp32 without proper casting, leading to mixed precision mismatches.
  4. When not args.train_text_encoder, prompt_embeds and pooled_prompt_embeds were None, leading to the same error as reported inRuntimeError: The size of tensor a (4608) must match the size of tensor b (5120) at non-singleton dimension 2 during DreamBooth Training with Prior Preservation #10722.

@Brvcket
Copy link
Author

@linoytsaban Am I correct in assuming that your review is required? I'm sorry if I tagged the wrong person

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@Brvcket

[8]ページ先頭

©2009-2025 Movatter.jp