mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
update
This commit is contained in:
@@ -1665,8 +1665,7 @@ class CombinedTimestepTextProjChromaEmbeddings(nn.Module):
|
||||
torch.cat([timesteps_proj, guidance_proj], dim=1).repeat(1, mod_index_length, 1)
|
||||
)
|
||||
input_vec = torch.cat([timestep_guidance, mod_proj], dim=-1)
|
||||
input_vec.to(dtype=timestep.dtype)
|
||||
return input_vec
|
||||
return input_vec.to(dtype=timestep.dtype)
|
||||
|
||||
class CogView3CombinedTimestepSizeEmbeddings(nn.Module):
|
||||
def __init__(self, embedding_dim: int, condition_dim: int, pooled_projection_dim: int, timesteps_dim: int = 256):
|
||||
|
||||
Reference in New Issue
Block a user