This is an archive of the discontinued LLVM Phabricator instance.

[mlgo] Add latency modeling topic to 2023 GSoC
ClosedPublic

Authored by mtrofin on Feb 3 2023, 12:26 PM.

Diff Detail

Repository
rW llvm-www

Event Timeline

mtrofin created this revision.Feb 3 2023, 12:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2023, 12:26 PM
mtrofin requested review of this revision.Feb 3 2023, 12:26 PM
mtrofin added a reviewer: asl.Feb 3 2023, 12:27 PM
asl accepted this revision.Feb 3 2023, 2:44 PM

LGTM provided there will be a Discourse link :)

This revision is now accepted and ready to land.Feb 3 2023, 2:44 PM
ondrasej requested changes to this revision.Feb 6 2023, 8:46 AM
ondrasej added inline comments.
OpenProjects.html
778–783

I'd go with something like:

Better modeling of the execution environment by including additional runtime/profiling information, such as additional PMU data, LLC miss probabilities or branch mispredictions. This involves (1) building a data collection pipeline that covers additional runtime information, (2) modifying the ML models to allow processing this data, and (3) modifying the training and inference process for the models to make use this data.

Today, the models are almost pure static analysis; they see the instructions, but they make one-size-fits-all assumptions about the execution environment and the runtime behavior of the code. The goal of this project is to move from static analysis towards more dynamic models that better represent code the way it actually executes.

This revision now requires changes to proceed.Feb 6 2023, 8:46 AM
mtrofin updated this revision to Diff 495155.Feb 6 2023, 8:54 AM

feedback

mtrofin marked an inline comment as done.Feb 6 2023, 8:55 AM
mtrofin added inline comments.
OpenProjects.html
778–783

thanks - done!

ondrasej accepted this revision.Feb 6 2023, 9:02 AM

LGTM

This revision is now accepted and ready to land.Feb 6 2023, 9:02 AM
This revision was automatically updated to reflect the committed changes.
mtrofin marked an inline comment as done.