---
id: pr-flashinfer-1346
repo: flashinfer-ai/flashinfer
pr: 1346
title: Add trtllm-gen prefill test. Fix related wrapper issue.
author: weireweire
date: '2025-07-30'
url: https://github.com/flashinfer-ai/flashinfer/pull/1346
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 5ec5371127fd147cc760e3055d0f6423069cc452
inclusion_reason: include
changed_paths:
- flashinfer/prefill.py
- tests/test_trtllm_gen_context.py
- tests/test_trtllm_gen_decode.py
artifact_dir: evidence/pull-bundles/flashinfer/gh-1346
head_ref_oid: baccb0ffc160cb3640863cbe2db18ca158b07778
---
# Add trtllm-gen prefill test. Fix related wrapper issue.

- Repository: `flashinfer-ai/flashinfer`
- PR: [1346](https://github.com/flashinfer-ai/flashinfer/pull/1346)
- Decision: `include`
- Reason: include

## Changed Paths

- `flashinfer/prefill.py`
- `tests/test_trtllm_gen_context.py`
- `tests/test_trtllm_gen_decode.py`

## Evidence Bundle

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