Skip to content

docs: migrate Profiler docs to three-tier structure#6003

Merged
dagil-nvidia merged 5 commits intomainfrom
dagil/docs-profiler-migration
Feb 6, 2026
Merged

docs: migrate Profiler docs to three-tier structure#6003
dagil-nvidia merged 5 commits intomainfrom
dagil/docs-profiler-migration

Conversation

@dagil-nvidia
Copy link
Copy Markdown
Collaborator

@dagil-nvidia dagil-nvidia commented Feb 5, 2026

Summary

  • Create docs/components/profiler/ with Profiler component documentation
  • Add README.md with overview, feature matrix, and quick start examples
  • Add profiler_guide.md with detailed configuration, CLI arguments, and troubleshooting
  • Add cross-references from existing profiling docs to new location
  • Add Profiler to Components section in docs navigation

Test plan

  • Docs build locally using official method:
    uv venv .venv-docs
    uv pip install --python .venv-docs --group docs
    uv run --python .venv-docs --no-project docs/generate_docs.py
    # Output: "build succeeded."
  • CI docs build passes
  • Links render correctly in built docs

Related

Part of docs hierarchy refactoring (Wave 1, PR 2).

Summary by CodeRabbit

  • Documentation
    • Added comprehensive Profiler documentation with quick-start guidance, configuration options, profiling methods, and usage examples.
    • New Profiler component overview documenting features, prerequisites, and a comparison matrix.
    • Added an in-depth Profiler guide covering deployment, integration, runtime profiling, WebUI, outputs, and troubleshooting.
    • Expanded cross-references and added contextual "See also" notes to related profiling and benchmark docs for improved navigation.

Create docs/components/profiler/ with:
- README.md: Overview, feature matrix, quick start
- profiler_guide.md: Detailed configuration and usage

Add cross-references from existing profiling docs:
- docs/benchmarks/sla_driven_profiling.md
- docs/backends/sglang/profiling.md

Add Profiler to Components section in index.rst navigation.

Signed-off-by: Dan Gil <dagil@nvidia.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Feb 5, 2026

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.

@github-actions github-actions bot added docs documentation Improvements or additions to documentation labels Feb 5, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 5, 2026

Walkthrough

Adds a new Profiler component documentation (README and detailed guide), updates the site index to include the profiler, and inserts "See also" cross-reference notes into two existing docs. No code, API, or runtime behavior changes.

Changes

Cohort / File(s) Summary
Profiler docs (new)
docs/components/profiler/README.md, docs/components/profiler/profiler_guide.md
Added comprehensive Profiler documentation: overview, feature matrix, quick-starts, deployment (DGDR/Kubernetes & direct script), configuration options, profiling methods, integration, outputs, examples and troubleshooting.
Cross-reference updates
docs/backends/sglang/profiling.md, docs/benchmarks/sla_driven_profiling.md
Inserted "See also" note blocks referencing the new Profiler Component Overview immediately after existing guidance sections.
Navigation index
docs/index.rst
Added Profiler entry under the Components toctree to expose new documentation in site navigation.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐇 I hopped through docs at break of dawn,

Added guides so profiling's drawn.
Links now lead where insights glow,
Pipelines hum and metrics grow.
A tiny rabbit says: onward we go! 🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main objective of migrating Profiler documentation to a three-tier structure.
Description check ✅ Passed The description covers all required template sections: Overview/Summary, Details, Where to review, and Related Issues with appropriate context.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

Comment @coderabbitai help to get the list of available commands and usage tips.

@dagil-nvidia dagil-nvidia changed the title docs: add Profiler component documentation docs: migrate Profiler to three-tier docs structure Feb 5, 2026
@dagil-nvidia dagil-nvidia changed the title docs: migrate Profiler to three-tier docs structure docs: migrate Profiler docs to three-tier structure Feb 5, 2026
@dagil-nvidia
Copy link
Copy Markdown
Collaborator Author

/ok to test 2a00679

@dagil-nvidia
Copy link
Copy Markdown
Collaborator Author

@coderabbitai full review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 5, 2026

✅ Actions performed

Full review triggered.

Copy link
Copy Markdown
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: 1

🤖 Fix all issues with AI agents
In `@docs/components/profiler/README.md`:
- Around line 110-114: The fenced code block under "Example recommendations" is
missing a language tag (MD040); update the triple-backtick fence for that block
to include a language identifier (e.g., use ```text) so the block becomes a
labeled fenced code block, preserving the two recommendation lines inside (the
lines starting "Suggested prefill TP:4 ..." and "Suggested decode TP:4 ...").

Address CodeRabbit review: add text language identifier to
Example recommendations code block (MD040).

Signed-off-by: Dan Gil <dagil@nvidia.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@dagil-nvidia
Copy link
Copy Markdown
Collaborator Author

/ok to test b25ed19

Expand profiler documentation by absorbing content from
sla_driven_profiling.md and planner quickstart (non-destructive,
originals kept):

- profiler_guide.md: full config reference, profiling methods,
  DGDR workflow, parallelization sweep internals, troubleshooting
- profiler_examples.md: complete DGDR YAMLs (dense, AIC, MoE,
  ConfigMap), WebUI usage, direct script examples
- README.md: updated Next Steps and toctree

Signed-off-by: Dan Gil <dagil@nvidia.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@dagil-nvidia
Copy link
Copy Markdown
Collaborator Author

/ok to test b20506f

Copy link
Copy Markdown
Contributor

@Jont828 Jont828 left a comment

Choose a reason for hiding this comment

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

Took an initial pass through. Besides nits/typos, the main questions for me are about what the valid fields and values are for arguments that go into the python script and the K8s fields and how to pick the correct values for them.

- Add SPDX copyright headers to all 3 files (@Jont828)
- Add supported systems comment to AIC example (@Jont828)
- Use concrete disagg.yaml path in script example (@Jont828)
- Clarify gpuType vs aicSystem distinction (@Jont828)
- Add CLI-to-DGDR argument mapping note (@Jont828)
- Clarify aicBackendVersion meaning with link (@Jont828)

Signed-off-by: Dan Gil <dagil@nvidia.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@dagil-nvidia
Copy link
Copy Markdown
Collaborator Author

/ok to test 5ff23d4

Co-authored-by: Jonathan Tong <jt572@cornell.edu>
Signed-off-by: dagil-nvidia <dagil@nvidia.com>
@dagil-nvidia
Copy link
Copy Markdown
Collaborator Author

/ok to test b0a107e

@Jont828
Copy link
Copy Markdown
Contributor

Jont828 commented Feb 5, 2026

^ My review comments are non-blocking btw. We can merge this asap to avoid too many rebase issues but figured it'd be good to have to follow up later.

@dagil-nvidia dagil-nvidia merged commit 3023c62 into main Feb 6, 2026
33 checks passed
@dagil-nvidia dagil-nvidia deleted the dagil/docs-profiler-migration branch February 6, 2026 00:05
soodoshll pushed a commit to soodoshll/dynamo that referenced this pull request Feb 12, 2026
Signed-off-by: Dan Gil <dagil@nvidia.com>
Signed-off-by: dagil-nvidia <dagil@nvidia.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Jonathan Tong <jt572@cornell.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs documentation Improvements or additions to documentation size/XXL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants