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

fix deepcache unet error in comfyui #868

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

nono-Sang
Copy link
Contributor

对 issue #857 以及 #778 的修复。

说明

修改后,output_shape = hs[-1] 是让 Upsample 进入到:

if output_shape is not None and isinstance(output_shape, th.Tensor):

即最终调用 interpolate_like 而非另一个条件下的 interpolate

这样,DeepCacheUNet / FastDeepCacheUNet 也与 UNetModel 保持一致了:

@nono-Sang nono-Sang requested review from marigoold and ccssu May 10, 2024 03:17
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

Successfully merging this pull request may close these issues.

None yet

3 participants