Skip to content

Why don't you import from diffusers instead of using relative imports? #43

@remorses

Description

@remorses

if you replace imports like from ...models import AutoencoderKL, UNet2DConditionModel with from diffusers.models import AutoencoderKL, UNet2DConditionModel you can copy paste the pipeline files in your code and simply run it without patching diffusers

Should i open a PR to do this?

Also, why not add these pipelines to the diffusers package with a PR instead of keeping them in a separate repository?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions