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

[ML] Remove noisy 'Could not find trained model' message #100760

Merged
merged 3 commits into from Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/changelog/100760.yaml
@@ -0,0 +1,5 @@
pr: 100760
summary: Remove noisy 'Could not find trained model' message
area: Machine Learning
type: bug
issues: []
Expand Up @@ -491,7 +491,12 @@ private void loadModel(String modelId, Consumer consumer) {
handleLoadFailure(modelId, failure);
}));
}, failure -> {
logger.warn(() -> "[" + modelId + "] failed to load model configuration", failure);
if (consumer != Consumer.PIPELINE) {
// The model loading was triggered by an ingest pipeline change
// referencing a model that cannot be found. This is not an error
// as the model may be put later
logger.warn(() -> "[" + modelId + "] failed to load model configuration ", failure);
}
handleLoadFailure(modelId, failure);
}));
}
Expand Down