Skip to content

Conversation

@TedThemistokleous
Copy link
Collaborator

@TedThemistokleous TedThemistokleous commented Sep 29, 2025

…cher scripts

Motivation

Push pai launcher scripts to Onnxrutime to let us reuse scripts from prior run
Related to change from - #4321

Technical Details

Copy the pai scripts from tools directory and use them in our CI when invoking the Dockerfile

Changelog Category

    • Added: New functionality.
    • Changed: Changes to existing functionality.
    • Removed: Functionality or support that has been removed. (Compared to a previous release)
    • Optimized: Component performance that has been optimized or improved.
    • Resolved Issues: Known issues from a previous version that have been resolved.
    • Not Applicable: This PR is not to be included in the changelog.

@TedThemistokleous TedThemistokleous self-assigned this Sep 29, 2025
@TedThemistokleous TedThemistokleous added the bugfix Fixes a bug found in the code. label Sep 29, 2025
@TedThemistokleous TedThemistokleous added the Continous Integration Pull request updates parts of continous integration pipeline label Sep 29, 2025
Copy link
Contributor

@ahsan-ca ahsan-ca left a comment

Choose a reason for hiding this comment

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

Looks good. A minor nit: The name of the PR exceeds the limit allowed and has spilled over to the description. It would be good to fix this for readability of commits in the history. Thanks!

@causten
Copy link
Collaborator

causten commented Sep 30, 2025

[2025-09-29T22:53:27.271Z] [----------] Global test environment tear-down
[2025-09-29T22:53:27.271Z] [==========] 5373 tests from 339 test suites ran. (47126 ms total)
[2025-09-29T22:53:27.271Z] [ PASSED ] 5366 tests.
[2025-09-29T22:53:27.271Z] [ SKIPPED ] 7 tests, listed below:
[2025-09-29T22:53:27.271Z] [ SKIPPED ] MatMulFpQ4.MatMul2DSym
[2025-09-29T22:53:27.271Z] [ SKIPPED ] MatMulFpQ4.MatMul2DBlkZp
[2025-09-29T22:53:27.271Z] [ SKIPPED ] MoETest.QMoETest_CPU_Int4_MLAS
[2025-09-29T22:53:27.271Z] [ SKIPPED ] MoETest.QMoETest_CPU_Int8_MLAS
[2025-09-29T22:53:27.271Z] [ SKIPPED ] MoETest.QMoETest_CPU_FC3_Error
[2025-09-29T22:53:27.271Z] [ SKIPPED ] MoETest.QMoETest_CPU_SwiGLU_Int4
[2025-09-29T22:53:27.271Z] [ SKIPPED ] MoETest.QMoETest_CPU_SwiGLU_Int8
[2025-09-29T22:53:27.271Z]
[2025-09-29T22:53:27.271Z] YOU HAVE 6 DISABLED TESTS
[2025-09-29T22:53:27.271Z]
[2025-09-29T22:53:27.527Z] ../../../tools/ci_build/github/pai/pai_provider_test_launcher.sh: 28: Bad substitution
[2025-09-29T22:53:27.527Z] Warning: The following tests are EXCLUDED on PAI agent:
[2025-09-29T22:53:27.528Z] ../../../tools/ci_build/github/pai/pai_provider_test_launcher.sh: 32: cannot open onnxruntime/build/Linux/Release/pai-excluded-tests.txt: No such file
[2025-09-29T22:53:27.528Z]
[2025-09-29T22:53:27.528Z] Running ./onnxruntime_provider_test ..
[2025-09-29T22:53:27.528Z] ../../../tools/ci_build/github/pai/pai_provider_test_launcher.sh: 39: ./onnxruntime_provider_test: not found
[2025-09-29T22:53:27.528Z] ./onnxruntime_provider_test: No such file or directory.
[2025-09-29T22:53:27.528Z] /onnxruntime/build/Linux/Release/core: No such file or directory.

@causten causten requested a review from Copilot September 30, 2025 17:32
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the ONNX Runtime integration by copying PAI launcher scripts to ONNX Runtime to enable script reuse from prior runs, addressing a related change from a previous PR.

  • Modified the build script to handle copying PAI launcher scripts with silent error handling in CI environments
  • Updated the ONNX Runtime commit reference to a newer version
  • Added PAI launcher scripts directly to the Docker image for better integration

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
tools/build_and_test_onnxrt.sh Added silent error handling for copying PAI scripts in CI environments
test/onnx/.onnxrt-commit Updated ONNX Runtime commit hash to newer version
Dockerfile Added PAI launcher scripts directly to the Docker image build

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@causten
Copy link
Collaborator

causten commented Sep 30, 2025

copilot error handling suggestion is worthwhile to include

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Sep 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4336   +/-   ##
========================================
  Coverage    92.25%   92.25%           
========================================
  Files          559      559           
  Lines        26218    26218           
