Merge pull request #340 from 2929Dance/fix-img2vid
Fix handling of cached input latents in img2vid
This commit is contained in:
@@ -1271,7 +1271,7 @@ class HyVideoSampler:
|
||||
# print(name, param.data.device)
|
||||
|
||||
leapfusion_img2vid = False
|
||||
input_latents = samples["samples"] if samples is not None else None
|
||||
input_latents = samples["samples"].clone() if samples is not None else None
|
||||
if input_latents is not None:
|
||||
if input_latents.shape[2] == 1:
|
||||
leapfusion_img2vid = True
|
||||
|
||||
Reference in New Issue
Block a user