Skip to content

Testing : V10.61 : some issues In Kandinsky 5 (Fix in pipeline_hunyuan_video.py)` #1473

@utilewebsites

Description

@utilewebsites

I am reporting an issue regarding Kandinsky 5 V10.61. I have set up the venv according to the latest requirements.

I encounter the following error context:

"a 'config.json' that describes the model is required in the directory of the model or inside the safetensor file"

The Fix:
Since December, I have to manually patch /models/hyvideo/diffusion/pipelines/pipeline_hunyuan_video.py to prevent a crash. It seems ref_latents can be None, causing the index call to fail.

Location: Line 1661

Original Code:

ref_latents=ref_latents[j].unsqueeze(0),

My Fix (working since Dec):

ref_latents=None if ref_latents is None else ref_latents[j].unsqueeze(0),

Could this check be included in the official code? I am curious if I am the only one needing this patch for the pipeline to work.

Thanks!


System : Ubuntu 24.04 (3090)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions