Skip to content

[Feature Request] EP context cache options don't seem to work with onnxruntime perf test #21850

Open
@Nithingx

Description

@Nithingx

Describe the feature request

Using session options in c++/python i am able to use Ep context options.
I tried the same using onnxruntime_perf_test but the app doesn't seem to honor these

./bin/onnxruntime_perf_test.exe -C "ep.context_enable|1 ep.context_file_path|C:/Users/nithink/IPU/w24/0805/1713/onnx-rt/out_cache/out_cache_psq1.onnx" -e vitisai -m duration -t 10 -I R:/ipu_regr/msft_models/win24_shell/shell_models_for_June_15_drop/shell/PSO0/Model-PSO0-QDQ-v1_0_1/Model-PSO0-QDQ-v1_0_1_A/b512-SyncBN-x4_rpn_batch_qdq_quant_A.onnx

-C is the session option as per documentation, when i use this i expect it to generate cached context file which is not happening

Describe scenario use case

Compatibility with onnxruntime_perf_test so that it's easy to use by anyone

Metadata

Metadata

Assignees

No one assigned

    Labels

    ep:VitisAIissues related to Vitis AI execution providerfeature requestrequest for unsupported feature or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions