Skip to content

Add UnCLIPImageVariationPipeline to dummy imports#1897

Merged
patrickvonplaten merged 2 commits into
mainfrom
fix-unclip-dummy-import
Jan 3, 2023
Merged

Add UnCLIPImageVariationPipeline to dummy imports#1897
patrickvonplaten merged 2 commits into
mainfrom
fix-unclip-dummy-import

Conversation

@anton-l

@anton-l anton-l commented Jan 3, 2023

Copy link
Copy Markdown
Member

This makes sure that we don't get an import error when transformers aren't installed and we run a script like diffusers-cli env or make fix-copies, as seen in #1895

diffusers/src/diffusers/pipelines/__init__.py", line 57, in <module>
    from .unclip import UnCLIPImageVariationPipeline, UnCLIPPipeline
ImportError: cannot import name 'UnCLIPImageVariationPipeline' from 'diffusers.pipelines.unclip' (diffusers/src/diffusers/pipelines/unclip/__init__.py)

cc @williamberman

@HuggingFaceDocBuilderDev

HuggingFaceDocBuilderDev commented Jan 3, 2023

Copy link
Copy Markdown

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

@patrickvonplaten

Copy link
Copy Markdown
Contributor

Just noticed this as well - thanks a lot!

@patrickvonplaten patrickvonplaten merged commit f17fae6 into main Jan 3, 2023
@patrickvonplaten patrickvonplaten deleted the fix-unclip-dummy-import branch January 3, 2023 10:58
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* Add UnCLIPImageVariationPipeline to dummy imports

* style
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.

3 participants