-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Reland "[MLGO][IR2Vec] Integrating IR2Vec with MLInliner (#143479)" #145664
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
Reland "[MLGO][IR2Vec] Integrating IR2Vec with MLInliner (#143479)" #145664
Conversation
@llvm/pr-subscribers-mlgo @llvm/pr-subscribers-llvm-analysis Author: S. VenkataKeerthy (svkeerthy) ChangesRelanding #143479 after fixes. Removed Patch is 36.15 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/145664.diff 8 Files Affected:
|
…rating_ir2vec_with_mlinliner
@@ -441,8 +473,7 @@ std::unique_ptr<InlineAdvice> MLInlineAdvisor::getAdviceImpl(CallBase &CB) { | |||
} | |||
// This one would have been set up to be right at the end. | |||
if (!InteractiveChannelBaseName.empty() && InteractiveIncludeDefault) | |||
*ModelRunner->getTensor<int64_t>(FeatureIndex::NumberOfFeatures) = | |||
GetDefaultAdvice(CB); | |||
*ModelRunner->getTensor<int64_t>(FeatureMap.size()) = GetDefaultAdvice(CB); |
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.
may be best to add an explicit feature then? (different patch)
…rating_ir2vec_with_mlinliner
Merge activity
|
…" (llvm#145664) Relanding llvm#143479 after fixes. Removed `NumberOfFeatures` from the `FeatureIndex` enum as the number of features used depends on whether IR2Vec embeddings are used.
…" (llvm#145664) Relanding llvm#143479 after fixes. Removed `NumberOfFeatures` from the `FeatureIndex` enum as the number of features used depends on whether IR2Vec embeddings are used.
Relanding #143479 after fixes.
Removed
NumberOfFeatures
from theFeatureIndex
enum as the number of features used depends on whether IR2Vec embeddings are used.