翻篇收录说明
翻篇网页快照

Diffusers · Hugging Face

https://huggingface.co/docs/diffusers/index

最近抓取:2026-12-03 02:36:11(北京时间)

最近内容变化:2026-11-30 05:11:42(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

We’re on a journey to advance and democratize artificial intelligence through open source and open science.

正文摘录

Diffusers documentation Diffusers Diffusers 🏡 View all docsAWS Trainium & InferentiaAccelerateBitsandbytesCLIChat UIDataset viewerDatasetsDeploying on AWSDiffusersGoogle CloudGoogle TPUsGradioHubHub Python LibraryHuggingface.jsInference Endpoints (dedicated)Inference ProvidersKernelsLeRobotLeaderboardsLightevalMicrosoft AzureOpenEnvOptimumPEFTReachy MiniSafetensorsSentence TransformersTRLTasksText Embeddings InferenceTokenizersTrackioTransformersTransformers.jsXetsmolagentstimm Search documentation mainv0.43.0v0.42.1v0.41.0v0.40.0v0.39.0v0.38.0v0.37.1v0.36.0v0.35.1v0.34.0v0.33.1v0.32.2v0.31.0v0.30.3v0.29.2v0.28.2v0.27.2v0.26.3v0.25.1v0.24.0v0.23.1v0.22.3v0.21.0v0.20.0v0.19.3v0.18.2v0.17.1v0.16.0v0.15.0v0.14.0v0.13.0v0.12.0v0.11.0v0.10.2v0.9.0v0.8.0v0.7.0v0.6.0v0.5.1v0.4.1v0.3.0v0.2.4 ARENESFRIDJAKOPTRUTRVIZH Join the Hugging Face community and get access to the augmented documentation experience Collaborate on models, datasets and Spaces Faster examples with accelerated inference Switch between documentation themes Sign Up to get started Copy page Diffusers Diffusers provides pretrained diffusion models and the building blocks for custom image, video, and audio workflows. It has two main paths. DiffusionPipeline supports few-line inference with pretrained checkpoints, plus adapters like LoRA. This is the easy path for generation. Modular Diffusers enables composable blocks and ModularPipeline for custom pipelines when you need more control. Optimizations such as offloading and quantization keep large models runnable on memory-constrained devices. If memory is not an issue, Diffusers also supports torch.compile for faster inference. Browse trending Diffusers models on the Hub now. Learn If you’re a beginner, start with the Hugging Face Diffusion Models Course. It covers diffusion theory and how to generate images, fine-tune models, and more with Diffusers. The Quickstart also includes a copyable agent setup prompt for inference. Where next Inference — load pipelines and run generation Optimize and scale — memory, speed, quantization, and serving Modular Diffusers — build custom pipelines from blocks Train and fine-tune — train diffusion models and adapters CLI - run and package pipelines from the command line Update on GitHub Installation→