Skip to content

docs: add Web App section to README and webapp user guide#1367

Open
natoscott wants to merge 2 commits into
ai-dynamo:mainfrom
natoscott:docs/webapp-usage
Open

docs: add Web App section to README and webapp user guide#1367
natoscott wants to merge 2 commits into
ai-dynamo:mainfrom
natoscott:docs/webapp-usage

Conversation

@natoscott

@natoscott natoscott commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Overview:

Documents the Gradio webapp launch command, available flags, and tab
descriptions. The webapp was previously undocumented — this adds a
standalone docs/webapp_user_guide.md and a short pointer in the README.

Details:

  • New docs/webapp_user_guide.md covering installation (pip install 'aiconfigurator[webapp]'), launch command (python -m aiconfigurator.webapp.main), server flags, and descriptions of all
    always-visible and flag-gated tabs.
  • New "Web App" section in README.md with install/launch quickstart
    and a link to the full guide.
  • Clarified that the default bind address is 0.0.0.0 (all interfaces)
    and recommended --server-name 127.0.0.1 for local-only access.

Where should the reviewer start?

  • docs/webapp_user_guide.md — the new standalone guide (single file)
  • README.md — the short "Web App" section (~10 lines)

Related Issues:

  • None

Summary by CodeRabbit

  • Documentation
    • Added a Web App section to the README with installation and launch instructions.
    • Documented default and local-only server access settings.
    • Added a comprehensive Web App User Guide covering available options, tabs, and functionality.

@natoscott
natoscott requested a review from a team as a code owner July 15, 2026 07:58
@copy-pr-bot

copy-pr-bot Bot commented Jul 15, 2026

Copy link
Copy Markdown

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 the docs label Jul 15, 2026
@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

The documentation adds Web App installation and launch instructions, default server settings, a user-guide link, CLI flag details, and descriptions of always-visible and optional Gradio tabs.

Changes

Web App Documentation

Layer / File(s) Summary
Launch and tab documentation
README.md, docs/webapp_user_guide.md
Documents installation, the Gradio launch command, server binding options, optional UI-tab flags, and available Web App sections.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Poem

A Gradio door now swings wide,
With helpful tabs lined side by side.
A command, a port, a guide in view—
The web app waits at seven-eight-six-oh.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly summarizes the main change: adding Web App docs to the README and a user guide.
Description check ✅ Passed The description follows the template and includes overview, details, reviewer start, and related issues.

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 `@README.md`:
- Around line 196-197: The default access documentation must clarify that the
app binds to 0.0.0.0 and that localhost:7860 is only the local access URL.
Update README.md lines 196-197 and docs/webapp_user_guide.md line 16 to include
the exposure warning and recommend invoking the app with --server-name 127.0.0.1
for local-only access.
- Line 192: Quote the webapp extra in both installation commands: update
README.md lines 192-192 and docs/webapp_user_guide.md lines 9-9 to use the
quoted aiconfigurator[webapp] requirement, while preserving the editable-install
command.
🪄 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: 35782dd7-9582-4982-9687-084667fa5e7e

📥 Commits

Reviewing files that changed from the base of the PR and between 0b077da and e066578.

📒 Files selected for processing (2)
  • README.md
  • docs/webapp_user_guide.md
📜 Review details
⏰ Context from checks skipped due to timeout. (6)
  • GitHub Check: Collect snapshot (old)
  • GitHub Check: Collect snapshot (new)
  • GitHub Check: Build and Test (unit)
  • GitHub Check: Cargo Deny
  • GitHub Check: Rust/Python engine-step parity
  • GitHub Check: Build and Test (e2e)
🧰 Additional context used
📓 Path-based instructions (2)
**/*

📄 CodeRabbit inference engine (.claude/rules/repo-guide.md)

**/*: Treat this file as the only always-injected rule file; do not add new always-on rules here without human approval. New rule files must include paths: frontmatter.
When reviewing changes in a governed area, read that area's rule files first, even if path-based auto-loading does not occur during a read-only review. Rule violations are review findings even when the code works.
A task must remain within its module: collector tasks may change only collector/ and its tests, generator tasks only src/aiconfigurator/generator/ and its tests, and SDK tasks must not modify either. Cross-module contract changes require explicit human approval.

Files:

  • docs/webapp_user_guide.md
  • README.md

⚙️ CodeRabbit configuration file

**/*: - Prefer applicable inline comments. When the correct fix is clear, small, and limited to the commented diff hunk, include it as a GitHub Suggested Change so the author can apply it with one click.

  • Do not use a suggested change when the fix requires broader design choices, multiple files, generated artifacts, unavailable context, or validation that cannot be inferred from the diff.
  • If a comment is not directly applicable, state the smallest concrete next step and why a one-click suggestion is not safe.

Files:

  • docs/webapp_user_guide.md
  • README.md
docs/**

⚙️ CodeRabbit configuration file

docs/**: - Check that docs match changed CLI, SDK, generator, backend, and support-matrix behavior.

  • Flag docs that describe unsupported runtimes, stale command names, or behavior not covered by tests or support-matrix evidence.

Files:

  • docs/webapp_user_guide.md
🪛 LanguageTool
docs/webapp_user_guide.md

[grammar] ~5-~5: Ensure spelling is correct
Context: ...but with visual controls and plots. The webapp is not a CLI subcommand -- launch it di...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)


[grammar] ~41-~41: Ensure spelling is correct
Context: ... --server-port 8080 ``` ## Tabs The webapp is organized into tabs. Some are always...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

Comment thread README.md Outdated
Comment thread README.md Outdated
@Arsene12358

Copy link
Copy Markdown
Contributor

Thanks for the contribution. A side question though, do you guys actually use webapp often ? There are some internal discussions about fully retiring the webapp. Would this decision negatively impact your workflow ? @natoscott

@natoscott

Copy link
Copy Markdown
Contributor Author

@Arsene12358 Hi! Just speaking for myself, I wouldn't say I use it "often" but I do find it useful occasionally. I've found it handy for exploring the available functionality. It presents all the options relating to an area in a single pane of glass, while perusing command line options its easier to miss things or not see the relationships between options as clearly.

Low usage may also be a side-effect of it not being documented previously, so it lacked visibility?

Document the Gradio webapp launch command, available flags, and tab
descriptions. The webapp was previously undocumented.

Signed-off-by: Nathan Scott <nathans@redhat.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@natoscott
natoscott force-pushed the docs/webapp-usage branch from e066578 to bd36f31 Compare July 16, 2026 03:39

@Arsene12358 Arsene12358 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed against webapp/main.py::configure_parser on main — the flags table is fully accurate (all 8 flags, defaults, and gating match), the webapp extra and module entry point check out, and documenting the 0.0.0.0 default bind with the --server-name 127.0.0.1 recommendation is a good call.

Two things before merge:

  1. Tab names — 5 of the 9 documented tab names don't match the labels the UI actually renders (see inline comments). Since this is a user guide, the list should use the exact gr.Tab(...) labels users will see on screen.
  2. PR title — the title says "README and CLI user guide", but docs/cli_user_guide.md is untouched; the new file is a standalone webapp guide. Suggest retitling to something like docs: add Web App section to README and new webapp user guide.

Coordination note: if #1369 lands, its always-visible Sizing Recommender tab will be missing from this guide's tab list — whichever PR merges second should update the list.

Comment thread docs/webapp_user_guide.md
Comment on lines +48 to +53
- **Readme** -- Embedded documentation and version info.
- **Static** -- Single-point static latency exploration (select model, system, parallelism, and batch size to see estimated TTFT/TPOT).
- **Agg Pareto** -- Aggregated serving Pareto frontier search (analogous to `cli default` in agg mode).
- **Disagg Pareto** -- Disaggregated serving Pareto frontier search.
- **Pareto Comparison** -- Save and compare results from the Agg/Disagg Pareto tabs side by side.
- **Support Matrix** -- Interactive support matrix for model/system/backend combinations.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Three of these names don't match the labels the UI renders (from gr.Tab(...) in src/aiconfigurator/webapp/components/):

Guide says UI shows
Static Static Estimation
Agg Pareto Agg(IFB) Pareto Estimation
Disagg Pareto Disaggregation Pareto Estimation

(Readme, Pareto Comparison, and Support Matrix match.) Suggest using the exact on-screen labels so users can find the tabs the guide points at.

Comment thread docs/webapp_user_guide.md Outdated
Comment on lines +57 to +58
- **Agg** (`--enable-agg`) -- Aggregated serving configuration explorer.
- **Disagg PD Ratio** (`--enable-disagg-pd-ratio`) -- Disaggregated prefill/decode ratio analysis.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same here for the flag-gated tabs:

Guide says UI shows
Agg Agg Estimation
Disagg PD Ratio Disaggregation PD Ratio Analysis

(Profiling matches.)

Fixes tab names to match the actual gr.Tab() labels rendered in the UI,
as noted by Arsene12358 in review.

Signed-off-by: Nathan Scott <nathans@redhat.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@natoscott natoscott changed the title docs: add Web App section to README and CLI user guide docs: add Web App section to README and webapp user guide Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants