Skip to content
KernelIndex
Search⌘K

flashinfer / wrapper2e27cd

flashinfer_wrapper_2e27cd · FlashInfer-Bench baselines · python · Apache-2.0

Use it

Vendorable · source mirrored · Apache-2.0View source →

No package. Vendor the mirrored source: 15 lines, Apache-2.0, pinned at da91508.

main.py
curl "https://kernelindex.com/api/v1/implementations/flashinfer-flashinfer-wrapper-2e27cd?include=source"
interfacepython
revisionda915083d4c7
symbolrun
pathmain.py
Compatibility
measured onNVIDIA B200
declared hardwareNVIDIA A100, NVIDIA B200, NVIDIA GeForce RTX 4090, NVIDIA H100, NVIDIA H20, NVIDIA H200
architecturesunknown
dtypesbf16

Benchmark evidence

14 measurements across 1 GPU, fastest first.

Operation / workload
Hardware
Latency
Rank
Observed
RMSNorm h4096bf16 · [4096] · batch_size=16
NVIDIA B200
7.59µs
#2 of 6
2025-10-21
RMSNorm h4096bf16 · [4096] · batch_size=79
NVIDIA B200
7.66µs
#1 of 6
2025-10-21
RMSNorm h4096bf16 · [4096] · batch_size=63
NVIDIA B200
7.67µs
#2 of 6
2025-10-21
RMSNorm h4096bf16 · [4096] · batch_size=15
NVIDIA B200
7.67µs
#2 of 6
2025-10-21
RMSNorm h4096bf16 · [4096] · batch_size=1
NVIDIA B200
7.85µs
#2 of 6
2025-10-21
RMSNorm h4096bf16 · [4096] · batch_size=34
NVIDIA B200
7.89µs
#2 of 6
2025-10-21
RMSNorm h4096bf16 · [4096] · batch_size=64
NVIDIA B200
7.95µs
#2 of 6
2025-10-21
RMSNorm h4096bf16 · [4096] · batch_size=7
NVIDIA B200
8.01µs
#2 of 6
2025-10-21
RMSNorm h4096bf16 · [4096] · batch_size=170
NVIDIA B200
8.08µs
#1 of 6
2025-10-21
RMSNorm h4096bf16 · [4096] · batch_size=8804
NVIDIA B200
47.3µs
#5 of 6
2025-10-21
Show all 14 measurements ›
RMSNorm h4096bf16 · [4096] · batch_size=10827
NVIDIA B200
55.4µs
#5 of 6
2025-10-21
RMSNorm h4096bf16 · [4096] · batch_size=11832
NVIDIA B200
60.1µs
#5 of 6
2025-10-21
RMSNorm h4096bf16 · [4096] · batch_size=14418
NVIDIA B200
71.6µs
#5 of 6
2025-10-21
RMSNorm h4096bf16 · [4096] · batch_size=14509
NVIDIA B200
71.8µs
#5 of 6
2025-10-21

Reported · How evidence levels are derived →

Source and license

sourcehttps://huggingface.co/datasets/flashinfer-ai/flashinfer-trace
commitda915083d4c7c5e61aa3005e3d17ae488e0fc71c
revision digestsha256:8a9f3b808c3fe8e4a2d267758e7cc6a069db67506dfc34532f9adba88bb887ce
license declaredApache-2.0
license concludedApache-2.0
authorsbaseline
imported2026-08-16

Kernel source

main.py15 lines
import torch
import flashinfer


def run(hidden_states, weight):
    batch_size, hidden_size = hidden_states.shape
    
    assert hidden_size == 4096
    
    EPS = 1e-6
    
    output = flashinfer.norm.rmsnorm(hidden_states, weight, eps=EPS)
    
    return output

Source code from FlashInfer-Bench (flashinfer-ai/flashinfer-trace) · Apache-2.0

Best evidence level for this revision: reported

JSON