mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 11:11:05 +06:00
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:
parent
fdf3ce2827
commit
7e61d56a45
3
.github/workflows/build_doc_test.yml
vendored
3
.github/workflows/build_doc_test.yml
vendored
@ -29,10 +29,11 @@ jobs:
|
||||
|
||||
- name: Setup environment
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
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]
|
||||
pip install .[dev]
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user