---
id: pr-flashinfer-1565
repo: flashinfer-ai/flashinfer
pr: 1565
title: 'fix: separate out fp4 lib into sm90 and sm100 versions, add oob checking in fused moe'
author: djmmoss
date: '2025-08-24'
url: https://github.com/flashinfer-ai/flashinfer/pull/1565
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- fp4
- kernel-fusion
- moe
- quantization
techniques:
- kernel-fusion
hardware_features:
- fp4
kernel_types:
- moe
- quantization
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: b513f862def58956b0de8b24fa83242ffb585386
inclusion_reason: kernel file changes
changed_paths:
- csrc/fused_moe/cutlass_backend/cutlass_fused_moe_kernels.cuh
- flashinfer/aot.py
- flashinfer/fp4_quantization.py
- tests/test_fp4_quantize.py
head_ref_oid: 767924cf1c33f603fe7810c670b314370eb36393
artifact_dir: evidence/pull-bundles/flashinfer/gh-1565
---
# fix: separate out fp4 lib into sm90 and sm100 versions, add oob checking in fused moe

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

## Changed Paths

- `csrc/fused_moe/cutlass_backend/cutlass_fused_moe_kernels.cuh`
- `flashinfer/aot.py`
- `flashinfer/fp4_quantization.py`
- `tests/test_fp4_quantize.py`

## Evidence Bundle

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