Trace File Refactor#829
Open
SkiHatDuckie wants to merge 25 commits into
Open
Conversation
Contributor
|
Hi @SkiHatDuckie, the DCO check has failed. Please click on DCO in the Checks section for instructions on how to resolve this. |
Contributor
Author
|
Sorry, messed up the rebase. Give me a minute while I clean up the history. |
52e2b60 to
7a1e3c5
Compare
dbutenhof
reviewed
Jun 23, 2026
dbutenhof
left a comment
Collaborator
There was a problem hiding this comment.
Just logging a few doc comments I caught in a quick scan. I'll get to the code tomorrow morning...
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Contributor
|
Hi @SkiHatDuckie, the DCO check has failed. Please click on DCO in the Checks section for instructions on how to resolve this. |
3aab3ac to
283cfff
Compare
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Collaborator
|
Congrats on breaking the |
3 tasks
Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
mergify Bot
pushed a commit
that referenced
this pull request
Jun 25, 2026
…#855) ## Summary This is a separate PR for the bug fix contained in #829, if we instead wish to just get the bug fix in for v0.7.0. This will be closed if the trace file refactor is merged, or after the release of v0.7.0. ## Details - Fixed a bug with Mooncake format not working with multiprocessing ## Related Issues - This is also fixed with #829 --- - [x] "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 > NOTE: the `Generated-by` or `Assisted-by` trailers should be used in git commit messages when code or tests were generated or substantially modified by an AI agent, as described in the project's [`DEVELOPING.md`](https://github.com/vllm-project/guidellm/blob/main/DEVELOPING.md) file. --- # git log commit 3b89ec2 Author: SkiHatDuckie <SkiHatDuckie@gmail.com> Date: Thu Jun 25 11:54:24 2026 -0400 Hotfix: Add relative_timestamp column to output in Mooncake deserializer Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com> commit 8d2cba0 Author: SkiHatDuckie <SkiHatDuckie@gmail.com> Date: Thu Jun 25 12:59:10 2026 -0400 Move `timestamps` outside the loop Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com> --------- Signed-off-by: SkiHatDuckie <SkiHatDuckie@gmail.com>
Signed-off-by: SkiHatDuckie <63932363+SkiHatDuckie@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A refactoring of trace formats that separates format-agnostic trace replay functionality from format-specific functionality. Notably, all formats now work with the same dataset deserializer. Two abstract classes
TraceDataArgsandTraceFormatBaseare required to be implemented by all formats instead.Additional documentation has been added to better cover all supported trace formats and their different requirements.
The unique prefixes for cache resistance found originally in
trace_synthetic.py(nowtrace_minimal.py) was removed due to being incompatible with the new model. It may be re-added as a feature in future PRs through another means.Details
trace_common.pyTraceDatasetDeserializergenerate_token_idsanddecode_prompttotrace_common.pyTraceDataArgs: an abstract class inherited by all formatsTraceFormatBaseandTraceFormatRegistry: defines an interface for format-specific requirements and functionality on top ofTraceExamplesIterableTraceSyntheticDatasetDeserializerandTraceSyntheticDataArgswithMinimalTraceFormatandMinimalTraceFormatArgsTraceMooncakeDatasetDeserializerandTraceMooncakeDataArgswithMooncakeTraceFormatandMooncakeTraceFormatArgstrace_synthetic.py->trace_minimal.pytest_trace_synthetic.py->test_trace_minimal.pytest_trace_common.py, and rearranged preexisting tests accordinglytest_replay_profile.py,test_trace_replay.pyandtest_trace_replay_multiprocess.pyIterableDatasetfor streamingtrace_file_formats.mdto cover all trace formats supported by GuideLLMgetting_started/benchmark.mdandguides/datasets.mddata/deserializers/__init__.pyload_trace_rowstrace_minimal.pyTest Plan
tox -e test-unittox -e test-integrationtox -e lint-check && tox -e type-checkRelated Issues
Use of AI
git log
commit e6f5007
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Mon Jun 15 12:16:03 2026 -0400
commit 2e237ec
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Mon Jun 15 13:00:51 2026 -0400
commit 072cc28
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Mon Jun 15 15:11:25 2026 -0400
commit 4cd77db
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Tue Jun 16 09:38:05 2026 -0400
commit a91ceb4
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Tue Jun 16 09:58:18 2026 -0400
commit b10a590
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Tue Jun 16 16:58:54 2026 -0400
commit d24d8a2
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Wed Jun 17 10:57:16 2026 -0400
commit a6cb4b4
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Wed Jun 17 16:34:10 2026 -0400
commit c119743
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Thu Jun 18 15:09:33 2026 -0400
commit a83a6c4
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Thu Jun 18 16:16:15 2026 -0400
commit e9c3d3a
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Thu Jun 18 16:18:38 2026 -0400
commit 5010011
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Thu Jun 18 16:25:29 2026 -0400
commit 4acc11c
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Mon Jun 22 11:04:41 2026 -0400
commit 85220c8
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Mon Jun 22 11:15:03 2026 -0400
commit 2e49c7e
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Mon Jun 22 11:28:35 2026 -0400
commit 2c1d450
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Mon Jun 22 11:49:30 2026 -0400
commit 4af294b
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Mon Jun 22 12:20:30 2026 -0400
commit 175faeb
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Mon Jun 22 16:12:02 2026 -0400
commit 283cfff
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Mon Jun 22 16:17:20 2026 -0400
commit bb9c24a
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Wed Jun 24 10:07:04 2026 -0400
commit cfc23a9
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Wed Jun 24 10:47:16 2026 -0400
commit 2f8e9c9
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Wed Jun 24 11:31:31 2026 -0400
commit be9e85e
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Wed Jun 24 11:35:31 2026 -0400
commit 42c9dcf
Author: SkiHatDuckie SkiHatDuckie@gmail.com
Date: Thu Jun 25 13:00:26 2026 -0400
Signed-off-by: SkiHatDuckie SkiHatDuckie@gmail.com