update reqs

This commit is contained in:
kijai
2025-03-07 23:23:52 +02:00
parent a691a63e93
commit 333b91a237
3 changed files with 4 additions and 4 deletions
@@ -922,7 +922,7 @@ class HunyuanVideoPipeline(DiffusionPipeline):
if progress_bar is not None: if progress_bar is not None:
progress_bar.update() progress_bar.update()
if callback is not None: if callback is not None:
if leapfusion_img2vid: if leapfusion_img2vid or i2v_condition_type == "token_replace":
callback_latent = (latent_model_input[:, :, 1:, :, :] - noise_pred[:, :, 1:, :, :] * t / 1000).detach()[0].permute(1,0,2,3) callback_latent = (latent_model_input[:, :, 1:, :, :] - noise_pred[:, :, 1:, :, :] * t / 1000).detach()[0].permute(1,0,2,3)
else: else:
callback_latent = (latent_model_input[:, :16, :, :, :] - noise_pred * t / 1000).detach()[0].permute(1,0,2,3) callback_latent = (latent_model_input[:, :16, :, :, :] - noise_pred * t / 1000).detach()[0].permute(1,0,2,3)
+1 -1
View File
@@ -3,7 +3,7 @@ name = "comfyui-hunyuanvideowrapper"
description = "ComfyUI diffusers wrapper nodes for [a/HunyuanVideo](https://github.com/Tencent/HunyuanVideo)" description = "ComfyUI diffusers wrapper nodes for [a/HunyuanVideo](https://github.com/Tencent/HunyuanVideo)"
version = "1.0.5" version = "1.0.5"
license = {file = "LICENSE"} license = {file = "LICENSE"}
dependencies = ["accelerate >= 1.2.1", "diffusers >= 0.31.0", "transformers >= 4.47.0", "jax >= 0.4.28", "timm >= 0.6.13"] dependencies = ["accelerate >= 1.2.1", "diffusers >= 0.31.0", "transformers >= 4.49.0", "jax >= 0.4.28", "timm >= 1.0.15"]
[project.urls] [project.urls]
Repository = "https://github.com/kijai/ComfyUI-HunyuanVideoWrapper" Repository = "https://github.com/kijai/ComfyUI-HunyuanVideoWrapper"
+2 -2
View File
@@ -1,5 +1,5 @@
accelerate >= 1.2.1 accelerate >= 1.2.1
diffusers >= 0.31.0 diffusers >= 0.31.0
transformers >= 4.47.0 transformers >= 4.49.0
jax >= 0.4.28 jax >= 0.4.28
timm >= 0.6.13 timm >= 1.0.15