NVIDIA / NVIDIA/TensorRT-Edge-LLM

TensorRT-Edge-LLM Whisper Support

Open
#33 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
563
Forks
135
Avg merge
14h 13m
Merged PRs (30d)
1

Description

Description

We are deploying OpenAI Whisper (encoder-decoder speech recognition model) on NVIDIA Jetson Thor (SM 110). We would like to request Whisper model family support in TensorRT-Edge-LLM.

Current Situation

We attempted to use TensorRT-LLM (v1.2.0rc8 and v1.3.0rc2) for Whisper on Jetson Thor, but discovered:

FMHA kernels crash on SM 110 - Both BertAttentionPlugin and GPTAttentionPlugin fail during engine build with a segfault in FmhaDispatcher constructor, as the Flash Multi-Head Attention kernels are not compiled for SM 110 (compute capability 11.0)

Stack trace (abbreviated):

libtensorrt_llm.so(
  _ZN12tensorrt_llm3_v17kernels14FmhaDispatcherC2ENS1_20MHARunnerFixedParamsE
)
libnvinfer_plugin_tensorrt_llm.so(
  _ZN12tensorrt_llm7plugins19BertAttentionPlugin10initializeEv
)
*** Process received signal: Aborted (6) ***

TensorRT-Edge-LLM supports Jetson Thor (SM 110) — confirmed via the issue template — but currently only supports LLMs and VLMs, not encoder-decoder speech models.

As a workaround, we use ONNX Runtime with TensorRT Execution Provider on Jetson Thor:

  • Encoder: TensorRT EP (~5-10ms)
  • Decoder: CUDA EP (~100-150ms) — TensorRT EP struggles with dynamic shapes

This works but is suboptimal. Native TensorRT-Edge-LLM support with proper KV-cache management and FMHA kernels for SM 110 would significantly improve decoder performance.

Requests

  1. Whisper model family (small, medium, large-v3, distil variants) to the supported models list
  2. Support for HuggingFace fine-tuned Whisper checkpoints (not just OpenAI originals)
  3. Encoder-decoder architecture with cross-attention support
  4. FMHA kernels work on SM 110 for both self-attention and cross-attention

Environment

  • Hardware: NVIDIA Jetson Thor
  • GPU Compute Capability: SM 110 (11.0)
  • Driver: 580.00
  • CUDA: 13.0
  • JetPack: 7.x
  • TensorRT: 10.13.x

Related

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the TensorRT-LLM Whisper example at examples/models/core/whisper with NVIDIA-AI-IOT/whisper_trt and the repository's supported-models structure. Trace how encoder-decoder cross-attention, KV-cache handling, and FMHA kernels are represented, then define completion as Whisper checkpoints running natively on Jetson Thor with working SM 110 attention support.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, python
Domain
ai, embedded-iot, machine-learning, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.