Skip to content

Merge pkgci_test_ jobs using matrices. - #17512

Merged
ScottTodd merged 8 commits into
iree-org:mainfrom
ScottTodd:infra-matrix-pkgci
May 29, 2024
Merged

ScottTodd merged 8 commits into
iree-org:mainfrom
ScottTodd:infra-matrix-pkgci

Conversation

@ScottTodd

@ScottTodd ScottTodd commented May 29, 2024 •

Copy link
Copy Markdown
Member

Progress on #17136. Similar to #17509, this folds the five regression_test_ jobs in pkgci.yml into two matrices, test_onnx and test_models, with most steps shared.

The "model" tests are still verbose to configure here as we have multiple variants on some backends. Depending on how much we want to unify or diverge we could continue to refactor further.

ci-exactly: build_packages,regression_test

@ScottTodd ScottTodd added infrastructure Relating to build systems, CI, or testing cleanup 🧹 labels May 29, 2024
@ScottTodd ScottTodd changed the title Merge pkgci_test_ jobs into a single matrix. Merge pkgci_test_ jobs using matrices. May 29, 2024
@ScottTodd
ScottTodd force-pushed the infra-matrix-pkgci branch from 0e4f6c1 to 6c3286b Compare May 29, 2024 19:28
@ScottTodd
ScottTodd marked this pull request as ready for review May 29, 2024 20:00
@ScottTodd
ScottTodd requested a review from saienduri May 29, 2024 20:00
models-extra-flags-config-file: pytorch_models_gpu_rocm_gfx90a_additional_flags.json
sdxl-config-file: sdxl_scheduled_unet_gpu_rocm_gfx90a.json
runs-on: nodai-amdgpu-mi250-x86-64
- name: amdgpu_vulkan

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add new line and #NVIDIA GPU label

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 added

          # NVIDIA GPU
          # None at the moment. Could maybe use the persistent a100 runners:
          #   - self-hosted # must come first
          #   - runner-group=${{ needs.setup.outputs.runner-group }}
          #   - environment=${{ needs.setup.outputs.runner-env }}
          #   - a100
          #   - os-family=Linux
          # (note: would need to plumb the presubmit/postsubmit runner-group through to here too)

@saienduri saienduri left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

--config-files=${SDXL_CONFIG_FILE_PATH}

- name: "Running SDXL rocm pipeline benchmark"
if: contains(matrix.name, 'rocm')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

want to add the same success check here or I can do it in my PR too

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not quite sure how much I want to include other conditions yet, so leaving that off.

Comment on lines +99 to +100
pytest SHARK-TestSuite/iree_tests/onnx/ \
-rpfE --timeout=30 --durations=20 \
--config-files=build_tools/pkgci/external_test_suite/onnx_gpu_rocm_rdna3.json \
-n 4 -rpfE --timeout=30 --durations=20 \

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oooh wait, we were running without -n at all on ROCm, right right... I can make that configurable via the matrix too - still want to run with 4 or more in parallel on at least CPU.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed a commit for that. Now we can at least see in one location how the jobs differ.

@ScottTodd
ScottTodd merged commit b6b1df6 into iree-org:main May 29, 2024
@ScottTodd
ScottTodd deleted the infra-matrix-pkgci branch May 29, 2024 21:55
gglangg pushed a commit to gglangg/iree that referenced this pull request Jun 4, 2024
Progress on iree-org#17136. Similar to
iree-org#17509, this folds the five
`regression_test_` jobs in pkgci.yml into two matrices, `test_onnx` and
`test_models`, with most steps shared.

The "model" tests are still verbose to configure here as we have
multiple variants on some backends. Depending on how much we want to
unify or diverge we could continue to refactor further.

ci-exactly: build_packages,regression_test
gglangg pushed a commit to gglangg/iree that referenced this pull request Jun 4, 2024
Progress on iree-org#17136. Similar to
iree-org#17509, this folds the five
`regression_test_` jobs in pkgci.yml into two matrices, `test_onnx` and
`test_models`, with most steps shared.

The "model" tests are still verbose to configure here as we have
multiple variants on some backends. Depending on how much we want to
unify or diverge we could continue to refactor further.

ci-exactly: build_packages,regression_test
bangtianliu pushed a commit to bangtianliu/iree that referenced this pull request Jun 5, 2024
Progress on iree-org#17136. Similar to
iree-org#17509, this folds the five
`regression_test_` jobs in pkgci.yml into two matrices, `test_onnx` and
`test_models`, with most steps shared.

The "model" tests are still verbose to configure here as we have
multiple variants on some backends. Depending on how much we want to
unify or diverge we could continue to refactor further.

ci-exactly: build_packages,regression_test
LLITCHEV pushed a commit to LLITCHEV/iree that referenced this pull request Jul 30, 2024
Progress on iree-org#17136. Similar to
iree-org#17509, this folds the five
`regression_test_` jobs in pkgci.yml into two matrices, `test_onnx` and
`test_models`, with most steps shared.

The "model" tests are still verbose to configure here as we have
multiple variants on some backends. Depending on how much we want to
unify or diverge we could continue to refactor further.

ci-exactly: build_packages,regression_test
Signed-off-by: Lubo Litchev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup 🧹 infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants