Support GPU
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
- 18/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
- distributed-systems, infrastructure
Hướng nghiên cứu
Start with the linked proposal at docs/proposals/gpu.md, then inspect the engine template, FIBERD_ENGINE IPC, device channel, budget enforcement, and conformance C8. The issue calls for a CUDA engine on proc, with runc as a later backend, plus seccomp and GPU runner validation. Done means one warm GPU context serves multiple fibers, device budgets and classes are enforced, eviction happens before park, and GPU conformance passes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
fiberd already has the seam a GPU plugs into. An engine template owns device state, lends each fiber a slice over IPC (FIBERD_ENGINE), and reports it with DEVICE lines. fiberd enforces each grant's device budget, sends EVICT before a park, and feeds device occupancy to the pressure ladder. A home hands the engine its devices through a device channel: a static list, a Kubernetes DRA claim or Slurm GRES. Conformance C8 pins the budget. But the only engine is refzygote's simulated one, so no real GPU has run behind the seam.
flowchart LR
H[home: device channel] --> E["engine zygote, owns the GPU context"]
E -->|"FIBERD_ENGINE IPC, a slice per fiber"| F1[fiber]
E --> F2[fiber]
E -->|"DEVICE fence bytes"| D[fiberd: budget, EVICT before a park, pressure]
What is missing.
- A real engine. A reference engine that holds a CUDA context in the zygote and serves fibers over IPC. A fiber never opens the GPU itself, because a CUDA context does not survive a fork and CRIU cannot dump one without NVIDIA's checkpoint support.
- Park with device state. Today a park evicts the fiber's slice, so a resumed fiber starts its device state over. Decide whether that is the contract, or whether to keep the slice through a park, for example with
cuda-checkpointand CRIU's CUDA plugin. - Device class. fiberd admits a grant that asks for a device class whenever the engine reports any capacity. It does not compare
device_budget.classwith the engine's. - The fiber filter. Check the engine and its fibers against the seccomp filter. GPU drivers live on
ioctlandmmapof/dev/nvidia*, which the filter allows, but nobody has run one under it. - Backends. proc and runc first. gVisor needs
nvproxyand Hyperlight has no device path, so both stay out of the first cut.
Done when. A real GPU template on proc serves many fibers from one warm context. Each fiber is held to its device budget and evicted before its park. A conformance run passes on a GPU runner, and the class a grant asks for is enforced.
Proposal can be found here.
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/fiberd
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Azure/fiberd#131 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug] vela config-template apply drops the template's metadata.descriptionCó thể đã có người làm @backendArchitect đã nhận hôm nay. Đang mởarea/cli area/config good first issue type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
kubevela/kubevela#7756 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày