Skip to content

Conversation

@tedzhouhk
Copy link
Contributor

@tedzhouhk tedzhouhk commented Jul 29, 2025

Summary by CodeRabbit

  • Documentation

    • Improved instructions for running the profiling script in Kubernetes, including a new step for configuring SLA parameters and clearer step ordering.
    • Added explicit guidance on setting SLA-related arguments in the job configuration.
  • Chores

    • Updated the profiling job configuration to include additional command-line arguments for GPU resource constraints and timing parameters.

@copy-pr-bot
Copy link

copy-pr-bot bot commented Jul 29, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 29, 2025

Walkthrough

The profiling job's Kubernetes YAML was updated to include new command-line arguments for GPU constraints and timing parameters. Corresponding documentation now explicitly instructs users to configure these SLA parameters before running the profiling job, adding a dedicated step and clarifying the workflow sequence.

Changes

Cohort / File(s) Change Summary
Kubernetes Job Specification
benchmarks/profiler/deploy/profile_sla_job.yaml
Added command-line arguments for GPU constraints and timing parameters to the profiling job container specification.
Profiling Documentation
docs/architecture/pre_deployment_profiling.md
Updated instructions to include a separate step for configuring SLA targets, clarified workflow, and reordered environment variable exports.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~7 minutes

Poem

A YAML tune, a doc refined,
With GPUs counted, constraints aligned.
SLA steps now clear and bright,
Profiling jobs set up just right.
Hop, hop, hooray! The process flows—
A rabbit’s joy as clarity grows! 🐇✨

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
benchmarks/profiler/deploy/profile_sla_job.yaml (1)

40-51: Quote SLA numeric arguments for consistency and to avoid YAML → string coercion surprises

args is a []string in the Pod spec. Supplying un-quoted scalars (3000, 150, 200, 20) relies on the YAML → JSON → Go unmarshalling stack to coerce integers to strings. It works today but is brittle and inconsistent with the quoted GPU values above.

-          - --isl
-          - 3000
+          - --isl
+          - "3000"

-          - --osl
-          - 150
+          - --osl
+          - "150"

-          - --ttft
-          - 200
+          - --ttft
+          - "200"

-          - --itl
-          - 20
+          - --itl
+          - "20"

Keeps the style uniform and removes any implicit type conversion.

docs/architecture/pre_deployment_profiling.md (1)

92-113: Replace bold text with proper headings to satisfy markdown-lint (MD036)

The static analysis hints flag the use of emphasis instead of headings (**Step 2: …**, **Step 3: …**, etc.). Converting them to level-3 headings keeps the visual hierarchy and silences the linter.

-**Step 2: Set SLA target**
+### Step 2: Set SLA target

 ...
-**Step 3: Run profiling (required)**
+### Step 3: Run profiling (required)

Do the same for the subsequent Step 4 block.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7fbd43a and cf137f4.

📒 Files selected for processing (2)
  • benchmarks/profiler/deploy/profile_sla_job.yaml (1 hunks)
  • docs/architecture/pre_deployment_profiling.md (1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
docs/architecture/pre_deployment_profiling.md

92-92: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


113-113: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


124-124: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Build and Test - vllm
🔇 Additional comments (1)
docs/architecture/pre_deployment_profiling.md (1)

85-88: LGTM – early export of DOCKER_IMAGE / DGD_CONFIG_FILE improves the flow

Placing the exports right after the build step avoids users forgetting to set them later. No issues spotted here.

@tedzhouhk tedzhouhk changed the title docs: add instructions to modify SLA to profile_sla doc chore: add instructions to modify SLA to profile_sla doc; update component name Jul 29, 2025
@github-actions github-actions bot added chore and removed docs labels Jul 29, 2025
@pull-request-size pull-request-size bot added size/L and removed size/M labels Jul 29, 2025
@tedzhouhk tedzhouhk enabled auto-merge (squash) July 29, 2025 22:52
@tedzhouhk tedzhouhk merged commit 157714a into main Jul 29, 2025
11 checks passed
@tedzhouhk tedzhouhk deleted the hzhou/profile_sla_doc branch July 29, 2025 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants