huggingface/diffusers
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
https://skillcdn.ai/gh/huggingface/diffusersConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
main - Commit
2232c16 - License
Apache-2.0 - Searchwords
Explore this repository
Searches the original text of skills and documents, and the translations of skills when you search in their language.
Documents
- 将模型适配至新任务许多扩散系统共享相同的组件架构,这使得您能够将针对某一任务预训练的模型调整适配至完全不同的新任务。docs/source/zh/training/adapt_a_model.md
- ControlNetControlNet 是一种基于预训练模型的适配器架构。它通过额外输入的条件图像(如边缘检测图、深度图、人体姿态图等),实现对生成图像的精细化控制。docs/source/zh/training/controlnet.md
- 分布式推理在分布式设置中,您可以使用 🤗 Accelerate 或 PyTorch Distributed 在多个 GPU 上运行推理,这对于并行生成多个提示非常有用。docs/source/zh/training/distributed_inference.md
- DreamBoothDreamBooth 是一种训练技术,通过仅训练少数主题或风格的图像来更新整个扩散模型。它通过在提示中关联一个特殊词与示例图像来工作。docs/source/zh/training/dreambooth.md
- InstructPix2PixInstructPix2Pix 是一个基于 Stable Diffusion 训练的模型,用于根据人类提供的指令编辑图像。例如,您的提示可以是“将云变成雨天”,模型将相应编辑输入图像。该模型以文本提示(或编辑指令)和输入图像为条件。docs/source/zh/training/instructpix2pix.md
- Kandinsky 2.2Kandinsky 2.2 是一个多语言文本到图像模型,能够生成更逼真的图像。该模型包括一个图像先验模型,用于从文本提示创建图像嵌入,以及一个解码器模型,基于先验模型的嵌入生成图像。这就是为什么在 Diffusers 中您会找到两个独立的脚本用于 Kandinsky 2.2,一个用于训练先验模型,另一个用于训练解码器模型。您可以分别训练这两个模型,但为了获得最佳结果,您应该同时训练先验和解码器模…docs/source/zh/training/kandinsky.md
- LoRA 低秩适配LoRA(大语言模型的低秩适配) 是一种轻量级训练技术,能显著减少可训练参数量。其原理是通过向模型注入少量新权重参数,仅训练这些新增参数。这使得LoRA训练速度更快、内存效率更高,并生成更小的模型权重文件(通常仅数百MB),便于存储和分享。LoRA还可与DreamBooth等其他训练技术结合以加速训练过程。docs/source/zh/training/lora.md
- 概述🤗 Diffusers 提供了一系列训练脚本供您训练自己的diffusion模型。您可以在 diffusers/examples 找到所有训练脚本。docs/source/zh/training/overview.md
- 文生图Stable Diffusion 等文生图模型能够根据文本提示生成对应图像。docs/source/zh/training/text2image.md
- 文本反转(Textual Inversion)文本反转是一种训练技术,仅需少量示例图像即可个性化图像生成模型。该技术通过学习和更新文本嵌入(新嵌入会绑定到提示中必须使用的特殊词汇)来匹配您提供的示例图像。docs/source/zh/training/text_inversion.md
Skipped (50)
These manifests were not served. Fix them and push: the next commit is indexed again.
.ai/skills/model-integration/SKILL.mdlink_missing5 links name no file of the repository (references/modular.md, references/models.md, references/pipelines.md, ...)docs/source/en/advanced_inference/outpaint.mdlink_missing2 links name no file of the repository (../using-diffusers/inpaint, ../api/pipelines/stable_diffusion/stable_diffusion_xl)docs/source/en/api/loaders/ip_adapter.mdlink_missinga link names no file of the repository (../../using-diffusers/ip_adapter)docs/source/en/api/loaders/lora.mdlink_missing25 links name no file of the repository (../../api/pipelines/stable_diffusion/stable_diffusion_xl, ../pipelines/flux, ../pipelines/cogvideox, ...)docs/source/en/api/loaders/peft.mdlink_missinga link names no file of the repository (../../tutorials/using_peft_for_inference)docs/source/en/api/loaders/single_file.mdlink_missinga link names no file of the repository (../../using-diffusers/other-formats)docs/source/en/api/loaders/textual_inversion.mdlink_missinga link names no file of the repository (../../using-diffusers/legacy_adapters#textual-inversion)docs/source/en/api/loaders/transformer_sd3.mdlink_missing2 links name no file of the repository (lora#diffusers.loaders.SD3LoraLoaderMixin, ../../tutorials/using_peft_for_inference)docs/source/en/api/loaders/unet.mdlink_missinga link names no file of the repository (../../tutorials/using_peft_for_inference)docs/source/en/api/models/anyflow_far_transformer3d.mdlink_missing3 links name no file of the repository (../pipelines/anyflow#diffusers.AnyFlowFARPipeline, ../pipelines/anyflow, anyflow_transformer3d)docs/source/en/api/models/anyflow_transformer3d.mdlink_missing3 links name no file of the repository (../pipelines/anyflow#diffusers.AnyFlowPipeline, ../pipelines/anyflow, anyflow_far_transformer3d)docs/source/en/api/models/autoencoderkl_p_image_oss.mdlink_missinga link names no file of the repository (./autoencoderkl_minimax_h3)docs/source/en/api/models/rfd4_proteina_autoencoder.mdlink_missinga link names no file of the repository (../pipelines/rfd4_proteina)docs/source/en/api/models/rfd4_proteina_transformer.mdlink_missinga link names no file of the repository (../pipelines/rfd4_proteina)docs/source/en/api/parallel.mdlink_missinga link names no file of the repository (../training/distributed_inference)docs/source/en/api/pipelines/allegro.mdlink_missing3 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines, ../../quantization/overview)docs/source/en/api/pipelines/animatediff.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/anyflow.mdlink_missing2 links name no file of the repository (../models/anyflow_transformer3d, ../models/anyflow_far_transformer3d)docs/source/en/api/pipelines/audioldm2.mdlink_missing6 links name no file of the repository (./stable_diffusion/overview, ./audioldm2#diffusers.AudioLDM2ProjectionModel, ./audioldm2#diffusers.AudioLDM2UNet2DConditionModel, ...)docs/source/en/api/pipelines/aura_flow.mdlink_missing3 links name no file of the repository (../pipelines/stable_diffusion/stable_diffusion_3, ../../quantization/overview, ../../quantization/gguf)docs/source/en/api/pipelines/auto_pipeline.mdlink_missinga link names no file of the repository (../../tutorials/autopipeline)docs/source/en/api/pipelines/bria_fibo2.mdlink_missinga link names no file of the repository (../../optimization/attention_backends)docs/source/en/api/pipelines/cogvideox.mdlink_missing2 links name no file of the repository (../../optimization/memory, ../../optimization/fp16#torchcompile)docs/source/en/api/pipelines/cogview3.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/cogview4.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/controlnet.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/controlnet_flux.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/controlnet_hunyuandit.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/controlnet_sd3.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/controlnet_sdxl.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/cosmos.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/cosmos3.mdlink_missing4 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines, ../../quantization/modelopt, ...)docs/source/en/api/pipelines/ddpm.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/deepfloyd_if.mdlink_missing2 links name no file of the repository (../../optimization/memory#model-offloading, ../../optimization/fp16#torchcompile)docs/source/en/api/pipelines/dit.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/easyanimate.mdlink_missinga link names no file of the repository (../../quantization/overview)docs/source/en/api/pipelines/flux.mdlink_missing4 links name no file of the repository (../../optimization/cache, ../../using-diffusers/ip_adapter, ../../optimization/memory#group-offloading, ...)docs/source/en/api/pipelines/flux2.mdlink_missinga link names no file of the repository (../../optimization/cache)docs/source/en/api/pipelines/flux3.mdlink_missing7 links name no file of the repository (../../modular_diffusers/overview, ../../modular_diffusers/quickstart, ../../modular_diffusers/coming_from_diffusion_pipeline, ...)docs/source/en/api/pipelines/framepack.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/helios.mdlink_missing5 links name no file of the repository (../../optimization/memory, ../../optimization/fp16#torchcompile, ../../optimization/attention_backends, ...)docs/source/en/api/pipelines/hidream.mdlink_missinga link names no file of the repository (../../optimization/cache)docs/source/en/api/pipelines/hunyuan_video.mdlink_missing2 links name no file of the repository (../../optimization/memory, ../../optimization/fp16#torchcompile)docs/source/en/api/pipelines/hunyuan_video15.mdlink_missing3 links name no file of the repository (../../optimization/memory, ../../optimization/attention_backends, ../../using-diffusers/guiders)docs/source/en/api/pipelines/hunyuandit.mdlink_missing5 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines, ./stable_diffusion/stable_diffusion_xl#base-to-refiner-model, ...)docs/source/en/api/pipelines/hunyuanimage21.mdlink_missing2 links name no file of the repository (../../optimization/cache, ../../using-diffusers/guiders)docs/source/en/api/pipelines/kandinsky.mdlink_missing4 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines, ./stable_diffusion/stable_diffusion_xl, ...)docs/source/en/api/pipelines/kandinsky3.mdlink_missing2 links name no file of the repository (../../using-diffusers/schedulers, ../../using-diffusers/loading#reusing-models-in-multiple-pipelines)docs/source/en/api/pipelines/kandinsky6.mdlink_missing4 links name no file of the repository (../../optimization/memory, ../../optimization/memory#model-offloading, ../../optimization/memory#cpu-offloading, ...)docs/source/en/api/pipelines/kandinsky_s2v.mdlink_missinga link names no file of the repository (../../modular_diffusers/overview)