fix: use Score as primary sort key in GPU scheduler policy#2012
fix: use Score as primary sort key in GPU scheduler policy#2012mesutoezdil wants to merge 1 commit into
Conversation
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mesutoezdil The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
NUMA was the primary key in Less(), breaking binpack and spread intent when devices are on different NUMA nodes. Score is now primary, NUMA is tiebreaker when scores are equal. Fixes Project-HAMi#1806 Closes Project-HAMi#2010 Part of Project-HAMi#1889 Signed-off-by: mesutoezdil <mesudozdil@gmail.com>
78d9d87 to
e1858ae
Compare
Why are you commenting on a draft? This is a topic we're currently working on. |
Fix sort bug in
Less()where NUMA was the primary key, breaking binpack and spread behavior across NUMA nodes. Score is now primary, NUMA is tiebreaker when scores are equal.Changes
pkg/scheduler/policy/gpu_policy.goLess(): Score is primary sort key, NUMA is tiebreakerpkg/scheduler/policy/gpu_policy_test.goFixes #1806
Closes #2010
Part of #1889
Test plan
go test ./pkg/scheduler/policy/... --race -count=1