[Bug] trtllm-bench real-dataset treats a configured image column as text
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
Research direction
Start by locating the trtllm-bench prepare-dataset real-dataset path and the modality check that recognizes only image, image_1 and video; trace how --dataset-image-key is passed into row processing. Reproduce with the VisOnlyQA command in the issue and inspect the failing text branch. Done when the configured decoded_image column is processed without the text branch raising the missing-key error and each output JSONL entry includes its prompt, 128 output tokens and a media path.
Written by the indexing model from the issue text.
Description
System Info
TensorRT-LLM main at 032de8cef026. The dataset preparation path runs on CPU. Verified with Python 3.12, datasets 4.8.3, Transformers 5.1.0 and Pillow 12.1.1.
Who can help?
No response
Information
- The official example scripts
- My own modified scripts
Tasks
- An officially supported task in the
examplesfolder (such as GLUE/SQuAD, ...) - My own task or dataset (give details below)
Reproduction
Prepare multimodal benchmark requests from VisOnlyQA. Its published schema includes a PIL image in decoded_image and text in prompt_no_reasoning. Choose any locally available HF tokenizer supported by the prepare-dataset command and run:
trtllm-bench --model "$model" prepare-dataset --output ./visonlyqa.jsonl real-dataset \
--dataset-name ryokamoi/VisOnlyQA_Eval_Real_v1.1 --dataset-split geometry__triangle \
--dataset-image-key decoded_image --dataset-prompt-key prompt_no_reasoning \
--output-len-dist 128,0 --num-requests 3
The offline reproduction used the exact geometry__triangle Parquet at dataset revision 3747d1370919, loaded as a local streaming split, and invoked the prepare-dataset Click command directly.
Expected behavior
Each JSONL entry contains its prompt, 128 output tokens and a media path for the decoded image.
actual behavior
Processing stops at the first row. The text branch calls get_input and raises ValueError: Dataset … does not have key 'None' even though the requested image column exists. The modality check recognizes only the literal column names image, image_1 and video.
additional notes
Before submitting a new issue...
- Make sure you already searched for relevant issues, and checked the documentation and examples for answers to frequently asked questions.
- Dominant language
- Python
- Stars
- 15.2k
- Forks
- 3k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 477
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA/TensorRT-LLM
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xPossibly taken @NimaVaziri claimed this today. OpenPytorch
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/TensorRT-LLM#23406 ·
Maintainers usually reply within 1 day
-
Inference runtime Windows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
NVIDIA/TensorRT-LLM#23394 ·
Maintainers usually reply within 1 day
-
[Bug]: MMLU subsampling changes when evaluators are interleavedPossibly taken @LeNeLeNeWo claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NVIDIA/TensorRT-LLM#23273 ·
Maintainers usually reply within 1 day
-
Trace-replay Pareto window includes the drain when sessions finish out of admission orderPossibly taken @sbeierle claimed this 3 days ago. OpenTesting
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
NVIDIA/TensorRT-LLM#23077 ·
Maintainers usually reply within 1 day
-
LongBench V2 blog command breaks on inline comments after continuationsPossibly taken @ddlw claimed this 25 days ago. OpenDoc
Difficulty 1/5 Under an hour Newbie friendliness 91/100
NVIDIA/TensorRT-LLM#21879 ·
Maintainers usually reply within 1 day
All issues in NVIDIA/TensorRT-LLM
Similar issues
-
[Resource]: SpaicelyOpenresource-submission validation-passed
Difficulty 1/5 Under an hour Newbie friendliness 68/100
hesreallyhim/awesome-claude-code#3875 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
bvis/aegis-hass#725 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
#1643 unrecoverable split: 1 digest with a 403 — two earlier captures of the same URL are real 200sOpen
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Robin-IA/Congressional-Letters-Dev#1684 ·
Maintainers usually reply within 1 day