Is your feature request related to a problem? Please describe.
As a follow up for #281 we could add the device map and the possibility to load weights using accelerate to DiffusionPipeline abstraction for smaller memory footprint when loading models.
Describe the solution you'd like
from diffusers import DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-3", device_map="auto")
Describe alternatives you've considered
- Load models by hand every time
- Have a larger memory footprint when loading models
Additional context
This is a follow up for #281.
I can work on that if you folks would let me.