Skip to content

Add nvidia gpu topoloy score registry to node #1018

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lengrongfu
Copy link
Member

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #822

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

@lengrongfu lengrongfu force-pushed the feat/besteffort_policy branch 2 times, most recently from 99ab981 to 1fb2f31 Compare April 18, 2025 09:28
@lengrongfu lengrongfu force-pushed the feat/besteffort_policy branch from 1fb2f31 to 83fa3fd Compare April 18, 2025 09:43
Copy link

codecov bot commented Apr 18, 2025

Codecov Report

Attention: Patch coverage is 7.07965% with 315 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/device/nvidia/links.go 0.00% 173 Missing ⚠️
pkg/device/nvidia/calculate_score.go 15.00% 133 Missing and 3 partials ⚠️
pkg/util/util.go 0.00% 6 Missing ⚠️
Flag Coverage Δ
unittests 60.16% <7.07%> (+13.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
pkg/device/nvidia/device.go 34.96% <ø> (-2.80%) ⬇️
pkg/util/util.go 58.13% <0.00%> (+0.38%) ⬆️
pkg/device/nvidia/calculate_score.go 15.00% <15.00%> (ø)
pkg/device/nvidia/links.go 0.00% <0.00%> (ø)

... and 14 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@@ -185,8 +187,25 @@ func (plugin *NvidiaDevicePlugin) RegistrInAnnotation() error {
return err
}
encodeddevices := util.EncodeNodeDevices(*devices)
var data []byte
if os.Getenv("ENABLE_TOPOLOGY_SCORE") == "true" {
Copy link
Contributor

Choose a reason for hiding this comment

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

creating const for ENABLE_TOPOLOGY_SCORE will better?

@fyp711
Copy link

fyp711 commented Apr 25, 2025

I'd like to work on #822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add nvidia gpu topoloy scheduler
3 participants