---
id: pr-quack-82
repo: Dao-AILab/quack
pr: 82
title: Add stochastic rounding support for GEMM epilogue
author: thakkarV
date: '2026-03-16'
url: https://github.com/Dao-AILab/quack/pull/82
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- blackwell
- cuda kernel
- cutlass
- gemm
- quack
- sm100
- sm90
- triton kernel
techniques:
- epilogue-fusion
hardware_features:
- blackwell
- hopper
kernel_types:
- gemm
languages:
- cuda-cpp
- cute-dsl
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: 542cf51952cc023f3543fd37c6537b9bde7f517a
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- quack/__init__.py
- quack/copy_utils.py
- quack/gemm.py
- quack/gemm_act.py
- quack/gemm_dact.py
- quack/gemm_default_epi.py
- quack/gemm_interface.py
- quack/gemm_sm90.py
- quack/gemm_symmetric.py
- quack/rounding.py
- quack/utils.py
- tests/test_linear.py
artifact_dir: evidence/pull-bundles/quack/gh-82
head_ref_oid: 648339719fd366b3c19557fdfdc553d0243db559
---
# Add stochastic rounding support for GEMM epilogue

- Repository: `Dao-AILab/quack`
- PR: [82](https://github.com/Dao-AILab/quack/pull/82)
- Decision: `Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.`
- Reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.

## Changed Paths

- `quack/__init__.py`
- `quack/copy_utils.py`
- `quack/gemm.py`
- `quack/gemm_act.py`
- `quack/gemm_dact.py`
- `quack/gemm_default_epi.py`
- `quack/gemm_interface.py`
- `quack/gemm_sm90.py`
- `quack/gemm_symmetric.py`
- `quack/rounding.py`
- `quack/utils.py`
- `tests/test_linear.py`

## Evidence Bundle

`evidence/pull-bundles/quack/gh-82`
