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

Abierto
#1 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
72/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
zig

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Zig
Estrellas
76
Forks
9
Merge medio
21 h 59 min
PR fusionados (30 d)
34

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Shoestring-dev/StrixFold

Todos los issues de Shoestring-dev/StrixFold

Issues similares

Más issues de Networking

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.