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

Đang mở
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
72/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
zig
Lĩnh vực
networking, performance

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Zig
Star
76
Fork
9
Merge trung bình
21 giờ 59 phút
Pull request đã merge (30 ngày)
34

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Shoestring-dev/StrixFold

Tất cả issue của Shoestring-dev/StrixFold

Issue tương tự

Thêm issue về Networking

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.