# DiffusionPipeline'den gelen

[DiffusionPipeline](/docs/diffusers/main/tr/api/pipelines/overview#diffusers.DiffusionPipeline) ile aşinalıysanız ve [ModularPipeline](/docs/diffusers/main/tr/api/modular_diffusers/pipeline#diffusers.ModularPipeline) ile ilk kez çalışıyorsanız, bazı şeyler farklı işler. [hızlı başlangıç](./quickstart) bölümünden geçmeden önce bunları aklınızda bulundurmanız için burada listelenmiştir.

- **Yükleme tembel ve esnektir.** [from_pretrained()](/docs/diffusers/main/tr/api/modular_diffusers/pipeline#diffusers.ModularPipeline.from_pretrained), herhangi bir ağırlık yüklemeksizin hattı repozituarın `modular_model_index.json` dosyasından oluşturur. Ardından [load_components()](/docs/diffusers/main/tr/api/modular_diffusers/pipeline#diffusers.ModularPipeline.load_components) bileşenleri yükler ve hepsini tek seferde yüklemek zorunda değildir: varsayılan olarak her şeyi yükler, ancak yalnızca `names` ile adını belirttiğiniz bileşenleri veya `workflow` ile bir iş akışının gerektirdiği bileşen setini yükleyebilirsiniz. [update_components()](/docs/diffusers/main/tr/api/modular_diffusers/pipeline#diffusers.ModularPipeline.update_components), zaten sahip olduğunuz bir bileşeni yeniden kullanmanıza veya repozituarın spesifikasyonundan farklı bir bileşeni kullanmanıza olanak tanır. [Bileşenleri yükleme](./modular_pipeline#loading-components) ve [Bileşenleri güncelleme](./modular_pipeline#updating-components) bölümlerine bakın.
- **[ModularPipeline](/docs/diffusers/main/tr/api/modular_diffusers/pipeline#diffusers.ModularPipeline) reads a different index, `modular_model_index.json`**, but it also works with a repository that only has a `model_index.json`, as long as the model has a modular pipeline. The reverse is not true: [DiffusionPipeline](/docs/diffusers/main/tr/api/pipelines/overview#diffusers.DiffusionPipeline) and the `AutoPipeline` classes don't work with a repository that only has a `modular_model_index.json`.
- **A call returns the pipeline state**, which holds the intermediate values too (`prompt_embeds`, `latents`, ...). Ask for what you need with the `output` argument, `output="images"` or `output=["images", "latents"]`, or read an attribute of the state, as in the [quickstart](./quickstart#run-a-pipeline). See [States](./modular_diffusers_states).
- **Classifier-free guidance is supported in the `guider` component**, not a `guidance_scale` call argument: `pipe.update_components(guider=ClassifierFreeGuidance(guidance_scale=5.0))`. See the [guiders guide](../using-diffusers/guiders).
- **There is no `callback_on_step_end`**; however, you can insert a block into the denoising loop to use your existing callback functions. See [Modular pipelines](../using-diffusers/callback#modular-pipelines) in the callbacks guide.
- **Pipeline, bloklardan oluşan bir grafiktir** ve [init_pipeline()](/docs/diffusers/main/tr/api/modular_diffusers/pipeline_blocks#diffusers.ModularPipelineBlocks.init_pipeline) ile oluşturulmadan önce bunları değiştirebilirsiniz (çıkar, ekle, değiştir); `pipe.blocks` bir kopya döndürür, bu nedenle blokları önce düzenleyin. [Yeni iş akışları oluşturma](./quickstart#compose-new-workflows) bölümüne bakın.
- **Offloading is handled by a [ComponentsManager](/docs/diffusers/main/tr/api/modular_diffusers/pipeline_components#diffusers.ComponentsManager)**, which can serve several pipelines that share components. See the [ComponentsManager guide](./components_manager#offloading).

