microsoft / microsoft/onnxruntime

[Feature Request]

Open
#24,840 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ep:VitisAI feature request
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

Describe the feature request

want to know how to get these metrics during context cache creation

  1. CPU utilization
  2. Memory/RAM usage

If I use -I switch it runs inference so that is not what i want
I am using -n switch to just create the session to dump the context cache model.

Describe scenario use case

./onnx-rt/bin/onnxruntime_perf_test.exe -e vitisai -C "ep.context_enable|1 ep.context_file_path|ctx.onnx" -n input_model.onnx

This generates the context cache model and reports session creation time. I want to also print the CPU utilization and RAM usage during this step

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the onnxruntime_perf_test.exe entry point and the -n context-cache creation path shown in the report. Determine where session creation time is reported, then verify that CPU utilization and memory/RAM usage are printed for this step without running inference; no specific source file or test is named.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
performance, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.