Return buffer instead of file_path if cache unavailable for model loading #1348
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 PR Documentation | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main | |
with: | |
commit_sha: ${{ github.sha }} | |
pr_number: ${{ github.event.number }} | |
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 |