Skip to content

refactor: Support user supplied SM count for NVIDIA GPUs - #582

Merged
mahendrapaipuri merged 1 commit into
mainfrom
maint/exporter/gpu/nvidia-sm-count
Aug 15, 2026
Merged

refactor: Support user supplied SM count for NVIDIA GPUs#582
mahendrapaipuri merged 1 commit into
mainfrom
maint/exporter/gpu/nvidia-sm-count

Conversation

@mahendrapaipuri

Copy link
Copy Markdown
Collaborator
  • For NVIDIA GPUs, SM count depends on the form factor even for the same GPU model. It is not easy to keep list of all SMs and even if we managed to do it, the way NVIDIA exposes the model name is not standardised, so there is no easy way to map the models to SM count. So, we delegate this task to operators where they can supply SM count for each GPU using CLI argument. When MIG is enabled and this CLI argument is not provided, we emit a warning log so that operators will know that we are using default SM count for current GPUs

* For NVIDIA GPUs, SM count depends on the form factor even for the same GPU model. It is not easy to keep list of all SMs and even if we managed to do it, the way NVIDIA exposes the model name is not standardised, so there is no easy way to map the models to SM count. So, we delegate this task to operators where they can supply SM count for each GPU using CLI argument. When MIG is enabled and this CLI argument is not provided, we emit a warning log so that operators will know that we are using default SM count for current GPUs

Signed-off-by: Mahendra Paipuri <mahendra.paipuri@gmail.com>
@mahendrapaipuri mahendrapaipuri added the maintenance General maintenance label Aug 15, 2026
@mahendrapaipuri
mahendrapaipuri merged commit 9b8eb5d into main Aug 15, 2026
16 checks passed
@mahendrapaipuri
mahendrapaipuri deleted the maint/exporter/gpu/nvidia-sm-count branch August 15, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance General maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant