Skip to content
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

Wrong family type detected #943

Open
Madfish5415 opened this issue Sep 3, 2024 · 1 comment
Open

Wrong family type detected #943

Madfish5415 opened this issue Sep 3, 2024 · 1 comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@Madfish5415
Copy link

Hi,

I use this chart on a k8s cluster with some GPUs. There are several GPU cards including l40s.

On nodes with l40s the label nvidia.com/gpu.family is equal to ampere and not ada lovelace.
It's an issue since we used this label to select specific GPU families.

With a quick look into the code, the problem seems to be here:

func getArchFamily(computeMajor, computeMinor int) string {
switch computeMajor {
case 1:
return "tesla"
case 2:
return "fermi"
case 3:
return "kepler"
case 5:
return "maxwell"
case 6:
return "pascal"
case 7:
if computeMinor < 5 {
return "volta"
}
return "turing"
case 8:
return "ampere"
case 9:
return "hopper"
}
return "undefined"
}

Copy link

github-actions bot commented Dec 3, 2024

This issue is stale because it has been open 90 days with no activity. This issue will be closed in 30 days unless new comments are made or the stale label is removed.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

1 participant