---
id: pr-tensorrt-llm-13802
repo: NVIDIA/TensorRT-LLM
pr: 13802
title: '[None][fix] Use compressed lengths for DeepSeek-V4 indexer'
author: mingyangHao
date: '2026-05-07'
url: https://github.com/NVIDIA/TensorRT-LLM/pull/13802
source_category: upstream-code
architectures:
- sm100
tags:
- DSA
- attention kernel
- attention_kv
- benchmark_test
- cuda kernel
- scheduler_autotune
techniques:
- autotuning
- cache-policy
- tile-scheduling
hardware_features: []
kernel_types:
- attention
- scheduler
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 7c839078865bcef3eb25c5e2eb29c25bb1cb885c
inclusion_reason: Preserve page/KV/layout and plan-run contracts; profile memory traffic separately from math utilization.
changed_paths:
- tensorrt_llm/_torch/attention_backend/sparse/dsa.py
- tests/integration/defs/accuracy/test_llm_api_pytorch.py
- tests/integration/test_lists/test-db/l0_dgx_b300_ds.yml
- tests/unittest/_torch/attention/sparse/dsa/test_dsa_indexer.py
artifact_dir: evidence/pull-bundles/tensorrt-llm/gh-13802
head_ref_oid: 5f2f2fbe2bcb0f51e92c1cfc188e4da9fb3a9677
---
# [None][fix] Use compressed lengths for DeepSeek-V4 indexer

- Repository: `NVIDIA/TensorRT-LLM`
- PR: [13802](https://github.com/NVIDIA/TensorRT-LLM/pull/13802)
- Decision: `Preserve page/KV/layout and plan-run contracts; profile memory traffic separately from math utilization.`
- Reason: Preserve page/KV/layout and plan-run contracts; profile memory traffic separately from math utilization.

## Changed Paths

- `tensorrt_llm/_torch/attention_backend/sparse/dsa.py`
- `tests/integration/defs/accuracy/test_llm_api_pytorch.py`
- `tests/integration/test_lists/test-db/l0_dgx_b300_ds.yml`
- `tests/unittest/_torch/attention/sparse/dsa/test_dsa_indexer.py`

## Evidence Bundle

`evidence/pull-bundles/tensorrt-llm/gh-13802`
