Skip to content

Conversation

@qjia7
Copy link
Contributor

@qjia7 qjia7 commented Oct 30, 2025

This pull request adds a mechanism to track the total number of inference runs in an InferenceSession and uses this count to automatically stop profiling after 10 runs if profiling is enabled. The main changes include introducing a new counter, exposing it via a getter, incrementing it on each run, and updating profiling logic accordingly.

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