[None][doc] Add tech blog: Evaluating Agentic Serving with Trace Replay and Job-Level Metrics#16230
[None][doc] Add tech blog: Evaluating Agentic Serving with Trace Replay and Job-Level Metrics#16230KleinBlueC wants to merge 1 commit into
Conversation
…ay and Job-Level Metrics Signed-off-by: KleinBlueC <102355066+KleinBlueC@users.noreply.github.com>
📝 WalkthroughWalkthroughAdds a tech blog describing trace replay for agent workloads, job-level serving metrics, and experimental findings on batching, prefix caching, and host KV-cache offloading. ChangesAgentic serving evaluation
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@docs/source/blogs/tech_blog/blog26_Evaluating_Agentic_Serving_with_Trace_Replay_and_Job_Level_Metrics.md`:
- Line 1: Add the repository-standard NVIDIA copyright and Apache 2.0 license
header at the beginning of the new blog document, before the title.
- Around line 97-100: Clarify the “Job-level interactivity” metric definition by
explicitly stating that mean end-to-end job latency is measured in seconds, so
3600 seconds divided by the mean latency yields jobs/hour/user.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: a3f5559f-dfd9-431a-9cc5-dfbecffefa9e
⛔ Files ignored due to path filters (7)
docs/source/blogs/media/tech_blog26_batch_size_sweep_fixed_concurrency.pngis excluded by!**/*.pngdocs/source/blogs/media/tech_blog26_coder_bc_frontier.pngis excluded by!**/*.pngdocs/source/blogs/media/tech_blog26_hit_rate_eviction_cliff.pngis excluded by!**/*.pngdocs/source/blogs/media/tech_blog26_host_offloading.pngis excluded by!**/*.pngdocs/source/blogs/media/tech_blog26_odr_bc_frontier.pngis excluded by!**/*.pngdocs/source/blogs/media/tech_blog26_pipeline.pngis excluded by!**/*.pngdocs/source/blogs/media/tech_blog26_token_vs_job_pareto_strategies.pngis excluded by!**/*.png
📒 Files selected for processing (1)
docs/source/blogs/tech_blog/blog26_Evaluating_Agentic_Serving_with_Trace_Replay_and_Job_Level_Metrics.md
| @@ -0,0 +1,178 @@ | |||
| # Evaluating Agentic Serving with Trace Replay and Job-Level Metrics | |||
There was a problem hiding this comment.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
Add the required NVIDIA copyright header.
This new file must begin with the repository’s NVIDIA copyright and Apache 2.0 license header.
As per coding guidelines: **/*: Add an NVIDIA copyright header to all new files, and update the copyright year in modified files.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In
`@docs/source/blogs/tech_blog/blog26_Evaluating_Agentic_Serving_with_Trace_Replay_and_Job_Level_Metrics.md`
at line 1, Add the repository-standard NVIDIA copyright and Apache 2.0 license
header at the beginning of the new blog document, before the title.
Source: Coding guidelines
| The two axes are: | ||
|
|
||
| - **Job-level interactivity — jobs/h/user**: 3600 divided by the mean end-to-end job latency. | ||
| - **Job-level throughput — jobs/h/GPU**: completed jobs per hour, normalized by GPU count. |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Specify the latency units in the metric formula.
3600 / mean latency is correct only when latency is measured in seconds. State the unit explicitly so readers can reproduce jobs/h/user without ambiguity.
Proposed clarification
-- **Job-level interactivity — jobs/h/user**: 3600 divided by the mean end-to-end job latency.
+- **Job-level interactivity — jobs/h/user**: 3600 seconds divided by the mean end-to-end job latency, measured in seconds.📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| The two axes are: | |
| - **Job-level interactivity — jobs/h/user**: 3600 divided by the mean end-to-end job latency. | |
| - **Job-level throughput — jobs/h/GPU**: completed jobs per hour, normalized by GPU count. | |
| The two axes are: | |
| - **Job-level interactivity — jobs/h/user**: 3600 seconds divided by the mean end-to-end job latency, measured in seconds. | |
| - **Job-level throughput — jobs/h/GPU**: completed jobs per hour, normalized by GPU count. |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In
`@docs/source/blogs/tech_blog/blog26_Evaluating_Agentic_Serving_with_Trace_Replay_and_Job_Level_Metrics.md`
around lines 97 - 100, Clarify the “Job-level interactivity” metric definition
by explicitly stating that mean end-to-end job latency is measured in seconds,
so 3600 seconds divided by the mean latency yields jobs/hour/user.
Summary by CodeRabbit
Description
Add tech blog: Evaluating Agentic Serving with Trace Replay and Job-Level Metrics.
Test Coverage
PR Checklist
Please review the following before submitting your PR:
PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.
PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.
Test cases are provided for new code paths (see test instructions)
If PR introduces API changes, an appropriate PR label is added - either
api-compatibleorapi-breaking. Forapi-breaking, includeBREAKINGin the PR title.Any new dependencies have been scanned for license and vulnerabilities
CODEOWNERS updated if ownership changes
Documentation updated as needed
Update tava architecture diagram if there is a significant design change in PR.
The reviewers assigned automatically/manually are appropriate for the PR.
Please check this after reviewing the above items as appropriate for this PR.
GitHub Bot Help
To see a list of available CI bot commands, please comment
/bot help.