---
id: pr-flashinfer-1337
repo: flashinfer-ai/flashinfer
pr: 1337
title: Refactor scripts in benchmarks to use flasinfer.testing.bench_gpu_time
author: bkryu
date: '2025-07-29'
url: https://github.com/flashinfer-ai/flashinfer/pull/1337
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 0c9a92c3d9a7e043ab6f3f7b2273269caf6ab044
inclusion_reason: defer
changed_paths:
- benchmarks/bench_append_paged_kv_cache.py
- benchmarks/bench_append_paged_mla_kv_cache.py
- benchmarks/bench_batch_attention.py
- benchmarks/bench_batch_decode.py
- benchmarks/bench_blackwell_attention.py
- benchmarks/bench_block_sparse_attention.py
- benchmarks/bench_cutlass_fused_moe.py
- benchmarks/bench_deepgemm_blackwell.py
- benchmarks/bench_deepseek_mla.py
- benchmarks/bench_fused_add_rmsnorm.py
- benchmarks/bench_groupwise_gemm_fp8_blackwell.py
- benchmarks/bench_groupwise_grouped_gemm_fp8_blackwell.py
- benchmarks/bench_groupwise_grouped_gemm_mxfp4_blackwell.py
- benchmarks/bench_hopper_attention.py
- benchmarks/bench_hopper_fp8_attention.py
- benchmarks/bench_hopper_grouped_gemm.py
- benchmarks/bench_mixed_attention.py
- benchmarks/bench_pad_ragged_tensor.py
- benchmarks/bench_persistent_gemm.py
- benchmarks/bench_renorm.py
- benchmarks/bench_rope.py
- benchmarks/bench_sampling.py
- benchmarks/bench_trtllm_fmha.py
- benchmarks/routines/attention.py
- benchmarks/routines/gemm.py
- flashinfer/testing/utils.py
artifact_dir: evidence/pull-bundles/flashinfer/gh-1337
head_ref_oid: 65800fa71801cb5890cc7bf08718deb21176ad03
---
# Refactor scripts in benchmarks to use flasinfer.testing.bench_gpu_time

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

## Changed Paths

- `benchmarks/bench_append_paged_kv_cache.py`
- `benchmarks/bench_append_paged_mla_kv_cache.py`
- `benchmarks/bench_batch_attention.py`
- `benchmarks/bench_batch_decode.py`
- `benchmarks/bench_blackwell_attention.py`
- `benchmarks/bench_block_sparse_attention.py`
- `benchmarks/bench_cutlass_fused_moe.py`
- `benchmarks/bench_deepgemm_blackwell.py`
- `benchmarks/bench_deepseek_mla.py`
- `benchmarks/bench_fused_add_rmsnorm.py`
- `benchmarks/bench_groupwise_gemm_fp8_blackwell.py`
- `benchmarks/bench_groupwise_grouped_gemm_fp8_blackwell.py`
- `benchmarks/bench_groupwise_grouped_gemm_mxfp4_blackwell.py`
- `benchmarks/bench_hopper_attention.py`
- `benchmarks/bench_hopper_fp8_attention.py`
- `benchmarks/bench_hopper_grouped_gemm.py`
- `benchmarks/bench_mixed_attention.py`
- `benchmarks/bench_pad_ragged_tensor.py`
- `benchmarks/bench_persistent_gemm.py`
- `benchmarks/bench_renorm.py`
- `benchmarks/bench_rope.py`
- `benchmarks/bench_sampling.py`
- `benchmarks/bench_trtllm_fmha.py`
- `benchmarks/routines/attention.py`
- `benchmarks/routines/gemm.py`
- `flashinfer/testing/utils.py`

## Evidence Bundle

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