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

Error when using your vae encoder #261

Open
zhengdian1 opened this issue Aug 14, 2024 · 2 comments
Open

Error when using your vae encoder #261

zhengdian1 opened this issue Aug 14, 2024 · 2 comments

Comments

@zhengdian1
Copy link

zhengdian1 commented Aug 14, 2024

您好,由于我用到了额外的图片输入,因此使用了self.vae.encode(image).latent_dist.sample(None)。但是你们的框架锁死了fp16,导致vae encoder的输出值全都变成了NAN,有什么办法能解决这个问题吗

@haofanwang
Copy link
Member

Try this madebyollin/sdxl-vae-fp16-fix

@dlsccc
Copy link

dlsccc commented Sep 24, 2024

可以更详细的解释一下这个问题吗?我也遇到了这个问题,但是有些没懂如何解决

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

No branches or pull requests

3 participants