Call [`~DiffusionPipeline.reset_device_map`] to reset the `device_map` of a pipeline. This is also necessary if you want to use methods like `to()`, [`~DiffusionPipeline.enable_sequential_cpu_offload`], and [`~DiffusionPipeline.enable_model_cpu_offload`] on a pipeline that was device-mapped.  
```py
pipeline.reset_device_map()
```  
Once a pipeline has been device-mapped, you can also access its device map via `hf_device_map`:  
```py
print(pipeline.hf_device_map)
```