Skip to content

docs: fix --tp to --tp-size in specbundle SGLang flags - #804

Open
imitater-dou wants to merge 1 commit into
sgl-project:mainfrom
imitater-dou:docs/specbundle-tp-size
Open

docs: fix --tp to --tp-size in specbundle SGLang flags#804
imitater-dou wants to merge 1 commit into
sgl-project:mainfrom
imitater-dou:docs/specbundle-tp-size

Conversation

@imitater-dou

Copy link
Copy Markdown
Contributor

Summary

In docs/community_resources/specbundle.md Usage prose, replace the stale SGLang flag --tp with --tp-size. Leave --ep and --mem-fraction-static unchanged.

Repro

Upstream docs currently say:

Please add --tp, --ep and --mem-fraction-static arguments when you encounter memory issues.

Against current SGLang ServerArgs:

  • tp_size → CLI --tp-size (aliases: --tensor-parallel-size). There is no bare --tp.
  • ep_size--ep-size with alias --ep (kept as written).
  • mem_fraction_static--mem-fraction-static (kept as written).
python3 -c "from sglang.srt.server_args import ServerArgs; import dataclasses; f=[x for x in dataclasses.fields(ServerArgs) if x.name=='tp_size'][0]; print(f.name, f.type)"
# or:
python3 -m sglang.launch_server -h | grep -E -- '--tp-size|--tp[^-]|--ep |--mem-fraction-static'

--tp alone is rejected / not registered; --tp-size is the correct flag.

Test plan

Signed-off-by: ADou <ikun3.1415927@gmail.com>
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