Skip to content

Implement Deepspeed with the DiffusionPipeline  #599

@vanakema

Description

@vanakema

Is your feature request related to a problem? Please describe.
Trying to train Stable Diffusion on your local box using the Dreambooth method causes out-of-memory issues on an RTX 3090. I'd like to be able to train such a model without having to have an A100 80GB

Describe the solution you'd like
Implement Deepspeed integration with the DiffusionPipeline class

Describe alternatives you've considered

  • Reducing batch size (even BS=1 causes issues)
  • Reducing resolution: haven't had much success here, but I could be doing something wrong. I am still learning

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues that haven't received updates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions