"git@developer.sourcefind.cn:wangsen/mineru.git" did not exist on "a7e75dc06062fe3cdaa22be3bc848da037c98356"
Unverified Commit 12e1b4c6 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Fix the build documentation job (#14788)

* Fix the build documentation job

* Fix install

* Address review comment
parent 5061a9fd
...@@ -5,6 +5,7 @@ on: ...@@ -5,6 +5,7 @@ on:
branches: branches:
- master - master
- doc-builder* - doc-builder*
- v*-release
jobs: jobs:
build_and_package: build_and_package:
...@@ -46,7 +47,9 @@ jobs: ...@@ -46,7 +47,9 @@ jobs:
sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev 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/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])") 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 pip install torch-scatter -f https://data.pyg.org/whl/torch-${TORCH_VERSION}+cpu.html
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment