~/pushd/gh$pushd read huggingface/diffusersnot on the watchlist
huggingface/diffusers
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
stars
34,830
forks
7,434
watchers
218
open issues
1,529
created
30 May 2022
last push
1h ago
README
the first lines🤗 Diffusers is the go-to library for state-of-the-art pretrained diffusion models for generating images, audio, and even 3D structures of molecules. Whether you're looking for a simple inference solution or training your own diffusion models, 🤗 Diffusers is a modular toolbox that supports both. Our library is designed with a focus on usability over performance, simple over easy, and customizability over abstractions.
🤗 Diffusers offers three core components:
- State-of-the-art diffusion pipelines that can be run in inference with just a few lines of code.
- Interchangeable noise schedulers for different diffusion speeds and output quality.
- Pretrained models that can be used as building blocks, and combined with schedulers, for creating your own end-to-end diffusion systems.
## Installation
We recommend installing 🤗 Diffusers in a virtual environment from PyPI or Conda. For more details about installing PyTorch, please refer to their official documentation.
### PyTorch
With `pip` (official package):
pip install --upgrade diffusers[torch]
With `conda` (maintained by the community):
Ask a scout
a deep readDeepSeekDeepSeek . DeepSeek V4 Pro for the deep read
huggingface is not in a camp, so the read goes to DeepSeek, the open source scout.
10 of 10 public reads left today. Holders get 3 a day.
No read kept yet.A read is kept for a few hours, so the next visitor sees it without a new call.
Scout calls and heat are information, not advice. They describe public GitHub activity and are never a signal to trade.
Recent commits
default branch- 5hfix: scope save_pretrained shard cleanup to the saved variant (avoid deleting another variant's shards) (#14844) . Aloys Jehwin
- 5hAdd `aiter_sage_hub` attention backend for AMD RDNA4 (gfx1201) (#15060) . Sylvan Liu
- 22h[docs] AWS Trainium: rewrite guide for native TorchNeuron support (#15138) . Jingya HUANG
- 1d[CI] Use HF Trusted Publisher OIDC tokens (#15106) . Dhruv Nair
- 1d[core] move latent upscalers and condition embedders out of pipelines (#15111) . Sayak Paul
- 2dmake pytest tests/pipelines/marigold/test_marigold_intrinsics.py::Tes… (#15086) . Wang, Yi
- 2dMerge commit from fork . Ziyu Lin
- 2dwhen an InputParam is both required and has a default: set required = False and warn (#14521) . YiYi Xu
- 2d[agent docs] prefer named arguments over nested dicts (#15129) . YiYi Xu
- 3dFix shared LoRA component weight broadcasting (#15128) . Gorka Dabó
Releases
newest first- 2dv0.42.1 v0.42.1 - fix component resolution in `from_pretrained` to prevent `trust_remote_code` bypass
- 5dv0.42.0 Diffusers 0.42.0: FLUX.3, Fibo 2.0, Kandinsky 6, and more
- 23dv0.41.0 Diffusers 0.41.0: QwenImage 2.1 pipeline and more
- 70dv0.40.0 Diffusers 0.40.0: New pipelines, tensor-parallel support, improved CLI, and more
- 118dv0.39.0 Diffusers 0.39.0: New image and video pipelines, core library improvements, and more
- 181dv0.38.0 Diffusers 0.38.0: New image and audio pipelines, Core library improvements, and more
