Skip to content

Reproduction difference about FLUX #34

@yz413

Description

@yz413

Great work, and thank you for sharing this project. While trying to reproduce the results, I noticed that when using TaylorSeer versus not using it, the generated images (FLUX.1-dev) show noticeable differences. This is not quite as consistent as shown in Figure 4 of the paper, where the results appear almost identical.

Similarly, in WAN 2.1, I observed that the generated videos differ quite a lot depending on whether TaylorSeer acceleration is enabled or not.

To test this, I made a simple modification in the diffusers_taylorseer_flux.py file to disable TaylorSeer. Specifically, I commented out the code following the TaylorSeer settings and added a function to ensure randomness. All other parameters are default.

def seed_everything(seed):
    random.seed(seed)
    os.environ["PYTHONHASHSEED"] = str(seed)
    np.random.seed(seed)
    torch.manual_seed(seed)
    torch.cuda.manual_seed(seed)
    torch.backends.cudnn.deterministic = True
    torch.backends.cudnn.benchmark = False

I was wondering if the use of TaylorSeer might introduce a certain degree of acceptable quality variation. Could you please share your insights on this?
Thank you again for your excellent work, and I really appreciate your clarification on this point.

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