Skip to content

Problems when training with fp16 mixed precision #1

@yhhhli

Description

@yhhhli

Hi,

Thank you for sharing the code. When I am trying to use option1 to run the textural inversion in the Example notebook. There is error showing that vae's parameters are fp32. Setting the mixed_precision and revision to fp32 can run the code normally. Could you please check why fp16 is not working?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions