mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2549] [CLOSED] docs: SECOND_GPU.md names the engine options that exist, not setup options that never did #4114
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2549
Author: @qiuzan2001
Created: 10/15/2026
Status: ❌ Closed
Base:
main← Head:chief-docs/second-gpu-flags📝 Commits (1)
ee1040edocs: SECOND_GPU.md names the engine options that exist, not setup options that never did📊 Changes
2 files changed (+19 additions, -24 deletions)
View changed files
📝
docs/MULTI_GPU.md(+1 -1)📝
docs/SECOND_GPU.md(+18 -23)📄 Description
What it changes.
docs/SECOND_GPU.mdtold the user to runand to add
--gpu-placement layer|stripeto that command. Setup has no such options: they came with the original patch (109a209e), which put only the engine's options in the tree (git log -S gpu1-experts -- setup.py setup.sh START-HERE.batis empty). Both commands stop withThe page now says what works, from the code:
--expert-cache-device1..3 N|autoand--expert-cache-remote-placement stripe|layer(defaultstripe) in the run config's"args"(src/program/generate.cppparses them;serve/server.pyengine_argspasses"args"on), and start Strata again;"gpu"as the one card it runs on, andchild_envthen setsCUDA_VISIBLE_DEVICESto that card alone: the helper cards go in the config's"env"("CUDA_VISIBLE_DEVICES": "0,1,2,3", applied after"gpu", astools/test_calibrate.pydoes). A"gpu"list of several cards is a layer split, every card runs a stage, and the engine stops ("--expert-cache-remote with a layer split needs a GPU that runs no stage");--setuprun leaves hand-added"args"out (carry_over/args_dropped) and keeps"env".docs/MULTI_GPU.mdnamed the same caches--expert-cache-remote, which is no option either; it now says--expert-cache-device1..3.What it leaves alone. The rest of both pages, including every measurement. No code changes.
How it was checked. Each statement against the code lines above, and the setup error by running
python setup.py --check --gpu1-experts 5000(withHOMEpointed at an empty folder). Links resolve (INSTALL.md#where-things-are-stored,MULTI_GPU.md). I have one GPU, so I did not run a helper-cache config; a sub-agent reviewer checked every claim against the source.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.