---
id: pr-flashinfer-1413
repo: flashinfer-ai/flashinfer
pr: 1413
title: Fix crash when pos_encoding_mode is passed as int
author: kaixih
date: '2025-08-08'
url: https://github.com/flashinfer-ai/flashinfer/pull/1413
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: ade38855928199b7fb102619a2b654ac9cfc014b
inclusion_reason: defer
changed_paths:
- flashinfer/prefill.py
artifact_dir: evidence/pull-bundles/flashinfer/gh-1413
head_ref_oid: 8770f6d03afaba6ad6fddc858a6724c98239b2d4
---
# Fix crash when pos_encoding_mode is passed as int

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

## Changed Paths

- `flashinfer/prefill.py`

## Evidence Bundle

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