Skip to content

Why Wan i2v video processor always float32 datatype? #11351

Open
@DamonsJ

Description

@DamonsJ

Describe the bug

I found

image = self.video_processor.preprocess(image, height=height, width=width).to(device, dtype=torch.float32)

image = self.video_processor.preprocess(image, height=height, width=width).to(device, dtype=torch.float32)

in pipeline_wan_i2v.py

why datatype always float32, maybe it's a bug

Reproduction

just run

Logs

System Info

any platform

Who can help?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions