[start_latent, image_encoder_last_hidden_state] = get_start_latent(input_image, height, width, vae, gpu, image_encoder, high_vram) c290fbf verified Fabrice-TIERCELIN commited on Jun 18, 2025
print("overlapped_frames: " + str(overlapped_frames)) 802e6e0 verified Fabrice-TIERCELIN commited on Jun 18, 2025
if section_index < total_latent_sections - 1: 0273367 verified Fabrice-TIERCELIN commited on Jun 18, 2025
if section_index < total_latent_sections - 3: 8c5d345 verified Fabrice-TIERCELIN commited on Jun 18, 2025
if section_index < total_latent_sections - 2: 407e626 verified Fabrice-TIERCELIN commited on Jun 18, 2025
history_pixels = soft_append_bcthw(vae_decode(real_history_latents, vae).cpu(), history_pixels, overlapped_frames) dee75de verified Fabrice-TIERCELIN commited on Jun 17, 2025
real_history_latents = history_latents[:, :, :min(section_latent_frames, total_generated_latent_frames), :, :] ef48c15 verified Fabrice-TIERCELIN commited on Jun 17, 2025
indices = torch.arange(0, sum([1, 16, 2, 1, latent_window_size])).unsqueeze(0) fabb5a5 verified Fabrice-TIERCELIN commited on Jun 17, 2025
#if enable_preview or section_index == total_latent_sections - 1: a0a564a verified Fabrice-TIERCELIN commited on Jun 17, 2025
for section_index in range(total_latent_sections - 1, -1, -1): 5da4da3 verified Fabrice-TIERCELIN commited on Jun 17, 2025