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

fix(nvml): handle "not supported" error to not fail-fast for NVML get calls #291

Merged
merged 13 commits into from
Jan 10, 2025

Conversation

gyuho
Copy link
Collaborator

@gyuho gyuho commented Jan 9, 2025

No description provided.

@gyuho gyuho self-assigned this Jan 9, 2025
Copy link
Collaborator

@cardyok cardyok left a comment

Choose a reason for hiding this comment

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

lgtm, one question, in general,
seems changing ret != nvml.SUCCESS -> IsNotSupportError(ret) ignores errors other than not supported, will this cause unexpected behavior?

gyuho added a commit that referenced this pull request Jan 10, 2025
Fix CI failures in #291

---------

Signed-off-by: Gyuho Lee <[email protected]>
@gyuho gyuho force-pushed the gsp-firmware-error-handling-plus-nvml branch from 35ed448 to 5e398f3 Compare January 10, 2025 10:29
@gyuho
Copy link
Collaborator Author

gyuho commented Jan 10, 2025

ret != nvml.SUCCESS

This will fail since the ret is nvml NOT SUPPORTED from NVML call, we want to return no error if it's not supported

@gyuho gyuho merged commit b794199 into main Jan 10, 2025
4 checks passed
@gyuho gyuho deleted the gsp-firmware-error-handling-plus-nvml branch January 10, 2025 14:43
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.

2 participants