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

GRANITE Performance model with context #196

Open
ondrasej opened this issue Sep 9, 2024 · 1 comment
Open

GRANITE Performance model with context #196

ondrasej opened this issue Sep 9, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ondrasej
Copy link
Collaborator

ondrasej commented Sep 9, 2024

As of now, the GRANITE model is basic-block oriented (resp. trace-oriented), i.e. it doesn't use any information about code that was executed before or after the basic block. We believe that adding such information may provide additional context to improve the prediction of the precisions.

The GRANITE model can be extended to cover such context by:

  1. adding code graph from the preceding basic block (in execution order) and the following basic block,
  2. modifying the predictor to compute throughput only from the instructions in the input basic block.

This modification will also require an extension to the data collection methodology to collect basic blocks and their throughput with the execution context.

@ondrasej ondrasej added the enhancement New feature or request label Sep 9, 2024
@boomanaiden154
Copy link
Collaborator

For potential pretraining, we could use existing reciprocal throughput measurements as we know that the context is just the block itself up to whatever reasonable context limits we have.

@virajbshah virajbshah self-assigned this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants