Skip to content

Add example: benchmarking with local tokenizer and custom JSONL dataset#915

Merged
mergify[bot] merged 14 commits into
vllm-project:mainfrom
miglis:docs/jsonl-example
Jul 15, 2026
Merged

Add example: benchmarking with local tokenizer and custom JSONL dataset#915
mergify[bot] merged 14 commits into
vllm-project:mainfrom
miglis:docs/jsonl-example

Conversation

@miglis

@miglis miglis commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

benchmarking with local tokenizer and custom JSONL dataset

Adds docs/examples/custom-jsonl-dataset.md, showing how to run GuideLLM against an OpenAI-compatible endpoint using only local tokenizer files (tokenizer.json, tokenizer_config.json, special_tokens_map.json) and a custom JSONL prompt dataset.


  • "I certify that all code in this PR is my own, except as noted below."

Use of AI

  • Includes code generated or substantially modified by an AI agent
  • Includes tests generated or substantially modified by an AI agent

git log

commit 166f012
Author: Michael Stucki michael.stucki99@gmail.com
Date: Wed Jul 8 13:39:29 2026 +0200

docs: add guide for benchmarking with local tokenizer and custom JSONL dataset

Adds docs/examples/custom-jsonl-dataset.md, showing how to run
GuideLLM against an OpenAI-compatible endpoint using only local tokenizer
files (tokenizer.json, tokenizer_config.json, special_tokens_map.json)
and a custom JSONL prompt dataset.

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

commit b065f94
Author: Michael Stucki michael.stucki99@gmail.com
Date: Thu Jul 9 15:30:50 2026 +0200

docs: fix --data-loader value to defaults

To keep example so readers understand the options exists.

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

commit cd6507a
Author: Michael Stucki michael.stucki99@gmail.com
Date: Thu Jul 9 15:54:17 2026 +0200

docs: replace obsolete env var with an example for json output file

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

commit c5b3c2c
Author: Michael Stucki michael.stucki99@gmail.com
Date: Thu Jul 9 16:02:51 2026 +0200

chore: trigger pipeline

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

commit e2e7c63
Author: Michael Stucki michael.stucki99@gmail.com
Date: Thu Jul 9 16:03:26 2026 +0200

chore: trigger pipeline

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

commit ed1b8ec
Author: Michael Stucki michael.stucki99@gmail.com
Date: Fri Jul 10 11:23:46 2026 +0200

docs: clarify to copy necessary files if using model X

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

commit ebf524b
Author: Michael Stucki michael.stucki99@gmail.com
Date: Fri Jul 10 11:31:17 2026 +0200

docs: state that this example is based on local restrictions and step 3 can be ignored

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

commit aaa9cc9
Author: Michael Stucki michael.stucki99@gmail.com
Date: Fri Jul 10 11:34:29 2026 +0200

docs: explicitly mention --data-loader-defaults

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

commit 0c26bd2
Author: Michael Stucki michael.stucki99@gmail.com
Date: Sun Jul 12 20:36:06 2026 +0200

docs: remove all docker related parts

Replaced with commands to run guidellm manually.

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

commit 160c905
Author: Michael Stucki michael.stucki99@gmail.com
Date: Sun Jul 12 20:42:16 2026 +0200

docs: remove defaults

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

commit d2d5707
Author: Michael Stucki michael.stucki99@gmail.com
Date: Sun Jul 12 20:46:12 2026 +0200

docs: clarify tokenizer file list is model-specific, not universal

Merge the "copy only these three files" statement with the Mistral-family
caveat into one coherent paragraph, removing the contradiction between them.

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

commit b6661cb
Author: Michael Stucki michael.stucki99@gmail.com
Date: Sun Jul 12 20:58:42 2026 +0200

docs: fix markdown formatting per mdformat

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

Signed-off-by: Michael Stucki michael.stucki99@gmail.com

@mergify

mergify Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Hi @miglis, the DCO check has failed. Please click on DCO in the Checks section for instructions on how to resolve this.

@miglis miglis force-pushed the docs/jsonl-example branch from 7de165a to ef4aa02 Compare July 8, 2026 11:44

@dbutenhof dbutenhof left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some overlap with the practice_on_vllm_simulator.md example -- for example it talks about downloading a tokenizer to run locally, although it doesn't specify the particular files.

Generally, more concrete examples are good. My comments are generally in areas where you're either too abstract or unnecessarily over-specified (like using unnecessary options to specify defaults or values inconsistent with your example)...

Comment thread docs/examples/custom-jsonl-dataset.md
Comment thread docs/examples/custom-jsonl-dataset.md Outdated
Comment thread docs/examples/custom-jsonl-dataset.md Outdated
Comment thread docs/examples/custom-jsonl-dataset.md
Comment thread docs/examples/custom-jsonl-dataset.md Outdated
@miglis miglis force-pushed the docs/jsonl-example branch from 5366e5f to a693064 Compare July 9, 2026 13:55
@mergify

mergify Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Hi @miglis, the DCO check has failed. Please click on DCO in the Checks section for instructions on how to resolve this.

miglis added 5 commits July 9, 2026 16:03
…L dataset

Adds docs/examples/custom-jsonl-dataset.md, showing how to run
GuideLLM against an OpenAI-compatible endpoint using only local tokenizer
files (tokenizer.json, tokenizer_config.json, special_tokens_map.json)
and a custom JSONL prompt dataset.

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>
To keep example so readers understand the options exists.

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>
Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>
Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>
Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>
@miglis miglis force-pushed the docs/jsonl-example branch from 1f841f9 to e2e7c63 Compare July 9, 2026 14:04
@miglis miglis requested a review from sjmonson July 9, 2026 14:05
@dbutenhof dbutenhof requested a review from jaredoconnell July 9, 2026 17:16
miglis added 3 commits July 10, 2026 11:23
Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>
… 3 can be ignored

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>
Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>

@dbutenhof dbutenhof left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is improving -- sorry, but still a few more problems.

Comment thread docs/examples/custom-jsonl-dataset.md Outdated
Comment thread docs/examples/custom-jsonl-dataset.md Outdated
Comment thread docs/examples/custom-jsonl-dataset.md Outdated
@dbutenhof

Copy link
Copy Markdown
Collaborator

By the way, you need to fix your file formatting:

run markdown formatter...................................................Failed
- hook id: mdformat
- files were modified by this hook

So, when you're making further changes, git add the updated file to your local git index, then

$ pip install pre-commit
$ pre-commit install
$ pre-commit run

It will give you a message like the CI's message above ... only in this case, the modified files are in your local branch. Add the changes to your git index, then you can re-run pre-commit run to verify that there are no remaining problems before committing the changes.

miglis and others added 5 commits July 12, 2026 20:13
Replaced with commands to run guidellm manually.

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>
Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>
Merge the "copy only these three files" statement with the Mistral-family
caveat into one coherent paragraph, removing the contradiction between them.

Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>
Signed-off-by: Michael Stucki <michael.stucki99@gmail.com>
@miglis miglis requested a review from dbutenhof July 12, 2026 19:01

@dbutenhof dbutenhof left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One somewhat awkward sentence could be clarified.

And while I'm basically happy about removing the extra steps of the containerized deployment and the unnecessary default options, I also feel just a little bad that I pushed you away from what you were trying to do. (Just a little: but... "sorry".)

Comment thread docs/examples/custom-jsonl-dataset.md
@dbutenhof dbutenhof requested a review from SkiHatDuckie July 15, 2026 15:05

@SkiHatDuckie SkiHatDuckie left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've got no complaints.

@dbutenhof

Copy link
Copy Markdown
Collaborator

@Mergifyio queue

@mergify

mergify Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 6 minutes 36 seconds in the queue, including 6 minutes 17 seconds running CI.

Required conditions to merge
  • github-review-approved [🛡 GitHub repository ruleset rule Merge Requirements]
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/quality (3.10) / type-checks
    • check-neutral = @github-actions/quality (3.10) / type-checks
    • check-skipped = @github-actions/quality (3.10) / type-checks
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/quality (3.10) / precommit-checks
    • check-neutral = @github-actions/quality (3.10) / precommit-checks
    • check-skipped = @github-actions/quality (3.10) / precommit-checks
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/quality (3.10) / quality-checks
    • check-neutral = @github-actions/quality (3.10) / quality-checks
    • check-skipped = @github-actions/quality (3.10) / quality-checks
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/tests (3.10) / e2e-tests
    • check-neutral = @github-actions/tests (3.10) / e2e-tests
    • check-skipped = @github-actions/tests (3.10) / e2e-tests
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/tests (3.10) / integration-tests
    • check-neutral = @github-actions/tests (3.10) / integration-tests
    • check-skipped = @github-actions/tests (3.10) / integration-tests
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/tests (3.10) / unit-tests
    • check-neutral = @github-actions/tests (3.10) / unit-tests
    • check-skipped = @github-actions/tests (3.10) / unit-tests
  • any of [🛡 GitHub repository ruleset rule Merge Requirements]:
    • check-success = @github-actions/update-description
    • check-neutral = @github-actions/update-description
    • check-skipped = @github-actions/update-description

@dbutenhof

Copy link
Copy Markdown
Collaborator

@Mergifyio queue

@mergify

mergify Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

queue

☑️ Command queue ignored because it is already running from a previous command.

@dbutenhof dbutenhof dismissed sjmonson’s stale review July 15, 2026 18:40

The substance of Sam's comment has been met.

@dbutenhof

Copy link
Copy Markdown
Collaborator

@Mergifyio refresh

@mergify mergify Bot added the queued label Jul 15, 2026
@mergify

mergify Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

refresh

✅ Pull request refreshed

mergify Bot added a commit that referenced this pull request Jul 15, 2026
@mergify mergify Bot merged commit 6c63a06 into vllm-project:main Jul 15, 2026
12 checks passed
@mergify mergify Bot removed the queued label Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants