stance of StableDiffusionPipeline has its configuration and possibly weights defined in a subfolder that is called exactly like the class attribute ("feature_extractor", "safety_checker", "scheduler", "text_encoder", "tokenizer", "unet", "vae"). Importantly, every pipeline expects a model_index.json file that tells the DiffusionPipeline both:
which pipeline class should be loaded, and
what sub-classes from which library are stored in which subf