Add online benchmarking script - #826
Open
sducouedic wants to merge 3 commits into
Open
Conversation
Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
Contributor
|
👋 Hi! Thank you for contributing. We also recommend installing prek and configuring it to check your code before every local commit. |
Signed-off-by: Sophie du Couédic <sop@zurich.ibm.com>
sducouedic
commented
Sep 10, 2026
Comment on lines
+183
to
+187
| echo -e " | ||
| export SPYRE_KERNEL_CACHE=1 | ||
|
|
||
| vllm serve $model | ||
| --max-model-len $max_context_len |
Contributor
Author
There was a problem hiding this comment.
we want to export SPYRE_NUM_CPUS=8 for both client and server
also want to source ~/spyre-libs/env.sh if it exists
Export SPYRE_NUM_CPUS=8 and source ~/spyre-libs/env.sh (if present) before starting the server/client loop, so both vllm serve and vllm bench serve pick them up. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Signed-off-by: Sophie du Couédic <sducouedic@users.noreply.github.com>
sducouedic
force-pushed
the
benchmark_spyre_inference
branch
from
September 10, 2026 10:03
7bdfe02 to
fc87c5f
Compare
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.
Adds
scripts/run_benchmarks.sh, the script we use to run the online serving benchmark against spyre-inference.Each line in
param_setsdescribes one experiment: the script starts avllm serveinstance for it, runsvllm bench serveagainst it, tears the server down, then moves on to the next line. Results land in a per-config folder whose name encodes the parameters, so runs don't overwrite each other.The header comment documents every parameter and marks the current golden benchmark config.
🤖 Generated with Claude Code