From 22738b50bb764d762f761e40971fb5252670c5c8 Mon Sep 17 00:00:00 2001 From: stevhliu Date: Wed, 19 Aug 2026 15:15:38 -0700 Subject: [PATCH 1/2] docs --- docs/source/en/_toctree.yml | 270 ++++++++++++++++++------------------ 1 file changed, 138 insertions(+), 132 deletions(-) diff --git a/docs/source/en/_toctree.yml b/docs/source/en/_toctree.yml index 6c6e3a8e7882..e6c73c91ade4 100644 --- a/docs/source/en/_toctree.yml +++ b/docs/source/en/_toctree.yml @@ -5,73 +5,93 @@ title: Installation - local: quicktour title: Quickstart - - local: stable_diffusion - title: Basic performance title: Get started - isExpanded: false sections: - - local: using-diffusers/loading - title: DiffusionPipeline - - local: tutorials/autopipeline - title: AutoPipeline - - local: using-diffusers/custom_pipeline_overview - title: Community pipelines and components - - local: using-diffusers/callback - title: Pipeline callbacks - - local: using-diffusers/reusing_seeds - title: Reproducibility - - local: using-diffusers/schedulers - title: Schedulers - - local: using-diffusers/guiders - title: Guiders - - local: using-diffusers/automodel - title: AutoModel - - local: using-diffusers/other-formats - title: Model formats - - local: using-diffusers/push_to_hub - title: Sharing pipelines and models - title: Pipelines -- isExpanded: false - sections: - - local: tutorials/using_peft_for_inference - title: LoRA - - local: using-diffusers/ip_adapter - title: IP-Adapter - - local: using-diffusers/controlnet - title: ControlNet - - local: using-diffusers/t2i_adapter - title: T2I-Adapter - - local: using-diffusers/dreambooth - title: DreamBooth - - local: using-diffusers/textual_inversion_inference - title: Textual inversion - title: Adapters + - local: modular_diffusers/overview + title: Overview + - local: modular_diffusers/quickstart + title: Quickstart + - local: modular_diffusers/modular_diffusers_states + title: States + - local: modular_diffusers/pipeline_block + title: ModularPipelineBlocks + - local: modular_diffusers/sequential_pipeline_blocks + title: SequentialPipelineBlocks + - local: modular_diffusers/loop_sequential_pipeline_blocks + title: LoopSequentialPipelineBlocks + - local: modular_diffusers/auto_pipeline_blocks + title: AutoPipelineBlocks + - local: modular_diffusers/modular_pipeline + title: ModularPipeline + - local: modular_diffusers/components_manager + title: ComponentsManager + - local: modular_diffusers/auto_docstring + title: Auto docstring and parameter templates + - local: modular_diffusers/custom_blocks + title: Building Custom Blocks + - local: modular_diffusers/mellon + title: Using Custom Blocks with Mellon + title: Modular Diffusers - isExpanded: false sections: + - sections: + - local: using-diffusers/loading + title: DiffusionPipeline + - local: tutorials/autopipeline + title: AutoPipeline + - local: using-diffusers/custom_pipeline_overview + title: Community pipelines and components + - local: using-diffusers/callback + title: Pipeline callbacks + - local: using-diffusers/reusing_seeds + title: Reproducibility + - local: using-diffusers/schedulers + title: Schedulers + - local: using-diffusers/guiders + title: Guiders + - local: using-diffusers/automodel + title: AutoModel + - local: using-diffusers/other-formats + title: Model formats + - local: using-diffusers/push_to_hub + title: Sharing pipelines and models + title: Use diffusion pipelines + - sections: + - local: tutorials/using_peft_for_inference + title: LoRA + - local: using-diffusers/ip_adapter + title: IP-Adapter + - local: using-diffusers/controlnet + title: ControlNet + - local: using-diffusers/t2i_adapter + title: T2I-Adapter + - local: using-diffusers/dreambooth + title: DreamBooth + - local: using-diffusers/textual_inversion_inference + title: Textual inversion + title: Adapters and personalization - local: using-diffusers/weighted_prompts title: Prompting - - local: using-diffusers/create_a_server - title: Create a server - - local: using-diffusers/batched_inference - title: Batch inference - - local: training/distributed_inference - title: Distributed inference - - local: hybrid_inference/overview - title: Remote inference title: Inference - isExpanded: false sections: - - local: optimization/fp16 - title: Accelerate inference - - local: optimization/cache - title: Caching - - local: optimization/attention_backends - title: Attention backends - - local: optimization/memory - title: Reduce memory usage - - local: optimization/speed-memory-optims - title: Compiling and offloading quantized models + - local: stable_diffusion + title: Basic performance - sections: + - local: optimization/fp16 + title: Accelerate inference + - local: optimization/cache + title: Caching + - local: optimization/attention_backends + title: Attention backends + - local: optimization/memory + title: Reduce memory usage + - local: optimization/speed-memory-optims + title: Compiling and offloading quantized models + title: Inference optimization + - isExpanded: false + sections: - local: optimization/pruna title: Pruna - local: optimization/xformers @@ -91,34 +111,51 @@ - local: using-diffusers/image_quality title: FreeU title: Community optimizations - title: Inference optimization -- isExpanded: false - sections: - - local: modular_diffusers/overview - title: Overview - - local: modular_diffusers/quickstart - title: Quickstart - - local: modular_diffusers/modular_diffusers_states - title: States - - local: modular_diffusers/pipeline_block - title: ModularPipelineBlocks - - local: modular_diffusers/sequential_pipeline_blocks - title: SequentialPipelineBlocks - - local: modular_diffusers/loop_sequential_pipeline_blocks - title: LoopSequentialPipelineBlocks - - local: modular_diffusers/auto_pipeline_blocks - title: AutoPipelineBlocks - - local: modular_diffusers/modular_pipeline - title: ModularPipeline - - local: modular_diffusers/components_manager - title: ComponentsManager - - local: modular_diffusers/auto_docstring - title: Auto docstring and parameter templates - - local: modular_diffusers/custom_blocks - title: Building Custom Blocks - - local: modular_diffusers/mellon - title: Using Custom Blocks with Mellon - title: Modular Diffusers + - sections: + - local: quantization/overview + title: Getting started + - local: quantization/bitsandbytes + title: bitsandbytes + - local: quantization/gguf + title: gguf + - local: quantization/nunchaku + title: Nunchaku Lite + - local: quantization/torchao + title: torchao + - local: quantization/quanto + title: quanto + - local: quantization/modelopt + title: NVIDIA ModelOpt + - local: quantization/autoround + title: AutoRound + - local: quantization/sdnq + title: SDNQ + title: Quantization + - sections: + - local: optimization/onnx + title: ONNX + - local: optimization/open_vino + title: OpenVINO + - local: optimization/coreml + title: Core ML + - local: optimization/mps + title: Metal Performance Shaders (MPS) + - local: optimization/habana + title: Intel Gaudi + - local: optimization/neuron + title: AWS Neuron + title: Hardware-specific acceleration + - sections: + - local: using-diffusers/batched_inference + title: Batch inference + - local: training/distributed_inference + title: Distributed inference + - local: hybrid_inference/overview + title: Remote inference + - local: using-diffusers/create_a_server + title: Create a server + title: Serving and scaling + title: Optimize and scale - isExpanded: false sections: - local: training/overview @@ -148,7 +185,7 @@ title: InstructPix2Pix - local: training/cogvideox title: CogVideoX - title: Models + title: Model recipes - sections: - local: training/text_inversion title: Textual Inversion @@ -162,46 +199,10 @@ title: Latent Consistency Distillation - local: training/ddpo title: Reinforcement learning training with DDPO - title: Methods + title: Training methods - local: training/nemo_automodel title: NeMo Automodel - title: Training -- isExpanded: false - sections: - - local: quantization/overview - title: Getting started - - local: quantization/bitsandbytes - title: bitsandbytes - - local: quantization/gguf - title: gguf - - local: quantization/nunchaku - title: Nunchaku Lite - - local: quantization/torchao - title: torchao - - local: quantization/quanto - title: quanto - - local: quantization/modelopt - title: NVIDIA ModelOpt - - local: quantization/autoround - title: AutoRound - - local: quantization/sdnq - title: SDNQ - title: Quantization -- isExpanded: false - sections: - - local: optimization/onnx - title: ONNX - - local: optimization/open_vino - title: OpenVINO - - local: optimization/coreml - title: Core ML - - local: optimization/mps - title: Metal Performance Shaders (MPS) - - local: optimization/habana - title: Intel Gaudi - - local: optimization/neuron - title: AWS Neuron - title: Model accelerators and hardware + title: Train and fine-tune - isExpanded: false sections: - sections: @@ -219,22 +220,27 @@ title: Video generation - local: using-diffusers/depth2img title: Depth-to-image - title: Task recipes - - local: using-diffusers/write_own_pipeline - title: Understanding pipelines, models and schedulers + title: Recipes + - sections: + - local: using-diffusers/write_own_pipeline + title: Understanding pipelines, models and schedulers + - local: using-diffusers/controlling_generation + title: Controlled generation + title: Concepts and background - local: using-diffusers/cli title: Command line interface - local: community_projects title: Projects built with Diffusers - - local: conceptual/philosophy - title: Philosophy - - local: using-diffusers/controlling_generation - title: Controlled generation + title: Resources +- isExpanded: false + sections: - local: conceptual/contribution - title: How to contribute? + title: How to contribute - local: conceptual/ethical_guidelines title: Diffusers' Ethical Guidelines - title: Resources + - local: conceptual/philosophy + title: Diffusers philosophy + title: Contribute - isExpanded: false sections: - sections: From 0c6eb3ba094f47f684dda38baf3bc8e67bf20e28 Mon Sep 17 00:00:00 2001 From: stevhliu Date: Thu, 27 Aug 2026 13:34:11 -0700 Subject: [PATCH 2/2] rearrange --- docs/source/en/_toctree.yml | 94 ++++++++++++++++++++----------------- 1 file changed, 52 insertions(+), 42 deletions(-) diff --git a/docs/source/en/_toctree.yml b/docs/source/en/_toctree.yml index e6c73c91ade4..4bdb03869bd5 100644 --- a/docs/source/en/_toctree.yml +++ b/docs/source/en/_toctree.yml @@ -5,37 +5,13 @@ title: Installation - local: quicktour title: Quickstart + - local: using-diffusers/cli + title: Command line interface title: Get started -- isExpanded: false +- isExpanded: true sections: - - local: modular_diffusers/overview - title: Overview - - local: modular_diffusers/quickstart - title: Quickstart - - local: modular_diffusers/modular_diffusers_states - title: States - - local: modular_diffusers/pipeline_block - title: ModularPipelineBlocks - - local: modular_diffusers/sequential_pipeline_blocks - title: SequentialPipelineBlocks - - local: modular_diffusers/loop_sequential_pipeline_blocks - title: LoopSequentialPipelineBlocks - - local: modular_diffusers/auto_pipeline_blocks - title: AutoPipelineBlocks - - local: modular_diffusers/modular_pipeline - title: ModularPipeline - - local: modular_diffusers/components_manager - title: ComponentsManager - - local: modular_diffusers/auto_docstring - title: Auto docstring and parameter templates - - local: modular_diffusers/custom_blocks - title: Building Custom Blocks - - local: modular_diffusers/mellon - title: Using Custom Blocks with Mellon - title: Modular Diffusers -- isExpanded: false - sections: - - sections: + - isExpanded: false + sections: - local: using-diffusers/loading title: DiffusionPipeline - local: tutorials/autopipeline @@ -57,7 +33,8 @@ - local: using-diffusers/push_to_hub title: Sharing pipelines and models title: Use diffusion pipelines - - sections: + - isExpanded: false + sections: - local: tutorials/using_peft_for_inference title: LoRA - local: using-diffusers/ip_adapter @@ -74,11 +51,12 @@ - local: using-diffusers/weighted_prompts title: Prompting title: Inference -- isExpanded: false +- isExpanded: true sections: - local: stable_diffusion title: Basic performance - - sections: + - isExpanded: false + sections: - local: optimization/fp16 title: Accelerate inference - local: optimization/cache @@ -111,7 +89,8 @@ - local: using-diffusers/image_quality title: FreeU title: Community optimizations - - sections: + - isExpanded: false + sections: - local: quantization/overview title: Getting started - local: quantization/bitsandbytes @@ -131,7 +110,8 @@ - local: quantization/sdnq title: SDNQ title: Quantization - - sections: + - isExpanded: false + sections: - local: optimization/onnx title: ONNX - local: optimization/open_vino @@ -145,7 +125,8 @@ - local: optimization/neuron title: AWS Neuron title: Hardware-specific acceleration - - sections: + - isExpanded: false + sections: - local: using-diffusers/batched_inference title: Batch inference - local: training/distributed_inference @@ -157,6 +138,33 @@ title: Serving and scaling title: Optimize and scale - isExpanded: false + sections: + - local: modular_diffusers/overview + title: Overview + - local: modular_diffusers/quickstart + title: Quickstart + - local: modular_diffusers/modular_diffusers_states + title: States + - local: modular_diffusers/pipeline_block + title: ModularPipelineBlocks + - local: modular_diffusers/sequential_pipeline_blocks + title: SequentialPipelineBlocks + - local: modular_diffusers/loop_sequential_pipeline_blocks + title: LoopSequentialPipelineBlocks + - local: modular_diffusers/auto_pipeline_blocks + title: AutoPipelineBlocks + - local: modular_diffusers/modular_pipeline + title: ModularPipeline + - local: modular_diffusers/components_manager + title: ComponentsManager + - local: modular_diffusers/auto_docstring + title: Auto docstring and parameter templates + - local: modular_diffusers/custom_blocks + title: Building Custom Blocks + - local: modular_diffusers/mellon + title: Using Custom Blocks with Mellon + title: Modular Diffusers +- isExpanded: true sections: - local: training/overview title: Overview @@ -166,7 +174,8 @@ title: Adapt a model to a new task - local: tutorials/basic_training title: Train a diffusion model - - sections: + - isExpanded: false + sections: - local: training/unconditional_training title: Unconditional image generation - local: training/text2image @@ -186,7 +195,8 @@ - local: training/cogvideox title: CogVideoX title: Model recipes - - sections: + - isExpanded: false + sections: - local: training/text_inversion title: Textual Inversion - local: training/dreambooth @@ -203,9 +213,10 @@ - local: training/nemo_automodel title: NeMo Automodel title: Train and fine-tune -- isExpanded: false +- isExpanded: true sections: - - sections: + - isExpanded: false + sections: - local: using-diffusers/unconditional_image_generation title: Unconditional image generation - local: using-diffusers/conditional_image_generation @@ -221,14 +232,13 @@ - local: using-diffusers/depth2img title: Depth-to-image title: Recipes - - sections: + - isExpanded: false + sections: - local: using-diffusers/write_own_pipeline title: Understanding pipelines, models and schedulers - local: using-diffusers/controlling_generation title: Controlled generation title: Concepts and background - - local: using-diffusers/cli - title: Command line interface - local: community_projects title: Projects built with Diffusers title: Resources