Files
diffusers/.github/workflows/build_documentation.yml
Sayak Paul 303f3a7061 Install transformers from main for doc and staging (#13723)
* Use Mistral3Model/Ministral3ForCausalLM

* [docs] add magcache to caching api listing (#13714)

add magcache to caching api listing

* install transformers from main

* up

* up

* up

* up[

* shorten deprecation cycle for flax.

* Revert "shorten deprecation cycle for flax."

This reverts commit 692d98db7b.

---------

Co-authored-by: Akshan Krithick <akshankrithick305@gmail.com>
Co-authored-by: YiYi Xu <yixu310@gmail.com>
2026-05-12 18:50:50 +09:00

32 lines
882 B
YAML

name: Build documentation
on:
push:
branches:
- main
- doc-builder*
- v*-release
- v*-patch
paths:
- "src/diffusers/**.py"
- "examples/**"
- "docs/**"
permissions:
contents: read
jobs:
build:
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@2430c1ec91d04667414e2fa31ecfc36c153ea391 # main
with:
commit_sha: ${{ github.sha }}
install_libgl1: true
package: diffusers
notebook_folder: diffusers_doc
languages: en ko zh ja pt
custom_container: diffusers/diffusers-doc-builder
pre_command: uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
secrets:
token: ${{ secrets.HUGGINGFACE_PUSH }}
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}