Skip to content

[ROCM-20039] Fix AttributeError for gpureset on VMs#3925

Open
bkanango wants to merge 1 commit intodevelopfrom
users/bkanango/PR-ROCM-20039
Open

[ROCM-20039] Fix AttributeError for gpureset on VMs#3925
bkanango wants to merge 1 commit intodevelopfrom
users/bkanango/PR-ROCM-20039

Conversation

@bkanango
Copy link
Contributor

Motivation

Technical Details

Argument gpureset is not registered by the parser on VMs, so accessing args.gpureset directly raises AttributeError. Normalize it to False when not available.

JIRA ID

ROCM-20039

Test Plan

amd-smi reset -l on VM

Test Result

On VM:
image

Submission Checklist

Argument gpureset is not registered by the parser on VMs, so accessing
args.gpureset directly raises AttributeError. Normalize it to False
when not available.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
@bkanango bkanango force-pushed the users/bkanango/PR-ROCM-20039 branch from db5f651 to 82341e1 Compare March 10, 2026 19:18
Copy link
Contributor

@gabrpham gabrpham left a comment

Choose a reason for hiding this comment

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

Looks good to me. Approved.

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.

2 participants