Add move_to_device
kwarg to the optimizer's load_state_dict
(#1344)
#159
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 documentation | |
on: | |
push: | |
branches: | |
- main | |
- doc-builder* | |
- v*-release | |
jobs: | |
build: | |
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main | |
with: | |
commit_sha: ${{ github.sha }} | |
package: bitsandbytes | |
repo_owner: bitsandbytes-foundation | |
# avoid /src suffix leading to wrong links, like bitsandbytes/blob/main/src/bitsandbytes/nn/ | |
version_tag_suffix: '' # defaults to '/src' | |
custom_container: huggingface/transformers-doc-builder | |
secrets: | |
hf_token: ${{ secrets.HUGGINGFACE_PUSH }} |