========================================
  Hits         24185    24185           
  Misses        2033     2033           

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@causten causten merged commit 3a688d3 into develop Sep 30, 2025
46 of 51 checks passed
@causten causten deleted the onnxrt_ci_fix branch September 30, 2025 23:25
TedThemistokleous added a commit that referenced this pull request Oct 1, 2025
#4336)

Update build and test script and dockerfile to add in onnxrt pai launcher scripts
Push pai launcher scripts to Onnxrutime to let us reuse scripts from prior run
Related to change from - #4321
shahamed pushed a commit that referenced this pull request Oct 7, 2025
#4336)

Update build and test script and dockerfile to add in onnxrt pai launcher scripts
Push pai launcher scripts to Onnxrutime to let us reuse scripts from prior run
Related to change from - #4321
causten pushed a commit that referenced this pull request Oct 8, 2025
#4336)

Update build and test script and dockerfile to add in onnxrt pai launcher scripts
Push pai launcher scripts to Onnxrutime to let us reuse scripts from prior run
Related to change from - #4321
causten pushed a commit that referenced this pull request Oct 8, 2025
#4336)

Update build and test script and dockerfile to add in onnxrt pai launcher scripts
Push pai launcher scripts to Onnxrutime to let us reuse scripts from prior run
Related to change from - #4321
Swathi9494 pushed a commit that referenced this pull request Oct 8, 2025
#4336)

Update build and test script and dockerfile to add in onnxrt pai launcher scripts
Push pai launcher scripts to Onnxrutime to let us reuse scripts from prior run
Related to change from - #4321
Swathi9494 pushed a commit that referenced this pull request Oct 8, 2025
#4336)

Update build and test script and dockerfile to add in onnxrt pai launcher scripts
Push pai launcher scripts to Onnxrutime to let us reuse scripts from prior run
Related to change from - #4321
shahamed pushed a commit that referenced this pull request Oct 8, 2025
#4336)

Update build and test script and dockerfile to add in onnxrt pai launcher scripts
Push pai launcher scripts to Onnxrutime to let us reuse scripts from prior run
Related to change from - #4321
shahamed pushed a commit that referenced this pull request Oct 8, 2025
#4336)

Update build and test script and dockerfile to add in onnxrt pai launcher scripts
Push pai launcher scripts to Onnxrutime to let us reuse scripts from prior run
Related to change from - #4321
jharryma pushed a commit that referenced this pull request Oct 10, 2025
* [7.1] Resolve Bert and Inception quick tune

* Update build and test script and dockerfile to add in onnxrt pai laun… (#4336)

Update build and test script and dockerfile to add in onnxrt pai launcher scripts
Push pai launcher scripts to Onnxrutime to let us reuse scripts from prior run
Related to change from - #4321

* resolve merge conflicts

---------

Co-authored-by: Ted Themistokleous <107195283+TedThemistokleous@users.noreply.github.com>
jharryma pushed a commit that referenced this pull request Oct 10, 2025
* Update build and test script and dockerfile to add in onnxrt pai laun… (#4336)

Update build and test script and dockerfile to add in onnxrt pai launcher scripts
Push pai launcher scripts to Onnxrutime to let us reuse scripts from prior run
Related to change from - #4321

* Bump SQlite3 to 3.50.4 (#4322)

* TopK exception bugfix (#4329)

* Use --input-dim for specifying dynamic shapes at driver runtime (#4342)

* Add video and render groups in docker for CI (#4340)

* Fix MXFP4 bugs (#4324)

* propagate_constant ignores `unpack_fp4` instructions now
* `match_find_mx_quantizable_ops` from `simplify_qdq` updated to not require non-constant scales. The scales can be literals.
* transpose, reshape, and broadcast instructions propagated on scale instructions when going to `quant_dot` and `quant_conv`
* `raw_data` `operator<<` updated to use `fallback_visit` to also handle non-computable types

* Brevitas MXFP4 quantization parse (#4301)

* Bump onnx to 1.18.0 (#4323)

* Fuse GEMM+GEMM with rocMLIR (#4261)

rocmlir supports GEMM+GEMM fusion, so MIGraphX needs to support the fusion on our side.
Solves #4230

* Updated SD3 example for change in optimum-onnx[onnxruntime] (#4344)

* Lower lrn to pooling (#4294)

This PR implements a lowering transformation that converts LRN operations into a series of pooling and arithmetic operations.

* Update onnxruntime main be655f69f6c8623eebcac094626d0c8545951e6d (#4348)

* Update docs/reference/MIGraphX-dev-env-vars.rst

---------

Co-authored-by: Ted Themistokleous <107195283+TedThemistokleous@users.noreply.github.com>
Co-authored-by: Lakhinder Walia <139581206+lakhinderwalia@users.noreply.github.com>
Co-authored-by: kahmed10 <15948690+kahmed10@users.noreply.github.com>
Co-authored-by: Charlie Lin <charlie.lin@amd.com>
Co-authored-by: Breanna Devore-McDonald <breanna.devore-mcdonald@amd.com>
Co-authored-by: Aarushi Jain <142941703+aarushjain29@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes a bug found in the code. Continous Integration Pull request updates parts of continous integration pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants