Closed
Conversation
Co-authored-by: pvasireddy-amd <[email protected]> Co-authored-by: Victor Jung <[email protected]> Co-authored-by: cubansil <[email protected]> Co-authored-by: André Rösti <[email protected]>
Co-authored-by: cubansil <[email protected]> Co-authored-by: Victor Jung <[email protected]> Co-authored-by: pvasireddy-amd <[email protected]> Co-authored-by: André Rösti <[email protected]>
Co-authored-by: pvasireddy-amd <[email protected]> Co-authored-by: Victor Jung <[email protected]> Co-authored-by: cubansil <[email protected]> Co-authored-by: André Rösti <[email protected]>
Co-authored-by: cubansil <[email protected]> Co-authored-by: Victor Jung <[email protected]> Co-authored-by: pvasireddy-amd <[email protected]> Co-authored-by: André Rösti <[email protected]>
9da3796 to
28058d1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Custom profiler for performance measurements of Llama 3.2-1B inference. A logging function is executed at the call and return of each function. Initially tried with
cProfile, but the measurements of PyXRT execution was missing (possiblycProfileexcludes I/O like the NPU). This method allows for deterministic profiling of inference, though profiling overhead is higher compared to statistical profiler. But this method is apt for getting a comprehensive picture of the inference run, as one can check the time of each AIE and CPU operator relative to the inference metrics such as TTFT. The overhead of profiling shouldn't skew the relative contribution of each operator to the latency of inference.This branch is based on the branch in this PR: #8
Added
Changed
Removed
PR Merge Checklist
develcommit and pointing todevel.