Fix the doc_build_test job (#14774)
* Fake new model * Fix doc-building test job * Is this the problem? * Another try * Typo * Clean up * Can we do without -e ? * Clean setup
This commit is contained in:
3
.github/workflows/build_doc_test.yml
vendored
3
.github/workflows/build_doc_test.yml
vendored
@@ -29,10 +29,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
run: |
|
run: |
|
||||||
|
pip install --upgrade pip
|
||||||
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]
|
pip install .[dev]
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user