As a class method, [`DiffusionPipeline.from_pretrained`] is responsible for two things:  
- Download the latest version of the folder structure required for inference and cache it. If the latest folder structure is available in the local cache, [`DiffusionPipeline.from_pretrained`] reuses the cache and won't redownload the files.