From f78fe3d774c8aa7f5e4d5de0a520f9125991dcfa Mon Sep 17 00:00:00 2001 From: Maxim Vafin Date: Wed, 4 Oct 2023 23:38:51 +0200 Subject: [PATCH] Refactor requirements --- .github/workflows/linux.yml | 2 +- tests/model_hub_tests/torch_tests/requirements.txt | 2 ++ tests/model_hub_tests/torch_tests/requirements_secondary.txt | 5 ----- 3 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 tests/model_hub_tests/torch_tests/requirements_secondary.txt diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 052f8ebfcd6..a0a924a5a77 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1156,8 +1156,8 @@ jobs: - name: Install PyTorch tests requirements run: | + python3 -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu python3 -m pip install -r ${MODEL_HUB_TESTS_INSTALL_DIR}/torch_tests/requirements.txt - python3 -m pip install -r ${MODEL_HUB_TESTS_INSTALL_DIR}/torch_tests/requirements_secondary.txt echo "Available storage:" df -h env: diff --git a/tests/model_hub_tests/torch_tests/requirements.txt b/tests/model_hub_tests/torch_tests/requirements.txt index 406607b69d2..41d25874a47 100644 --- a/tests/model_hub_tests/torch_tests/requirements.txt +++ b/tests/model_hub_tests/torch_tests/requirements.txt @@ -14,3 +14,5 @@ pyctcdecode protobuf soundfile pandas +git+https://github.com/facebookresearch/detectron2.git@1a4df4d954089534daebbd7a0a45f08ece87056e +natten diff --git a/tests/model_hub_tests/torch_tests/requirements_secondary.txt b/tests/model_hub_tests/torch_tests/requirements_secondary.txt deleted file mode 100644 index 803c3c4b839..00000000000 --- a/tests/model_hub_tests/torch_tests/requirements_secondary.txt +++ /dev/null @@ -1,5 +0,0 @@ --c ../../constraints.txt -# This file contains requirements dependednt from modules in requirements.txt -# get immutable commit to be able to use pip cache -git+https://github.com/facebookresearch/detectron2.git@1a4df4d954089534daebbd7a0a45f08ece87056e -natten