Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
fangyangci wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromfangyangci/removeVersionCheck

Conversation

fangyangci
Copy link
Contributor

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

  • Add unit tests for this change.
  • Make sure all tests can pass.
  • Update documents if necessary.
  • Lint and apply fixes to your code by runninglintrunner -a
  • Is this a user-facing change? If yes, give a description of this change to be included in the release notes.
  • Is this PR including examples changes? If yes, please remember to updateexample documentation in a follow-up PR.

(Optional) Issue link

@fangyangcifangyangci marked this pull request as ready for reviewJuly 16, 2025 07:20
@fangyangcifangyangci marked this pull request as draftJuly 16, 2025 10:28
@shaahji
Copy link
Contributor

AFAIK, theort.get_ep_devices() wasn't introduced until after 1.22.0 so I don't think this will work for older releases. You might want to confirm with either 1.22.0 or a slightly older release.

@xieofxie
Copy link
Contributor

AFAIK, theort.get_ep_devices() wasn't introduced until after 1.22.0 so I don't think this will work for older releases. You might want to confirm with either 1.22.0 or a slightly older release.

Hi, this is part of revert of this prhttps://github.com/microsoft/Olive/pull/1963/files it looks previously there is no check forort.get_ep_devices()

@fangyangcifangyangci marked this pull request as ready for reviewJuly 17, 2025 02:14
@shaahji
Copy link
Contributor

AFAIK, theort.get_ep_devices() wasn't introduced until after 1.22.0 so I don't think this will work for older releases. You might want to confirm with either 1.22.0 or a slightly older release.

Hi, this is part of revert of this prhttps://github.com/microsoft/Olive/pull/1963/files it looks previously there is no check forort.get_ep_devices()

I guess, I missed the version check in the previous commit/review. This code will not work forort <= 1.22.0 since theort.get_ep_devices() API doesn't exist. In your previous commit, only the else part was valid.

I recommend creating a local environment with both versions (<=1.22.0 & >1.22.0) and trying it out to confirm.

@xieofxie
Copy link
Contributor

@shaahji this function has a check

ifnotort_supports_ep_devices():
if not ort_supports_ep_devices(): so I think it is OK

@shaahji
Copy link
Contributor

/azp run

@azure-pipelinesAzure Pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@shaahjishaahjishaahji approved these changes

@skottmckayskottmckayAwaiting requested review from skottmckay

@xieofxiexieofxieAwaiting requested review from xieofxie

@chinazhangchaochinazhangchaoAwaiting requested review from chinazhangchao

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@fangyangci@shaahji@xieofxie

[8]ページ先頭

©2009-2025 Movatter.jp