Skip to content

[executorch][native-ggml] Compute cuBLAS GEMMs in f32 in the CUDA sample tests - #24538

Open
pytorchbot wants to merge 1 commit into
gh/digantdesai/189/origfrom
gh/digantdesai/190/orig
Open

pytorchbot wants to merge 1 commit into
gh/digantdesai/189/origfrom
gh/digantdesai/190/orig

Conversation

@pytorchbot

Copy link
Copy Markdown
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #24363 by @digantdesai
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/digantdesai/190/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/digantdesai/190/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/digantdesai/189/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/digantdesai/190/orig

@diff-train-skip-merge

…ple tests

Pull Request resolved: #24363

By default ggml-CUDA's cuBLAS GEMMs compute in f16 for f16 and dequantized weights, and in TF32 for f32 ones, so the linear samples measured those defaults rather than ggml's kernels. The CUDA sample-test targets set `GGML_CUDA_CUBLAS_COMPUTE_TYPE=f32` and `NVIDIA_TF32_OVERRIDE=0`; llama.cpp's defaults, `test_ggml_ops` and the bundle are unchanged.

Authored with Claude Code.

Differential Revision: [D128254889](https://our.internmc.facebook.com/intern/diff/D128254889/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D128254889/)!
ghstack-source-id: 463657744
@pytorch-bot

pytorch-bot Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/24538

Note: Links to docs will display an error until the docs builds have been completed.

❌ 3 New Failures, 2 Cancelled Jobs

As of commit ac587fe with merge base 0f8e096 (image):

NEW FAILURES - The following jobs have failed:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 3, 2026

This branch was previously deployed

1 inactive deployment
cadence — ac587feb Deployed Nov 3, 2026 by pytorchbot via hifi-op-test / hifi4 #36369
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants