- Notifications
You must be signed in to change notification settings - Fork227
remove version check when add_provider_for_devices#1980
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
AFAIK, the |
Hi, this is part of revert of this prhttps://github.com/microsoft/Olive/pull/1963/files it looks previously there is no check for |
I guess, I missed the version check in the previous commit/review. This code will not work for I recommend creating a local environment with both versions (<=1.22.0 & >1.22.0) and trying it out to confirm. |
@shaahji this function has a check Olive/olive/common/ort_inference.py Line 72 incac2e86
if not ort_supports_ep_devices(): so I think it is OK |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
Based on@skottmckay 's explanation, it is reasonable to filter out duplicate EPs. Given this, the version detection logic appears to be redundant and can be safely removed.
Checklist before requesting a review
lintrunner -a
(Optional) Issue link