start_latent, input_image_np, video_latents, fps, height, width = video_encode(input_video, resolution, no_resize, vae, vae_batch_size=vae_batch, device=gpu)[:6] 77a9e4d verified Fabrice-TIERCELIN commited on Jun 19, 2025
[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