Introduce wasm/webgpu inference chain to prevent "Session already sta… #419
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build documentation | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main | |
| with: | |
| commit_sha: ${{ github.sha }} | |
| package: transformers.js | |
| path_to_docs: transformers.js/docs/source | |
| pre_command: cd transformers.js && npm install && npm run docs-api | |
| additional_args: --not_python_module | |
| secrets: | |
| hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }} |