Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
12e1b4c6
Unverified
Commit
12e1b4c6
authored
Dec 16, 2021
by
Sylvain Gugger
Committed by
GitHub
Dec 16, 2021
Browse files
Fix the build documentation job (#14788)
* Fix the build documentation job * Fix install * Address review comment
parent
5061a9fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
.github/workflows/build_documentation.yml
.github/workflows/build_documentation.yml
+4
-1
No files found.
.github/workflows/build_documentation.yml
View file @
12e1b4c6
...
...
@@ -5,6 +5,7 @@ on:
branches
:
-
master
-
doc-builder*
-
v*-release
jobs
:
build_and_package
:
...
...
@@ -46,7 +47,9 @@ jobs:
sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev
pip install git+https://github.com/huggingface/doc-builder
pip install git+https://github.com/huggingface/transformers#egg=transformers[dev]
cd transformers
pip install .[dev]
cd ..
export TORCH_VERSION=$(python -c "from torch import version; print(version.__version__.split('+')[0])")
pip install torch-scatter -f https://data.pyg.org/whl/torch-${TORCH_VERSION}+cpu.html
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment