numpy torch diffusers transformers