-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Reserving CPU resource in CPU inference #27321
Merged
wangleis
merged 47 commits into
openvinotoolkit:master
from
sunxiaoxia2022:xiaoxia/cpu_reservation
Jan 16, 2025
+2,048
−501
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
dd848c2
add property enable_cpu_reservation
sunxiaoxia2022 23a6e42
update enable_cpu_pinning when enable_cpu_reservation=true && enable_…
sunxiaoxia2022 ce804ee
update test case
sunxiaoxia2022 bf63bf9
support cpu_reservation=true,cpu_pinning=false
sunxiaoxia2022 dd43e4a
change comments
sunxiaoxia2022 13a146e
add enable_cpu_reservation to CpuExecNetworkSupportedPropertiesAreAva…
sunxiaoxia2022 79099f0
initial implementation
wangleis b6ba3a6
update current_socket_id
wangleis ae3e1f0
Merge branch 'master' into xiaoxia/cpu_reservation
sunxiaoxia2022 7c53ce3
Revert "update current_socket_id"
wangleis e27cc45
Merge branch 'master' into xiaoxia/cpu_reservation
sunxiaoxia2022 967f2fa
Merge branch 'pr27873' into xiaoxia/cpu_reservation
sunxiaoxia2022 3ccc8c6
Merge branch 'master' into xiaoxia/cpu_reservation
peterchen-intel 9e7ed1c
initial implementation
wangleis 5cdfc10
refactor streams calculation
wangleis e684864
fix code style issue
wangleis d1f50d2
set cpu_pinning yes if user only set cpu_reservation yes
sunxiaoxia2022 64e8114
Merge branch 'xiaoxia/cpu_reservation' of https://github.com/sunxiaox…
sunxiaoxia2022 bea7d8e
Merge branch 'master' into update_proc_type_table
wangleis 93fcb21
revert pr27873
sunxiaoxia2022 6412749
Merge branch 'master' into xiaoxia/cpu_reservation
sunxiaoxia2022 e171818
Merge branch 'pr28117' into xiaoxia/cpu_reservation
sunxiaoxia2022 a575038
Merge commit 'refs/pull/28117/head' of https://github.com/openvinotoo…
sunxiaoxia2022 bd4a132
update for cpu reservation
wangleis 885d837
Merge branch 'master' into update_proc_type_table
wangleis a6d7ea1
Merge branch 'master' into xiaoxia/cpu_reservation
wangleis 8cc37b1
add enable_cpu_reservation condition in creating executor
sunxiaoxia2022 daf179b
Merge branch 'xiaoxia/cpu_reservation' of https://github.com/sunxiaox…
sunxiaoxia2022 f6e5867
Merge branch 'master' into xiaoxia/cpu_reservation
wangleis 34b1aff
update pinning in windows
sunxiaoxia2022 f3bcc0c
add lock to guarantee thread safity
sunxiaoxia2022 8c86f52
fix conflict
sunxiaoxia2022 4e9d6a1
fix ci issue
sunxiaoxia2022 2e0295f
fix ci test issue
sunxiaoxia2022 76bb972
add test case of reservation
sunxiaoxia2022 a0c8793
add parallel running multiple compiled model test case
sunxiaoxia2022 af4cf60
Merge branch 'master' into xiaoxia/cpu_reservation
sunxiaoxia2022 9a36e8d
rm invalid log
sunxiaoxia2022 ab7484d
add test case
sunxiaoxia2022 aab8519
fix conflict
sunxiaoxia2022 f46103c
fix ci test issue
sunxiaoxia2022 85b03f6
change test case
sunxiaoxia2022 b1143c6
fix conflicts
sunxiaoxia2022 bb622bb
change test case
sunxiaoxia2022 d0e19e1
change _cpu_ids_all to Impl()
sunxiaoxia2022 c0f2e69
fix ci test
sunxiaoxia2022 e06fbdd
remove smoke_CpuExecNetworkCheckCpuReservation
sunxiaoxia2022 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If user set cpu_reservation only, change cpu_pinning to yes internally.
If user set both cpu_reservation and cpu_pinning, keep user setting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, done.