From 48c19f89c2147744e42e528e55004fa28fb0aef7 Mon Sep 17 00:00:00 2001 From: saienduri Date: Wed, 2 Oct 2024 14:26:42 -0500 Subject: [PATCH] test venv setup stage --- .github/workflows/test_e2eshark.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test_e2eshark.yml b/.github/workflows/test_e2eshark.yml index e314f5fc..f5eca065 100644 --- a/.github/workflows/test_e2eshark.yml +++ b/.github/workflows/test_e2eshark.yml @@ -209,15 +209,16 @@ jobs: repository: iree-org/iree run-id: 11147803917 - # - name: "Setup alt e2eshark python venv" - # run: | - # python3.11 -m venv ${ALT_E2E_VENV_DIR} - # source ${ALT_E2E_VENV_DIR}/bin/activate - # pip install --upgrade pip - # pip install -r ./alt_e2eshark/base_requirements.txt - # pip install -r ./alt_e2eshark/iree_requirements.txt - # pip install --no-deps -r ./alt_e2eshark/torch_mlir_requirements.txt - # working-directory: ./test-suite + - name: "Setup alt e2eshark python venv" + run: | + python3.11 -m venv ${ALT_E2E_VENV_DIR} + source ${ALT_E2E_VENV_DIR}/bin/activate + pip install --upgrade pip + pip install -r ./alt_e2eshark/base_requirements.txt + pip install ${{ github.workspace }}/iree_compiler-0.dev1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl + pip install ${{ github.workspace }}/iree_runtime-0.dev1-cp311-cp311-manylinux_2_28_x86_64.whl + pip install --no-deps -r ./alt_e2eshark/torch_mlir_requirements.txt + working-directory: ./test-suite # - name: Run Onnx Bench Mode # if: contains(matrix.test-file, 'migraphx')