Skip to content

Update mdev type parsing to handle multiple spaces in type strings#65

Merged
cdesiniotis merged 1 commit intoNVIDIA:mainfrom
mresvanis:update-mdev-type-name-parsing
Jul 28, 2025
Merged

Update mdev type parsing to handle multiple spaces in type strings#65
cdesiniotis merged 1 commit intoNVIDIA:mainfrom
mresvanis:update-mdev-type-name-parsing

Conversation

@mresvanis
Copy link
Contributor

This change updates the mdev type name parsing logic to consider multi-space strings (e.g. NVIDIA RTX Pro 6000 Blackwell DC-8C), instead of relying on the name containing a single space (e.g. GRID A100-40C).

Before this change:

"NVIDIA RTX Pro 6000 Blackwell DC-8C" -> "RTX Pro 6000 Blackwell DC-8C" 

After this change:

"NVIDIA RTX Pro 6000 Blackwell DC-8C" -> "DC-8C"

@mresvanis
Copy link
Contributor Author

/cc @cdesiniotis @tariq1890

Signed-off-by: Michail Resvanis <mresvani@redhat.com>
@mresvanis mresvanis force-pushed the update-mdev-type-name-parsing branch from 9f6e7cd to 1c2d932 Compare July 25, 2025 13:48
@mresvanis mresvanis changed the title Fix mdev type parsing to handle multiple spaces in type strings Update mdev type parsing to handle multiple spaces in type strings Jul 25, 2025
Copy link
Contributor

@cdesiniotis cdesiniotis left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution @mresvanis!

@cdesiniotis cdesiniotis merged commit f626d43 into NVIDIA:main Jul 28, 2025
4 checks passed
@mresvanis mresvanis deleted the update-mdev-type-name-parsing branch July 29, 2025 10:38
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