Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nodes_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ def predict_with_cfg(z, cfg_scale, positive_embeds, negative_embeds, timestep, i
latent_end = latent_frames
mask_end = latent_end + 1
partial_latents = mocha_embeds[:, context_window] # windowed latents
mask_frame = mocha_embeds[:, latent_end:mask_end] # single mask frame
mask_frame = mocha_embeds[:, -mocha_num_refs-1:-mocha_num_refs] # single mask frame
ref_frames = mocha_embeds[:, -mocha_num_refs:] # reference frames

partial_mocha_embeds = torch.cat([partial_latents, mask_frame, ref_frames], dim=1)
Expand Down