Skip to content

Commit

Permalink
venv changes
Browse files Browse the repository at this point in the history
  • Loading branch information
saienduri committed Sep 16, 2024
1 parent f7e1ae1 commit 3518afc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/test_e2eshark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ jobs:
--report \
--cachedir ${{ matrix.cache-dir }} \
--mode turbine \
-g models \
--tests pytorch/models/bart-large \
--targetbackend ${{ matrix.backend }} \
--device ${{ matrix.device }} \
--targetchip ${{ matrix.target-chip }} \
Expand Down Expand Up @@ -279,20 +279,14 @@ jobs:
ref: 'main'
token: ${{ secrets.E2ESHARK_GITHUB_TOKEN }}
path: e2eshark-reports
- name: "Setup test suite venv"
run: |
python3.11 -m venv report_venv
source report_venv/bin/activate
pip install --upgrade pip
pip install -r ./test-suite/e2eshark/requirements.txt
- name: "Setup alt test suite venv"
run: |
python3.11 -m venv report_venv_alt
source report_venv/bin/activate
source report_venv_alt/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
pip install -r ./test-suite/alt_e2eshark/base_requirements.txt
pip install -r ./test-suite/alt_e2eshark/iree_requirements.txt
pip install --no-deps -r ./test-suite/alt_e2eshark/torch_mlir_requirements.txt
- uses: actions/download-artifact@master
with:
name: ci_reports_${{ matrix.backend }}_shark-test-suite_onnx.md
Expand Down
2 changes: 1 addition & 1 deletion alt_e2eshark/e2e_testing/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, *, device="local-task", hal_target_backend="llvm-cpu", extra_
elif hal_target_backend == "rocm":
# some extra args for Mi300x - some of these may not work for other chips
self.extra_args = [
"--iree-rocm-target-chip=gfx942",
"--iree-hip-target=gfx942",
# "--iree-global-opt-propagate-transposes=true",
# "--iree-opt-outer-dim-concat=true",
# "--iree-opt-const-eval=false",
Expand Down
2 changes: 1 addition & 1 deletion alt_e2eshark/torch_mlir_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--pre
-f https://github.com/llvm/torch-mlir-release/releases/expanded_assets/dev-wheels
#install nightly build of torch_mlir, if on Linux (no macOS or Windows nightly builds)
torch-mlir ; sys_platform == "linux"
torch-mlir-core ; sys_platform == "linux"

0 comments on commit 3518afc

Please sign in to comment.