different random number generator than the CPU.
To circumvent this problem, 🧨 Diffusers has a randn_tensor function for creating random noise on the CPU, and then moving the tensor to a GPU if necessary. The randn_tensor function is used everywhere inside the pipeline, allowing the user to always pass a CPU Generator even if the pipeline is run on a GPU. 
You’ll see the results are much closer now!


	Copied
import torch
from diffusers import D