Moved old_per_token_logps
acquisition from torch.inference_mode
to torch.no_grad
#2
Workflow file for this run
This file contains 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.event.pull_request.head.sha }} | |
pr_number: ${{ github.event.number }} | |
package: trl | |
version_tag_suffix: "" | |
custom_container: huggingface/transformers-doc-builder |