Merge pull request #11 from smthemex/Pr

init
This commit is contained in:
smthemex
2025-10-31 16:56:05 +08:00
committed by GitHub
127 changed files with 2361 additions and 10 deletions
Binary file not shown.
Binary file not shown.
@@ -325,11 +325,12 @@ class FlashVSRFullPipeline(BasePipeline):
frames = F.pixel_shuffle(decoder_out.movedim(2, 1), upscale_factor=int(upscale)).movedim(1, 2) # pixel shuffle needs [..., C, H, W] format #torch.Size([1, 3, 77, 2048, 1536])
else:
print("new_decoder is light")
if tiled:
self.VAE.use_tiling=True
else:
self.VAE.use_tiling=False
#print(latents.shape)
if self.VAE.__class__.__name__ == "WanVAE":
if tiled:
self.VAE.use_tiling=True
else:
self.VAE.use_tiling=False
frames=self.VAE.decode(latents.squeeze(0))
else:
frames = self.vae.decode(latents, device=self.device, tiled=tiled, tile_size=tile_size, tile_stride=tile_stride)

Some files were not shown because too many files have changed in this diff Show More