From a8ec002926518a996b02cb705b8b4e0d4e99c72e Mon Sep 17 00:00:00 2001 From: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Date: Sat, 25 Sep 2021 12:47:39 -0400 Subject: [PATCH] Update test dependence for torch examples (#13738) --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4fcc33475b..b817d36a61 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -557,8 +557,9 @@ jobs: keys: - v0.4-torch_examples-{{ checksum "setup.py" }} - v0.4-{{ checksum "setup.py" }} + - run: sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev - run: pip install --upgrade pip - - run: pip install .[sklearn,torch,sentencepiece,testing] + - run: pip install .[sklearn,torch,sentencepiece,testing,torch-speech] - run: pip install -r examples/pytorch/_tests_requirements.txt - save_cache: key: v0.4-torch_examples-{{ checksum "setup.py" }} @@ -591,8 +592,9 @@ jobs: keys: - v0.4-torch_examples-{{ checksum "setup.py" }} - v0.4-{{ checksum "setup.py" }} + - run: sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev - run: pip install --upgrade pip - - run: pip install .[sklearn,torch,sentencepiece,testing] + - run: pip install .[sklearn,torch,sentencepiece,testing,torch-speech] - run: pip install -r examples/pytorch/_tests_requirements.txt - save_cache: key: v0.4-torch_examples-{{ checksum "setup.py" }}