Skip to content

Add options to override default extra_body and num_prompts when profiler is enabled#1044

Open
devalshahamd wants to merge 4 commits intoSemiAnalysisAI:mainfrom
devalshahamd:main
Open

Add options to override default extra_body and num_prompts when profiler is enabled#1044
devalshahamd wants to merge 4 commits intoSemiAnalysisAI:mainfrom
devalshahamd:main

Conversation

@devalshahamd
Copy link
Copy Markdown

This pull request adds support for customizing the profiling request body in the benchmark serving scripts by introducing a new --profile-extra-body parameter. This allows users to pass additional profiling options as a JSON string, improving flexibility for advanced profiling scenarios. The changes update both the shell and Python benchmarking utilities to support and propagate this new option.

Profiling customization support:

Profiling behavior improvements:

  • benchmarks/benchmark_lib.sh: Made the number of profiling prompts configurable via the PROFILE_NUM_PROMPTS environment variable, instead of always using max_concurrency.

Both changes are additional and backward compatible. The new behavior is enabled only when explicitly set.

…abled

Signed-off-by: Deval Shah <devashah@amd.com>
Copy link
Copy Markdown
Contributor

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@devalshahamd devalshahamd changed the title Added options override extra_body and num_prompts when profiler is enabled Add options to override default extra_body and num_prompts when profiler is enabled Apr 16, 2026
@devalshahamd devalshahamd marked this pull request as draft April 16, 2026 16:20
@devalshahamd devalshahamd marked this pull request as ready for review April 17, 2026 06:20
@haofrank
Copy link
Copy Markdown

@claude review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants