Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reshape feature implementation #573

Open
wants to merge 1 commit into
base: ovep-develop
Choose a base branch
from

Conversation

jatinwadhwa921
Copy link

@jatinwadhwa921 jatinwadhwa921 commented Feb 11, 2025

Reshape feature implementation, This feature will help you set lower and upper bound for ov tensors only for NPU. Command used to run the feature -

onnxruntime_perf_test.exe -v -e openvino -m times -r 1 -i "device_type|NPU reshape_input|data[1,3,60,80..120]" <model_path>

@ankitm3k ankitm3k force-pushed the ovep-develop branch 3 times, most recently from b66301b to e93f0b0 Compare February 17, 2025 09:28
@jatinwadhwa921 jatinwadhwa921 force-pushed the jatin_latest_reshape_refactor branch 2 times, most recently from 53278fe to be37fd9 Compare February 17, 2025 17:23
@jatinwadhwa921 jatinwadhwa921 marked this pull request as ready for review February 17, 2025 17:28
@ankitm3k ankitm3k force-pushed the ovep-develop branch 2 times, most recently from 42d6f14 to e85411a Compare February 24, 2025 13:21
@sfatimar
Copy link

@jatinwadhwa921 please update this branch

@jatinwadhwa921
Copy link
Author

@jatinwadhwa921 please update this branch

sure, i will rebase this branch again with latest ovep-develop

@jatinwadhwa921 jatinwadhwa921 force-pushed the jatin_latest_reshape_refactor branch from be37fd9 to ca2bc91 Compare March 3, 2025 10:13
@@ -236,6 +236,97 @@ struct OpenVINO_Provider : Provider {

pi.precision = ParsePrecision(provider_options, pi.device_type, "precision");

if (provider_options.contains("reshape_input") && pi.device_type == "NPU") {
Copy link

Choose a reason for hiding this comment

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

@jatinwadhwa921 exactly what are we trying to do here

Copy link

Choose a reason for hiding this comment

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

I am not comfortable leaving so much parsing in main functions can we create a file parse_utils.cc and dump all parsing functions there

@sfatimar
Copy link

sfatimar commented Mar 4, 2025

@preetha-intel @ankitm3k can you please review this PR

@sfatimar
Copy link

I would expect all parsing functions inside openvino_provider_factory to move to parse utils.

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.

2 participants