Skip to content

Commit a7166ce

Browse files
authored
Make doc builds faster (#14131)
* Update doc build workflow: light installs, drop custom container * Update doc build workflow: light installs, drop custom container * Keep the pin comment dependabot-compatible * Keep the pin comment dependabot-compatible
1 parent 5be68ce commit a7166ce

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/build_documentation.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,13 @@ permissions:
1717

1818
jobs:
1919
build:
20-
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@2430c1ec91d04667414e2fa31ecfc36c153ea391 # main
20+
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@e60a538eea9817ab312196d0d233604b01697265 # main
2121
with:
2222
commit_sha: ${{ github.sha }}
2323
install_libgl1: true
2424
package: diffusers
2525
notebook_folder: diffusers_doc
2626
languages: en ko zh ja pt
27-
custom_container: diffusers/diffusers-doc-builder
2827
pre_command: uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
2928
secrets:
3029
token: ${{ secrets.HUGGINGFACE_PUSH }}

.github/workflows/build_pr_documentation.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,11 @@ jobs:
4242
4343
build:
4444
needs: check-links
45-
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@90b4ee2c10b81b5c1a6367c4e6fc9e2fb510a7e3 # main
45+
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@e60a538eea9817ab312196d0d233604b01697265 # main
4646
with:
4747
commit_sha: ${{ github.event.pull_request.head.sha }}
4848
pr_number: ${{ github.event.number }}
4949
install_libgl1: true
5050
package: diffusers
5151
languages: en ko zh ja pt
52-
custom_container: diffusers/diffusers-doc-builder
5352
pre_command: uv pip uninstall transformers huggingface_hub && UV_PRERELEASE=allow uv pip install -U transformers@git+https://github.com/huggingface/transformers.git

0 commit comments

Comments
 (0)