Skip to content

How to achieve "4.5s end-to-end generation" as in the readme? #41

@lingcong-k

Description

@lingcong-k

Hi,
Thanks for the model.
I am trying to run the inference with the new 1.1 version.
But it is quite slow even with "--optimized " on as described in the readme.

I am running on L40s GPU with
"--optimized" on and
with "pipe.load_lora_weights(
"FireRedTeam/FireRed-Image-Edit-1.0-Lightning", weight_name="FireRed-Image-Edit-1.0-Lightning-8steps-v1.0.safetensors"
)" ,
with 8 steps, the speed is 18s per image, far more than 4.5s per generation as described?

I ran a batch of images, even disregard of the first image being slower due to warm up. The other images were not faster either.
Anything am missing?
maybe @Maycbj can help me here? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions