[Feature Request] Stream synthetic benchmark requests as they are generated

オープン
#23,064 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@laikhtewari がすでに取り組んでいます。

2026年11月30日 から。

  • #23065 @HaoyangPing0324 による — オープン

評価

この issue はまだ評価されていません。

説明

feature request
🚀 The feature, motivation and pitch

The DeepSeek-V3 benchmark guide asks users to prepare a dataset with 49,152 requests of 1,024 input tokens. Both synthetic dataset commands currently build a Python list containing every input token ID before writing the first JSONL row. The documented workload therefore retains over 50 million token IDs on the host during preparation. Benchmark recipe

Run the following with a local HF tokenizer. Watch the process peak RSS and the time until the output file grows.

trtllm-bench --model "$MODEL" prepare-dataset --random-seed 42 --output dataset.jsonl token-norm-dist   --num-requests 49152 --input-mean 1024 --input-stdev 0 --output-mean 2048 --output-stdev 0

Ordinary workloads and fixed-adapter workloads can write each completed request immediately. The generated JSONL should stay byte-identical for a fixed seed, including task metadata, token sampling and EOS replacement. The random-adapter mode also needs to preserve its established ordering of random draws. This concerns the preparation command running on the host.

Alternatives

No response

Additional context

No response

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.
主要言語
Python
スター
15.2k
フォーク
3k
平均マージ
2日 21時間
マージ済み PR(30日)
477

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/TensorRT-LLM のほかの issue

NVIDIA/TensorRT-LLM の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。