 it generates a different random image each time.
But if you need to reliably generate the same image, that’ll depend on whether you’re running the pipeline on a CPU or GPU.

CPU
	
To generate reproducible results on a CPU, you’ll need to use a PyTorch Generator and set a seed:


	Copied
import torch
from diffusers import DDIMPipeline
import numpy as np

model_id = "google/ddpm-cifar10-32"

# load model and scheduler
ddim = DDIMPipeline.from_pr