Skip to content

Conversation

@anton-l
Copy link
Member

@anton-l anton-l commented Dec 7, 2022

Adapts the test to a change coming from huggingface/transformers#20602
With device_map=None the torch_dtype has to be specified to load fp16 checkpoints as fp16.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Dec 7, 2022

The documentation is not available anymore as the PR was closed or merged.


class DDIMPipelineFastTests(PipelineTesterMixin, unittest.TestCase):
pipeline_class = DDIMPipeline
test_cpu_offload = False
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated, just missed this previously

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@anton-l anton-l merged commit dc87f52 into main Dec 7, 2022
@anton-l anton-l deleted the patch-common-tests branch December 7, 2022 13:09
tcapelle pushed a commit to tcapelle/diffusers that referenced this pull request Dec 12, 2022
* Fix common tests for FP16

* revert
sliard pushed a commit to sliard/diffusers that referenced this pull request Dec 21, 2022
* Fix common tests for FP16

* revert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants