Skip to content

Why GPU and NPU give different results? #351

@chn-lee-yumi

Description

@chn-lee-yumi

I fixed the random seed, and use GPU and NPU to generate an image separately.

This is from GPU:
A_high_quality_photo_of_a_surfing_dog_gpu_40

This is from NPU:
A_high_quality_photo_of_a_surfing_dog_npu_40

As I know, GPU and NPU both use FP16 for inference. I think they should have the same result. Why they are different?

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