Skip to content

No LatentDiffusionPipeline on the latest branch #1055

@kyleliang919

Description

@kyleliang919

Describe the bug

Latent diffusion is not found even after pip install the latestest dev branch

Reproduction

git clone https://github.com/huggingface/diffusers.git
cd diffusers && pip install -e .

then run

from diffusers import DiffusionPipeline
import torch

pipeline = DiffusionPipeline.from_pretrained("fusing/latent-diffusion-text2im-large")

Logs

Traceback (most recent call last):
  File "preprocessing.py", line 19, in <module>
    ldm = DiffusionPipeline.from_pretrained("fusing/latent-diffusion-text2im-large", use_auth_token=token)
  File "/scratch/kaizhaol/videogpt/diffusers/src/diffusers/pipeline_utils.py", line 433, in from_pretrained
    pipeline_class = getattr(diffusers_module, config_dict["_class_name"])
AttributeError: module 'diffusers' has no attribute 'LatentDiffusionPipeline'

System Info

diffuser version: '0.7.0.dev0'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions