Fork N branches from a running session

Đang mở
#64 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, kubernetes, linux
Lĩnh vực
backend, infrastructure

Hướng nghiên cứu

Start by reading the fiber creation and session snapshot code to find how templates and parked-session deltas currently start fibers. Work out how a running fiber can branch at step k while sharing memory copy-on-write, then investigate how the engine handles GPU session slices. Compare time and memory for N branches against starting N sandboxes and replaying k steps; done means the branching behavior and comparison are addressed, including the GPU slice question.

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

Mô tả

enhancement

An agent at step k wants to branch into N copies, try N paths and keep the best one.

Today a fiber starts only from its template or from a parked session's delta. This forks from a running fiber, so each branch starts at step k and shares the session's memory copy on write.

Measure time and memory for N branches, against starting N sandboxes and replaying k steps.

Open question. A GPU session's slice lives in the engine, so a branch needs the engine to copy the slice, or the branches share it read-only.

Ngôn ngữ chính
Go
Star
5
Fork
5
Merge trung bình
15 giờ 27 phút
Pull request đã merge (30 ngày)
41

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 Azure/fiberd

Tất cả issue của Azure/fiberd

Issue tương tự

Thêm issue về Go

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.