w we can download the pipeline
pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16)
Next, we move it to GPU:


	Copied
pipeline.to("cuda")

Access the scheduler
	
The scheduler is always one of the components of the pipeline and is usually called "scheduler".
So it can be accessed via the "scheduler" property.


	Copied
pipeline.scheduler
Output:


	Copied
PNDMScheduler {
  "_class_name": "PN