-
Notifications
You must be signed in to change notification settings - Fork 201
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
gpu_plugin: fractional resource management #638
Conversation
Codecov Report
@@ Coverage Diff @@
## main #638 +/- ##
==========================================
+ Coverage 57.61% 58.95% +1.33%
==========================================
Files 31 32 +1
Lines 2192 2373 +181
==========================================
+ Hits 1263 1399 +136
- Misses 855 891 +36
- Partials 74 83 +9
Continue to review full report at Codecov.
|
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.
Looks good!
Maybe it would make sense to move deviceManager
to a separate package and to import it in gpu_plugin
. This way we could see clearly the interfaces that need to be tested.
7ac40ec
to
d8fbc3f
Compare
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.
Looks like unrelated VPU changes got sneaked into this PR.
12f505e
to
1150e33
Compare
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.
Looks good to me!
Now tests are missing. Also it would be nice to add a paragraph about the new optional interface to DEVEL.md
.
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.
LGTM too, just a couple of questions and suggestions.
The server Allocate()
modifications could go into its own commit.
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.
LGTM now
2b99b8d
to
81b3d36
Compare
8c88389
to
a1037fd
Compare
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.
Looks good!
Now pkg/deviceplugin
needs to be covered. The coverage of this part should be as close to 100% as possible.
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.
Thanks! Looks good to me. The PR can be squashed now.
This adds a new optional Allocator interface which allows the plugins to implement the whole Allocate functionality. Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com> Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@intel.com>
Fractional resource management feature Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com> Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@intel.com>
Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com>
Fractional GPU resource management feature
Signed-off-by: Ukri Niemimuukko ukri.niemimuukko@intel.com