Skip to content

Conversation

@chilo-ms
Copy link
Contributor

Description

ABSL_FLAGS_STRIP_NAMES is set to 1 by default to disable flag registration when building for Android, iPhone, and "embedded devices".
So, running onnxruntime_perf_test on Android will see that flags are not registered.

image (2)

Set ABSL_FLAGS_STRIP_NAMES to 0 by default for all builds.

@chilo-ms chilo-ms merged commit 0de1c01 into main Aug 26, 2025
92 checks passed
@chilo-ms chilo-ms deleted the chi/fix_absl_flags_for_perf_test_on_mobile branch August 26, 2025 22:58
snnn pushed a commit that referenced this pull request Aug 28, 2025
…ile build (#25849)

### Description
`ABSL_FLAGS_STRIP_NAMES `is set to 1 by default to disable flag
registration when building for Android, iPhone, and "embedded devices".
So, running onnxruntime_perf_test on Android will see that flags are not
registered.

<img width="872" height="182" alt="image (2)"
src="https://github.com/user-attachments/assets/eb6a6772-cdff-4d60-a3c7-4352477e956c"
/>

Set `ABSL_FLAGS_STRIP_NAMES ` to 0 by default for all builds.
snnn added a commit that referenced this pull request Aug 29, 2025
- **Relax WeightBiasQuantization constraint for larger QDQ node group
(#25673)**
- **Add cuda graph implementation for NV TRT RTX EP (#25787)**
- **python GPU IO Bindings for NVIDIA  (#25776)**
- **Fixes for DynamicQuantizeMatMul and Attention3D tests (#25814)**
- **Fix a long standing bug on file memory mapping on windows.
(#25833)**
- **Add API for precompiled model compatibility check using just the
compat info (#25841)**
- **Enable ABSL_FLAGS flag registration for onnxruntime_perf_test for
mobile build (#25849)**
- **Add default constructor to Ort::Status. (#25860)**
- #25871
- #25878
- #25884
- #25886
- #25866
@snnn
Copy link
Member

snnn commented Aug 30, 2025

The change is added to the release branch

gedoensmax pushed a commit to gedoensmax/onnxruntime that referenced this pull request Sep 2, 2025
…ile build (microsoft#25849)

### Description
`ABSL_FLAGS_STRIP_NAMES `is set to 1 by default to disable flag
registration when building for Android, iPhone, and "embedded devices".
So, running onnxruntime_perf_test on Android will see that flags are not
registered.

<img width="872" height="182" alt="image (2)"
src="https://github.com/user-attachments/assets/eb6a6772-cdff-4d60-a3c7-4352477e956c"
/>

Set `ABSL_FLAGS_STRIP_NAMES ` to 0 by default for all builds.
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