-
Notifications
You must be signed in to change notification settings - Fork 205
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
Change GPU plugin's behavior as Level zero's default hierarchy mode changed from composite to flat #1601
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1601 +/- ##
==========================================
+ Coverage 51.79% 51.95% +0.15%
==========================================
Files 42 42
Lines 4873 4916 +43
==========================================
+ Hits 2524 2554 +30
- Misses 2204 2213 +9
- Partials 145 149 +4 ☔ View full report in Codecov by Sentry. |
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.
On quick look code / tests looked OK, but I have some comments, mostly for updating docs a bit.
fd11435
to
4e81190
Compare
I added a picture for the "operation modes" to explain the three different modes. |
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, but I still have few improvement suggestions.
4e81190
to
2ac7f65
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.
/LGTM Everything looks good to me now!
2ac7f65
to
c50598b
Compare
Signed-off-by: Tuomas Katila <[email protected]>
With tile requests, the level zero affinity mask now defaults to flat/combined mode. If ZE_FLAT_DEVICE_HIERARCHY is set to COMPOSITE in the Pod's specification, plugin will use the previous "x.y" format instead of the new "x" in the affinity mask. Signed-off-by: Tuomas Katila <[email protected]>
Split readme into smaller chunks, show only one "easy installation" and hide the rest. Add some notes about tile resources. Co-authored-by: Eero Tamminen <[email protected]> Signed-off-by: Tuomas Katila <[email protected]>
Signed-off-by: Tuomas Katila <[email protected]>
c50598b
to
95b7230
Compare
Rebased. No functional changes. |
Use "FLAT" affinity mask mode by default and do not set mask when there are only 1-tile GPUs.
Re-structure GPU's README:
-Simplify the main readme, move "nice to know" info to separate pages.
-Highlight only one installation method, rest are available on different page.