NVIDIA / NVIDIA/TensorRT-LLM

guided decoding parameters for tensorrt_llm backend must be present even if not needed

Open
#5,099 4 comments 5 reactions 1 assignee View on GitHub

@schetlur-nv is already working on this.

Since Jun 11, 2025.

bug Investigating triaged Triton backend
Dominant language
Python
Stars
14.7k
Forks
2.8k
Avg merge
2d 23h
Merged PRs (30d)
489

Description

System Info

Nvidia rtx 3090 ti
nvcr.io/nvidia/tritonserver:25.05-trtllm-python-py3

Who can help?

@ncomly-nvidia

Information
  • The official example scripts
  • My own modified scripts
Tasks
  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)
Reproduction

Steps to reproduce the behaviour:

  1. take any tensorrt_llm compiled plan
  2. delete from config.pbtxt parameters tokenizer_dir, xgrammar_tokenizer_info_path or guided_decoding_backend
Expected behavior

tensorrtllm_backend should start normally

actual behavior

tensorrtllm_backend crashes with a message that a parameter is missing, although it's not used.

additional notes

https://github.com/NVIDIA/TensorRT-LLM/blob/7b210ae9c3fbc43501a529546d7c21d1f77c52ce/triton_backend/inflight_batcher_llm/src/model_instance_state.cc#L410-L453

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.