Skip to content

[community pipeline] Mixture tiling #5380

@stevhliu

Description

@stevhliu

Hey @kadirnar, the Mixture tiling pipeline is failing because it can't find the module diffusers.pipeline_utils.

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-3-67662245c74c>](https://localhost:8080/#) in <cell line: 5>()
      3 # Creater scheduler and model (similar to StableDiffusionPipeline)
      4 scheduler = LMSDiscreteScheduler(beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", num_train_timesteps=1000)
----> 5 pipeline = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", scheduler=scheduler, custom_pipeline="mixture_tiling")
      6 pipeline.to("cuda")
      7 

12 frames
[~/.cache/huggingface/modules/diffusers_modules/git/mixture_tiling.py](https://localhost:8080/#) in <module>
      8 
      9 from diffusers.models import AutoencoderKL, UNet2DConditionModel
---> 10 from diffusers.pipeline_utils import DiffusionPipeline
     11 from diffusers.pipelines.stable_diffusion import StableDiffusionSafetyChecker
     12 from diffusers.schedulers import DDIMScheduler, LMSDiscreteScheduler, PNDMScheduler

ModuleNotFoundError: No module named 'diffusers.pipeline_utils'

I think this can be fixed by updating the below to diffusers.pipelines.pipeline_utils

from diffusers.pipeline_utils import DiffusionPipeline

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues that haven't received updates

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions