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

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
72/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
zig

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Zig
Stelle
76
Fork
9
Merge medio
21h 59m
PR unite (30g)
34

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Shoestring-dev/StrixFold

Tutte le issue di Shoestring-dev/StrixFold

Issue simili

Altre issue su Networking

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.