Skip to content

docs: document multi-GPU / multi-node tensor parallelism across all markdown docs - #96

Merged
zhongkaifu merged 2 commits into
mainfrom
claude/docs-distributed-training-mxgj18
Jul 27, 2026
Merged

docs: document multi-GPU / multi-node tensor parallelism across all markdown docs#96
zhongkaifu merged 2 commits into
mainfrom
claude/docs-distributed-training-mxgj18

Conversation

@zhongkaifu

Copy link
Copy Markdown
Owner

The Chinese docs had no tensor-parallelism coverage at all, and both
languages were missing the cluster tuning/diagnostics knobs that ship in
TensorSharp.Distributed and the CUDA backend.

  • README.md: rewrite the multi-GPU quick start (fix typos, add the
    multi-node peer-list example, link the full reference); note the
    hierarchical AllReduce and host-staging fallback in Current Status.
  • README_zh-cn.md: add the TP highlight bullet, the multi-GPU/multi-node
    quick start, and the Current Status row.
  • FEATURES.md / FEATURES_zh-cn.md: describe the P2P self-test and the
    host-staging fallback; port the whole TP chapter to Chinese.
  • USAGE.md / USAGE_zh-cn.md: new "Cluster tuning & diagnostics"
    subsection; port the full TP + Redis shared-state chapter, the --tp*
    CLI flags, and the TENSORSHARP_TP_* env vars to Chinese.
  • docs/env_var_feature_matrix*.md: add TENSORSHARP_TP_DISABLE_P2P,
    _HOST_ALLREDUCE, _CONNECT_TIMEOUT_SECONDS and _RECV_TIMEOUT_SECONDS;
    add the missing TP and Redis tables to the Chinese matrix.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Umnq2SKaLVk2uytwTezvh2

claude added 2 commits July 27, 2026 01:55
…arkdown docs

The Chinese docs had no tensor-parallelism coverage at all, and both
languages were missing the cluster tuning/diagnostics knobs that ship in
TensorSharp.Distributed and the CUDA backend.

- README.md: rewrite the multi-GPU quick start (fix typos, add the
  multi-node peer-list example, link the full reference); note the
  hierarchical AllReduce and host-staging fallback in Current Status.
- README_zh-cn.md: add the TP highlight bullet, the multi-GPU/multi-node
  quick start, and the Current Status row.
- FEATURES.md / FEATURES_zh-cn.md: describe the P2P self-test and the
  host-staging fallback; port the whole TP chapter to Chinese.
- USAGE.md / USAGE_zh-cn.md: new "Cluster tuning & diagnostics"
  subsection; port the full TP + Redis shared-state chapter, the --tp*
  CLI flags, and the TENSORSHARP_TP_* env vars to Chinese.
- docs/env_var_feature_matrix*.md: add TENSORSHARP_TP_DISABLE_P2P,
  _HOST_ALLREDUCE, _CONNECT_TIMEOUT_SECONDS and _RECV_TIMEOUT_SECONDS;
  add the missing TP and Redis tables to the Chinese matrix.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Umnq2SKaLVk2uytwTezvh2
…lism site-wide

The wiki had zero coverage of tensor parallelism in either language, even
though it is a headline feature in the README.

- New distributed.html / distributed_zh-cn.html: when to use TP, how the
  column/row-parallel split and AllReduce work, local --tp N, multi-node
  --tp-node-id / --tp-peers, the per-architecture strategy table,
  requirements and constraints, the P2P self-test plus the
  TENSORSHARP_TP_* tuning switches, Redis-backed shared state, and a
  troubleshooting table.
- Registered the page in the Deep dive nav group and wired it into the
  advanced -> distributed -> benchmarks footer chain.
- cli / api-reference: --tp, --tp-node-id, --tp-peers and the
  TENSORSHARP_TP_* / TS_*_REDIS_* environment variables.
- server: TENSORSHARP_TP_DEGREE (the server's only way to enable TP) and
  the multi-node + Redis variables.
- backends: the direct cuda backend is the only one that shards a model.
- features / overview / index / glossary: highlight card, status row,
  home-page entry points, and TP / AllReduce / node-rank definitions.
- Both search indexes gained nine entries for the new page.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Umnq2SKaLVk2uytwTezvh2
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@zhongkaifu
zhongkaifu merged commit 237dcc7 into main Jul 27, 2026
1 check failed
@zhongkaifu
zhongkaifu deleted the claude/docs-distributed-training-mxgj18 branch July 27, 2026 02:13
@github-actions

Copy link
Copy Markdown

Engine comparison — TensorSharp vs llama.cpp (PR smoke)

No report artifact was produced — the benchmark failed before generating results (see the workflow logs).

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.

2 participants