Let's load the pipeline, scheduler, inverse scheduler, and enable some optimizations to reduce memory usage:  
```py
import torch
from diffusers import DDIMScheduler, DDIMInverseScheduler, StableDiffusionDiffEditPipeline