Skip to content

[Enhancement] Load openvino model from memory #2027

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

Merged
merged 3 commits into from
Apr 28, 2023

Conversation

irexyc
Copy link
Collaborator

@irexyc irexyc commented Apr 25, 2023

Motivation

The openvino-dev version of based image is different with pip installed one, therefore the converted openvino model can't be loaded by sdk.

Previously, the openvino model will first rewrite to /tmp directory and load, which is not right when loading two openvino models at the same time. And this strategy has more overhead.

Modification

  • fix cpu docker
  • load openvino model from memory

@irexyc irexyc requested review from lzhangzz and RunningLeon April 26, 2023 03:30
@RunningLeon RunningLeon added the enhancement New feature or request label Apr 26, 2023
@lvhan028 lvhan028 requested review from grimoire and removed request for lzhangzz April 28, 2023 06:32
Copy link
Collaborator

@RunningLeon RunningLeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RunningLeon RunningLeon merged commit bc79c0d into open-mmlab:main Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants