fix: revert result to float32

This commit is contained in:
er1cw00
2026-09-04 20:38:17 +08:00
parent b770d4d7b4
commit ab2e1f58ab
+1 -1
View File
@@ -305,7 +305,7 @@ class RIFE_VFI:
print(f"{time.time():.3f}: Comfy-VFI done! {sum(len(v) for v in results.values()) + len(frames)} frames generated")
# Always return float32 — numpy and all downstream ComfyUI nodes require it
out_tensor = torch.cat(output_frames, dim=0).to(torch.float16)
out_tensor = torch.cat(output_frames, dim=0).to(torch.float32)
stop_time = time.perf_counter()
elapsed_time = stop_time - start_time