Build ProfileArgs in BenchmarkGenerativeTextArgs - #774
Conversation
sjmonson
left a comment
There was a problem hiding this comment.
Small nit but not really blocking. Otherwise looks good.
38e6251 to
fecc715
Compare
| profile=args.profile, | ||
| rate=args.rate, | ||
| random_seed=args.random_seed, | ||
| rampup=args.rampup, |
There was a problem hiding this comment.
Is the rampup field this was referencing still used anywhere?
There was a problem hiding this comment.
It's referenced in ProfileArgs. (Which, as Sam pointed out earlier, is really weird because it's a completely different path from warmup & cooldown, and shouldn't be -- but that's beyond the scope of this PR.) Anyway, it was needed because we built ProfileArgs here; but we no longer do.
There was a problem hiding this comment.
It probably makes sense to create an issue then to note the odd design and retirement of that pathway.
There was a problem hiding this comment.
Yeah, we'd talked about unifying the paths for all of these; an issue makes sense, but when I started to think about writing one I got hung up on details and didn't get far.
fecc715 to
e4792f6
Compare
a98c255 to
fc00640
Compare
Merge Queue Status
This pull request spent 2 minutes 46 seconds in the queue, with no time running CI. Waiting for
All conditions
ReasonPull request #774 has been dequeued by a HintIf you want to requeue this pull request, you can post a |
|
@Mergifyio dequeue |
|
^ @dbutenhof Sorry it auto queued since we have two approvals but I am not sure if you are done. Just requeue if you're ready. |
|
@Mergifyio queue |
Merge Queue Status
This pull request spent 5 minutes 50 seconds in the queue, including 5 minutes 35 seconds running CI. Waiting for
All conditions
ReasonThe merge conditions cannot be satisfied due to failing checks Failing checks: HintYou may have to fix your CI before adding the pull request to the queue again. |
This follows up on a discussion in vllm-project#753. Shuffle data/data_samples from ReplayProfileArgs to ReplayProfile so that we can rely on built loader. Now we can fully build ProfileArgs up front. Assisted-by: Cursor Signed-off-by: David Butenhof <dbutenho@redhat.com>
Signed-off-by: David Butenhof <dbutenho@redhat.com>
Signed-off-by: David Butenhof <dbutenho@redhat.com>
More consistent behavior than ignoring one. Signed-off-by: David Butenhof <dbutenho@redhat.com>
(Yeah, that's why we *have* a merge queue!) Signed-off-by: David Butenhof <dbutenho@redhat.com>
fc00640 to
f240157
Compare
|
@Mergifyio requeue |
Merge Queue Status🛑 Queue command has been cancelled |
Merge Queue Status
This pull request spent 14 seconds in the queue, including 2 seconds running CI. Required conditions to merge
|
Summary
Let
BenchmarkGenerativeTextArgsbuild theProfileArgsembedded object.Details
This is a refactoring that follows up on a discussion during review of #753.
The key was to shuffle data/data_samples from ReplayProfileArgs to ReplayProfile so that we can rely on a built loader by the time we need it. Now we can fully build ProfileArgs up front.
Test Plan
Ensure proper parsing of profile parameters, particularly,
ProfileArgsdict--ratewith aliasedProfileArgsparametersE.g.:
Related Issues
N/A
Use of AI
git log
commit 3e27713
Author: David Butenhof dbutenho@redhat.com
Date: Fri Jun 5 02:03:41 2026 -0400
commit 66d9025
Author: David Butenhof dbutenho@redhat.com
Date: Fri Jun 5 15:04:53 2026 -0400
commit c3cf2d0
Author: David Butenhof dbutenho@redhat.com
Date: Fri Jun 5 20:12:36 2026 -0400
commit a11f2dd
Author: David Butenhof dbutenho@redhat.com
Date: Mon Jun 8 08:45:01 2026 -0400
commit f240157
Author: David Butenhof dbutenho@redhat.com
Date: Tue Jun 9 16:21:31 2026 -0400
Assisted-by: Cursor
Signed-off-by: David Butenhof dbutenho@redhat.com