Stub transport: measure how much of each token the link costs

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
zig

調査の方向性

Read zig/src/families/dsv41/tcp_proxy.zig for the proxy exchange and done flags, then inspect zig/src/families/dsv41/tcp_coll.zig around line 525 to see how TF_COLL_KIND selects a transport. Use tools/dsv41-hip/COLLECTIVES-DESIGN.md to understand the current exchange, then run serve-rank0.sh bench for code and prose at 400 tokens, with drafts off and on, comparing stub and TCP proxy across three runs each. Done means the patch is off by default and a short report gives time per token for all four cases.

索引モデルが issue の本文から書いたものです。

説明

enhancement good first issue help wanted

A small, self-contained piece of work, and a good first contribution.

What: a stub collective that marks every exchange done without sending anything (TF_COLL_KIND=stub, or one flag in tcp_proxy.zig). The output is wrong, but the timing shows what a token costs with the link taken out.

Then measure: serve-rank0.sh bench (code and prose, 400 tokens, 3 runs each) with drafts off and drafts on, stub against the TCP proxy. Four numbers per case.

Done when: a short report with the time per token for each of the four cases, plus the patch, off by default.

Why: it tells us how much a faster link (RDMA, or anything else) could ever buy, before anyone writes verbs code. It's step SFR-0 of outsider's RDMA design (#2).

Where to look:

  • zig/src/families/dsv41/tcp_proxy.zig: the proxy thread, its exchange and the done flags
  • zig/src/families/dsv41/tcp_coll.zig (around line 525): where TF_COLL_KIND picks the transport
  • tools/dsv41-hip/COLLECTIVES-DESIGN.md: how the two boxes exchange data today

Questions are welcome here or in #contributors on the Discord.

主要言語
Zig
スター
76
フォーク
9
平均マージ
21時間 59分
マージ済み PR(30日)
34

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Shoestring-dev/StrixFold のほかの issue

Shoestring-dev/StrixFold の issue をすべて見る

似ている issue

Networking の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。