Skip to content

Diffusers v0.19.0 cause torch.compile graph break #4305

Description

@LSC527

Describe the bug

Diffusers v0.19.0 cause graph breaks when using torch.compile, which have been fixed in v0.18.2 (#3286)

Reproduction

sd pipeline from #3286

Logs

No response

System Info

  • diffusers version: 0.19.0
  • Platform: Linux-3.10.0-1062.9.1.el7.x86_64-x86_64-with-glibc2.35
  • Python version: 3.10.6
  • PyTorch version (GPU?): 2.1.0a0+4136153 (True)
  • Huggingface_hub version: 0.16.4
  • Transformers version: 4.32.0.dev0
  • Accelerate version: 0.21.0
  • xFormers version: 0.0.21+b14e67d.d20230724
  • Using GPU in script?: yes
  • Using distributed or parallel set-up in script?: no

Who can help?

@patrickvonplaten

Activity

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

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