diffusers torch numpy