-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[docs][mlgo] Document MLModelRunner
#139205
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some initial comments, mostly LGTM.
- ``InteractiveModelRunner``. This is intended for training scenarios where the | ||
training algorithm drives compilation. This model runner has no special | ||
dependencies, and relies on I/O pipes to communicate with a separate process | ||
- presumably a python training algorithm. We do not envision using this in a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra hyphen here? I'm assuming sphinx would format that weirdly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wdym, where would a hypen go?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to be used to delineate list elements here (MLModelRunner
implementations), but the sentence here is continuous.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. After addressing my last comment.
- ``InteractiveModelRunner``. This is intended for training scenarios where the | ||
training algorithm drives compilation. This model runner has no special | ||
dependencies, and relies on I/O pipes to communicate with a separate process | ||
- presumably a python training algorithm. We do not envision using this in a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to be used to delineate list elements here (MLModelRunner
implementations), but the sentence here is continuous.
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/52/builds/8241 Here is the relevant piece of the build log for the reference
|
Missed the last feedback in llvm#139205
After this was pointed to in the LLVM weekly, I thought to have a read of this document. |
The main types in LLVM are: | ||
- ``MLModelRunner`` - an abstraction for the decision making mechanism | ||
- ``TensorSpec`` which describes a tensor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for the late comment. I just noticed that this "bullet list" doesn't get formatted as a bullet list at https://llvm.org/docs/MLGO.html. Maybe this needs a newline before the start of the bullet point list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed in #139922
It's currently there under hidden topics, we'll move it out in a bit - wanted to finish the current batch of docs first. |
No description provided.