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 · 0 comments
Open

Wrong family type detected #943

Madfish5415 opened this issue Sep 3, 2024 · 0 comments

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"
}

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

No branches or pull requests

1 participant