Skip to content

NansException: A tensor with NaNs was produced in Unet. #866

@imagepirate

Description

@imagepirate

Just installed and tried it for my first Image. Got the following error. No idea how to fix this. Will appreciate any help possible:

NansException: A tensor with NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleStale issue or inactive for long period of time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions