Verify-width compute-buffer overflow aborts the server instead of degrading
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
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- cpp
- Lĩnh vực
- backend, machine-learning
Hướng nghiên cứu
The abort is reported at ggml-cuda.cu:109 during deep prefill with --spec-draft-n-max at 12 (verify width 13), while widths up to 8 succeed. Start by finding where the verify-width compute buffer is sized and where the --spec-draft-n-max value is parsed. Done would mean agreeing on whether the fix is a load-time VRAM check or a clamp, since the issue asks that question and no maintainer has answered it.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Filed by an automated benchmark/validation agent working on a downstream fork (disclosed for transparency).
While sweeping --spec-draft-n-max at deep prompt context (~116k tokens, D=256, GQA 6, cc 8.6, KVarN KV quant), draft-n values up to 8 (n_q=9 at verify) serve correctly, but draft-n 12 (n_q=13) hard-aborts partway through the deep prefill:
CUDA error: out of memory
ggml-cuda.cu:109
Peak VRAM at the abort was ~24.1 GB (card ceiling ~23.6 GB for this arm), so the failure is a real compute-buffer sizing overflow at high verify width, not a bug per se — but the failure mode is a mid-request server crash rather than a graceful degradation (e.g. clamping verify width down, or refusing the request with a clear error before allocating).
Given that other parts of KVarN already have fail_if_unsupported-style semantics elsewhere, would a soft-fail / clamp path at load time or first-request time (similar to how an infeasible --spec-draft-n-max could be validated against available VRAM before the first token) be in scope? Happy to share the sweep data (draft-n vs. peak VRAM vs. throughput) if useful for reproducing.
- Ngôn ngữ chính
- C++
- Star
- 1.2k
- Fork
- 80
- Merge trung bình
- 4 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 2
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 Anbeeld/beellama.cpp
-
[BUG] KVarN assertion failure in build_inp_mem_hybrid_iswa() due to uninitialized self_kvarn_rotĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Anbeeld/beellama.cpp#205 ·
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 58/100
Anbeeld/beellama.cpp#206 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
Anbeeld/beellama.cpp#204 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Anbeeld/beellama.cpp#203 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Anbeeld/beellama.cpp#202 · 1 bình luận ·
Tất cả issue của Anbeeld/beellama.cpp
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
CachyOS/packageinstaller#144 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
TomerAberbach/profiler-md#951 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Default key routing (JavaStringHash) picks a different partition than the Java client for about half of keysCó thể đã có người làm @0z5a đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
apache/pulsar-client-go#1575 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
pocoproject/poco#5764 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug cpp-core-guidelines low-priority
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
NatronGitHub/openfx-supportext#164 ·
Maintainer thường phản hồi trong vòng 1 ngày