---
id: pr-flashinfer-2428
repo: flashinfer-ai/flashinfer
pr: 2428
title: 'refactor: refactoring cuda code to cute-dsl (part 1)'
author: yzh119
date: '2026-03-12'
url: https://github.com/flashinfer-ai/flashinfer/pull/2428
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- kernel-fusion
techniques:
- kernel-fusion
hardware_features:
- fp4
kernel_types: []
languages:
- cuda-cpp
- cute-dsl
captured_at: '2026-04-27'
status: merged
merge_sha: 8bf921a7a6459ce4fb36d1e59bdbde95569f21ff
inclusion_reason: kernel file changes
changed_paths:
- csrc/flashinfer_norm_binding.cu
- csrc/norm.cu
- docs/api/norm.rst
- flashinfer/__init__.py
- flashinfer/cute_dsl/__init__.py
- flashinfer/cute_dsl/add_rmsnorm_fp4quant.py
- flashinfer/cute_dsl/rmsnorm_fp4quant.py
- flashinfer/norm/__init__.py
- flashinfer/norm/kernels/__init__.py
- flashinfer/norm/kernels/fused_add_rmsnorm.py
- flashinfer/norm/kernels/layernorm.py
- flashinfer/norm/kernels/rmsnorm.py
- flashinfer/norm/utils.py
- include/flashinfer/norm.cuh
- tests/utils/test_norm.py
head_ref_oid: 6124c18be9b20553ce877873065ab5f2b036e4a0
artifact_dir: evidence/pull-bundles/flashinfer/gh-2428
---
# refactor: refactoring cuda code to cute-dsl (part 1)

- Repository: `flashinfer-ai/flashinfer`
- PR: [2428](https://github.com/flashinfer-ai/flashinfer/pull/2428)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `csrc/flashinfer_norm_binding.cu`
- `csrc/norm.cu`
- `docs/api/norm.rst`
- `flashinfer/__init__.py`
- `flashinfer/cute_dsl/__init__.py`
- `flashinfer/cute_dsl/add_rmsnorm_fp4quant.py`
- `flashinfer/cute_dsl/rmsnorm_fp4quant.py`
- `flashinfer/norm/__init__.py`
- `flashinfer/norm/kernels/__init__.py`
- `flashinfer/norm/kernels/fused_add_rmsnorm.py`
- `flashinfer/norm/kernels/layernorm.py`
- `flashinfer/norm/kernels/rmsnorm.py`
- `flashinfer/norm/utils.py`
- `include/flashinfer/norm.cuh`
- `tests/utils/test_norm.py`

## Evidence Bundle

`evidence/pull-bundles/flashinfer/gh-2428`
