Skip to content

[CUDA] : Add SKU-aware FP16/BF16 accumulation precision gating for NVIDIA GPUs - #30672

Draft
mmalpe-nv wants to merge 1 commit into
ggml-org:masterfrom
mmalpe-nv:mmalpe/sku-aware-precision-final
Draft

mmalpe-nv wants to merge 1 commit into
ggml-org:masterfrom
mmalpe-nv:mmalpe/sku-aware-precision-final

Conversation

@mmalpe-nv

@mmalpe-nv mmalpe-nv commented Oct 16, 2026 •

Copy link
Copy Markdown

Overview

The change makes automatic cuBLAS precision selection depending on the NVIDIA GPU. Eligible quantized operations retain FP16 inputs and accumulation on GeForce, while supported professional GPUs and Spark prefer BF16 inputs with FP32 accumulation.
It adds GPU classification using NVML brand information and Spark’s compute capability, while preserving existing operation-specific precision requirements and manual overrides. The aim is to use each GPU’s capabilities without imposing the FP32-accumulation throughput penalty on GeForce.

Additional information

Requirements

@github-actions github-actions Bot added ggml changes relating to the ggml tensor library for machine learning CUDA Related to the CUDA backend labels Oct 16, 2026
@mmalpe-nv mmalpe-nv changed the title cuda: select cuBLAS precision by GPU SKU [CUDA]: select cuBLAS precision by GPU SKU Oct 16, 2026
@mmalpe-nv mmalpe-nv changed the title [CUDA]: select cuBLAS precision by GPU SKU [CUDA] : Add SKU-aware FP16/BF16 accumulation precision gating for NVIDIA GPUs Oct 16, 2026
@ggml-gh-bot

ggml-gh-bot Bot commented Oct 16, 2026

Copy link
Copy Markdown

Hi @mmalpe-nv, thanks for your contribution!

Per our contribution guidelines, the automated PR checker found the following issue(s) that need your attention:

  • PR Template not respected: Please respect the template when creating a new pull request. Make sure to fill out all required sections.

Please note that maintainers reserve the right to make final decisions on PRs. If you believe there is a mistake, please comment below.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CUDA Related to the CUDA backend ggml changes relating to the ggml tensor library for machine learning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant