fix(ep): demote per-provider ensure_ready failure to debug#703
Merged
Conversation
Duplicate/legacy EP catalog entries are an expected transient state during the publisher migration; logging at warning level is noisy. Fixes #688
xieofxie
approved these changes
May 22, 2026
Contributor
|
personally I feel this should be visible to user so user know it is supported but needs fix and could try to fix ? |
DingmaomaoBJTU
pushed a commit
that referenced
this pull request
May 22, 2026
## Summary - Per [#688](#688), `WinMLEPRegistry._load_ep_catalog` already isolates per-provider `ensure_ready()` failures, but logs them at `warning` level. - Duplicate/legacy `EpCatalog` entries (e.g. a stale legacy-framework `NvTensorRTRTXExecutionProvider`) are an expected transient state during the publisher migration, so the noisy `Failed to ensure EP ... Package dependency criteria could not be resolved` warning surfaces on every `winml sys` invocation on affected machines. - Demote that single per-provider line to `debug`. The outer `_discover_eps` `warning` for catalog-creation/enumeration failures is unchanged. Closes #688
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
WinMLEPRegistry._load_ep_catalogalready isolates per-providerensure_ready()failures, but logs them atwarninglevel.EpCatalogentries (e.g. a stale legacy-frameworkNvTensorRTRTXExecutionProvider) are an expected transient state during the publisher migration, so the noisyFailed to ensure EP ... Package dependency criteria could not be resolvedwarning surfaces on everywinml sysinvocation on affected machines.debug. The outer_discover_epswarningfor catalog-creation/enumeration failures is unchanged.Closes #688