Skip to content

Commit

Permalink
build notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
stevhliu committed Mar 30, 2023
1 parent 8f63f56 commit 7b46d45
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ jobs:
with:
commit_sha: ${{ github.sha }}
package: peft
notebook_folder: peft_docs
secrets:
token: ${{ secrets.HUGGINGFACE_PUSH }}
token: ${{ secrets.HUGGINGFACE_PUSH }}
7 changes: 7 additions & 0 deletions docs/source/_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# docstyle-ignore
INSTALL_CONTENT = """
# PEFT installation
! pip install peft accelerate transformers
# To install from source instead of the last release, comment the command above and uncomment the following one.
# ! pip install git+https://github.com/huggingface/peft.git
"""

0 comments on commit 7b46d45

Please sign in to comment.