From 9c09c0d3162697812e9d11ba6cda1a3e01666b2b Mon Sep 17 00:00:00 2001 From: Jeremy Reizenstein Date: Mon, 21 Jun 2021 07:23:52 -0700 Subject: [PATCH] conda timeout in CI Summary: Conda build command can be very slow at resolving dependencies with PyTorch 1.8. I extended the timeout for this in the tests. Here do the same for the builds. Reviewed By: patricklabatut Differential Revision: D29131188 fbshipit-source-id: 554e694f0f8aa7509141016720b1e9019177b214 --- .circleci/config.in.yml | 5 ++++- .circleci/config.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.circleci/config.in.yml b/.circleci/config.in.yml index 9b0394d9..5458de3a 100644 --- a/.circleci/config.in.yml +++ b/.circleci/config.in.yml @@ -122,7 +122,10 @@ jobs: - checkout # This is building with cuda but no gpu present, # so we aren't running the tests. - - run: MAX_JOBS=15 TEST_FLAG=--no-test packaging/build_conda.sh + - run: + name: build + no_output_timeout: 20m + command: MAX_JOBS=15 TEST_FLAG=--no-test packaging/build_conda.sh - store_artifacts: path: /opt/conda/conda-bld/linux-64 - persist_to_workspace: diff --git a/.circleci/config.yml b/.circleci/config.yml index 4b89e002..085ebcf3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -122,7 +122,10 @@ jobs: - checkout # This is building with cuda but no gpu present, # so we aren't running the tests. - - run: MAX_JOBS=15 TEST_FLAG=--no-test packaging/build_conda.sh + - run: + name: build + no_output_timeout: 20m + command: MAX_JOBS=15 TEST_FLAG=--no-test packaging/build_conda.sh - store_artifacts: path: /opt/conda/conda-bld/linux-64 - persist_to_workspace: