Skip to content

Conversation

@chilo-ms
Copy link
Contributor

Description

If an option appears multiple times:
Unlike getopt just returns it again in the parsing loop, Abseil processes them in order, and the last one wins (overwrites earlier values).

This PR fixes the bug for -f free dimension override by name and -F free dimension override by denotation.
see #25714

yuslepukhin
yuslepukhin previously approved these changes Aug 18, 2025
Copy link
Member

@yuslepukhin yuslepukhin left a comment

Choose a reason for hiding this comment

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

:shipit:

@qwu16
Copy link
Contributor

qwu16 commented Aug 19, 2025

Hi, is there any plan when this PR will be merged? It broke our daily performance process. It would be great that onnxruntime_perf_test tool can support multiple free dimension settings again.

@chilo-ms
Copy link
Contributor Author

chilo-ms commented Aug 19, 2025

Hi, is there any plan when this PR will be merged? It broke our daily performance process. It would be great that onnxruntime_perf_test tool can support multiple free dimension settings again.

Once all CI pass, it will be merged to main. Should be done today.

@chilo-ms chilo-ms merged commit a380e5c into main Aug 19, 2025
114 of 116 checks passed
@chilo-ms chilo-ms deleted the chi/fix_perf_test_free_dim branch August 19, 2025 20:23
adrianlizarraga pushed a commit that referenced this pull request Aug 21, 2025
### Description
If an option appears multiple times:
Unlike `getopt` just returns it again in the parsing loop, `Abseil`
processes them in order, and the last one wins (overwrites earlier
values).

This PR fixes the bug for `-f` free dimension override by name and `-F
`free dimension override by denotation.
see #25714
adrianlizarraga added a commit that referenced this pull request Aug 25, 2025
### Description
Cherry-pick the following PRs into the `rel-1.23.0` branch:
- #25592
- #25622
- #25688
- #25729
- #25743
- #25769
- #25745
- #25761
- #25751
- #25716
- #25228
- #25768
- #25788
- #25747
- #25800
- #25818
- #25762
- #25749
- #25831


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

---------

Co-authored-by: quic-tirupath <quic_tirupath@quicinc.com>
Co-authored-by: quic-calvnguy <quic_calvnguy@quicinc.com>
Co-authored-by: qti-kromero <kromero@qti.qualcomm.com>
Co-authored-by: Jeff Kilpatrick <jkilpatrick@qti.qualcomm.com>
Co-authored-by: Scott McKay <skottmckay@gmail.com>
Co-authored-by: David Fan <30608893+jiafatom@users.noreply.github.com>
Co-authored-by: kuanyul-qti <kuanyul@qti.qualcomm.com>
Co-authored-by: Dmitri Smirnov <yuslepukhin@users.noreply.github.com>
Co-authored-by: Chi Lo <54722500+chilo-ms@users.noreply.github.com>
Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
Co-authored-by: Chunye Wang@AMD <chunywan@amd.com>
Co-authored-by: minfhong-qti <minfhong@qti.qualcomm.com>
Co-authored-by: Vishal Agarwal <vishala@nvidia.com>
Co-authored-by: Maximilian Müller <maximilianm@nvidia.com>
Co-authored-by: Maximilian Müller <44298237+gedoensmax@users.noreply.github.com>
Co-authored-by: Changming Sun <chasun@microsoft.com>
Co-authored-by: adrastogi <aditya.rastogi@microsoft.com>
Co-authored-by: Aditya Rastogi <adityar@ntdev.microsoft.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
gedoensmax pushed a commit to gedoensmax/onnxruntime that referenced this pull request Sep 2, 2025
…ft#25716)

### Description
If an option appears multiple times:
Unlike `getopt` just returns it again in the parsing loop, `Abseil`
processes them in order, and the last one wins (overwrites earlier
values).

This PR fixes the bug for `-f` free dimension override by name and `-F
`free dimension override by denotation.
see microsoft#25714
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants