mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2025-12-09 05:54:24 +08:00
Use empty t5 of size 128 for hidream, seems to give closer results.
This commit is contained in:
parent
f43e1d7f41
commit
fd27494441
@ -120,7 +120,7 @@ class HiDreamTEModel(torch.nn.Module):
|
||||
ll_out = None
|
||||
|
||||
if t5_out is None:
|
||||
t5_out = torch.zeros((1, 1, 4096), device=comfy.model_management.intermediate_device())
|
||||
t5_out = torch.zeros((1, 128, 4096), device=comfy.model_management.intermediate_device())
|
||||
|
||||
if ll_out is None:
|
||||
ll_out = torch.zeros((1, 32, 1, 4096), device=comfy.model_management.intermediate_device())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user