Skip to content

[release-0.20] add device.GetArchitecture method - #2138

Merged
tariq1890 merged 1 commit into
release-0.20from
backport-2131-to-release-0.20
Oct 30, 2026
Merged

tariq1890 merged 1 commit into
release-0.20from
backport-2131-to-release-0.20

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

🤖 Automated backport of #2131 to release-0.20

✅ Cherry-pick completed successfully with no conflicts.

Original PR: #2131
Original Author: @tariq1890

Cherry-picked commits (1):

  • 7121437 add device.GetArchitecture method

This backport was automatically created by the backport bot.


Devin Review

This commit adds a new method call to go-nvlib's GetArchitectureAsString
to retrieve a GPU device's architecture family. For backwards compatibility,
we fall back to the current method which derives the architecture family
from CUDA compatibility numbers.

Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
(cherry picked from commit 7121437)
@copy-pr-bot

copy-pr-bot Bot commented Oct 30, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot mentioned this pull request Oct 30, 2026
5 tasks done

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@tariq1890

Copy link
Copy Markdown
Contributor

/ok to test 39da4c1

@tariq1890
tariq1890 merged commit 804947f into release-0.20 Oct 30, 2026
12 checks passed
@tariq1890
tariq1890 deleted the backport-2131-to-release-0.20 branch October 30, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant