Skip to content

Conversation

@HectorSVC
Copy link
Contributor

Description

Set power config id and the default power mode from provider option (if there is) for main thread, otherwise it will mess up the power mode if user just create session without run it.

The issue fixed by this PR is:
Process 1 just creates the session without run it.
Then, start process 2 which creates the session and run it with power saver mode. The result is with burst power mode.

…on for main thread, otherwise it will mess up the power mode if user just create session without run it.
@HectorSVC HectorSVC added the ep:QNN issues related to QNN exeution provider label Jan 11, 2025
@HectorSVC HectorSVC merged commit afbee6e into main Jan 16, 2025
98 checks passed
@HectorSVC HectorSVC deleted the qnn_power_mode_fix branch January 16, 2025 17:07
carzh pushed a commit that referenced this pull request Jan 16, 2025
…3330)

### Description
Set power config id and the default power mode from provider option (if there is) for main thread, otherwise it will mess up the power mode if user just create session without run it.

The issue fixed by this PR is:
Process 1 just creates the session without run it.
Then, start process 2 which creates the session and run it with power saver mode. The result is with burst power mode.
guschmue pushed a commit that referenced this pull request Mar 6, 2025
…3330)

### Description
Set power config id and the default power mode from provider option (if there is) for main thread, otherwise it will mess up the power mode if user just create session without run it.

The issue fixed by this PR is:
Process 1 just creates the session without run it.
Then, start process 2 which creates the session and run it with power saver mode. The result is with burst power mode.
ashrit-ms pushed a commit that referenced this pull request Mar 17, 2025
…3330)

### Description
Set power config id and the default power mode from provider option (if there is) for main thread, otherwise it will mess up the power mode if user just create session without run it.

The issue fixed by this PR is:
Process 1 just creates the session without run it.
Then, start process 2 which creates the session and run it with power saver mode. The result is with burst power mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ep:QNN issues related to QNN exeution provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants