Skip to content

docs: clarify Trainer runner-count tuning - #576

Open
Jimmy Wang (JimmyWang0417) wants to merge 1 commit into
microsoft:v0.xfrom
JimmyWang0417:docs/issue-366-n-workers
Open

docs: clarify Trainer runner-count tuning#576
Jimmy Wang (JimmyWang0417) wants to merge 1 commit into
microsoft:v0.xfrom
JimmyWang0417:docs/issue-366-n-workers

Conversation

@JimmyWang0417

Copy link
Copy Markdown

Summary

Adds a runner-count tuning section to the parallelization tutorial for issue #366. It explains:

  • how n_runners maps to rollout concurrency and how the deprecated n_workers alias relates to it;
  • why runner count is separate from store and proxy worker counts;
  • a practical 1/2/4 sweep and the throughput, latency, rate-limit, CPU, memory, and GPU KV-cache trade-offs;
  • why n_runners=1 is useful for debugging and a baseline.

The guidance avoids claiming a universal optimum or inventing benchmark numbers.

Fixes #366

Validation

  • mkdocs build --strict
  • PRE_COMMIT_HOME=/tmp/agent-lightning-366-precommit pre-commit run --files docs/tutorials/parallelize.md --show-diff-on-failure
  • git diff --check

AI assistance was used to prepare this patch. I reviewed the changed lines and ran the checks above.

@JimmyWang0417

Copy link
Copy Markdown
Author

Jimmy Wang (Jimmy Wang (@JimmyWang0417)) please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant