From 7e61d56a45c19284cfda0cee8995fb552f6b1f4e Mon Sep 17 00:00:00 2001 From: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Date: Wed, 15 Dec 2021 03:40:17 -0500 Subject: [PATCH] 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 --- .github/workflows/build_doc_test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_doc_test.yml b/.github/workflows/build_doc_test.yml index f18121791c..06e7427831 100644 --- a/.github/workflows/build_doc_test.yml +++ b/.github/workflows/build_doc_test.yml @@ -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