mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-05-09 14:05:26 +00: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…
Reference in New Issue
Block a user