Use empty t5 of size 128 for hidream, seems to give closer results.

This commit is contained in:
comfyanonymous 2025-04-19 19:49:40 -04:00
parent f43e1d7f41
commit fd27494441

View File

@ -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())