Skip to content

Commit 5aae18d

Browse files
authored
Remove test_punet job from ci-sharktank.yml. (#621)
Partial revert of #613. This job takes over an hour to run (specifically `test_punet_eager_fp16_validation `) and is not suitable for presubmit. This is likely also not the right file for such tests, and if it was then the specialized tests should go under the generic `test` job, not at the top of the file.
1 parent 2ee7676 commit 5aae18d

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

.github/workflows/ci-sharktank.yml

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -22,45 +22,6 @@ concurrency:
2222
cancel-in-progress: true
2323

2424
jobs:
25-
test_punet:
26-
name: "Integration Tests - punet"
27-
runs-on: nodai-amdgpu-mi250-x86-64
28-
env:
29-
PIP_CACHE_DIR: "${{ github.workspace }}/.pip-cache"
30-
steps:
31-
- name: "Setting up Python"
32-
id: setup_python
33-
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
34-
with:
35-
python-version: 3.11
36-
37-
- name: "Checkout Code"
38-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39-
40-
- name: Cache Pip Packages
41-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
42-
id: cache-pip
43-
with:
44-
path: ${{ env.PIP_CACHE_DIR }}
45-
key: pip-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('*requirements*.txt','sharktank/requirements*.txt') }}
46-
47-
- name: Install pip deps
48-
run: |
49-
python -m pip install --no-compile --upgrade pip
50-
# Note: We install in three steps in order to satisfy requirements
51-
# from non default locations first. Installing the PyTorch CPU
52-
# wheels saves multiple minutes and a lot of bandwidth on runner setup.
53-
pip install --no-compile -r pytorch-cpu-requirements.txt
54-
pip install --no-compile -r requirements.txt -r sharktank/requirements-tests.txt -e sharktank/
55-
56-
# Update to the latest iree packages.
57-
pip install -f https://iree.dev/pip-release-links.html --upgrade --pre \
58-
iree-base-compiler iree-base-runtime --src deps \
59-
-e "git+https://github.com/iree-org/iree-turbine.git#egg=iree-turbine"
60-
- name: Run punet tests
61-
run: |
62-
pytest -v sharktank/ -m model_punet
63-
6425
test:
6526
name: "Unit Tests and Type Checking"
6627
strategy:

0 commit comments

Comments
 (0)