Feature Request: KVarN support for RPC backend
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
- 12/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- cpp
- Lĩnh vực
- distributed-systems
Hướng nghiên cứu
The failure comes from the check in llama_init_from_model that rejects kvarn_k6v5_g128 because the backend lacks KVarN store and materialization support; start there and find where the RPC backend is set up. Reproducing needs an RPC server and client with a KVarN cache type configured. Done would mean the context is created over RPC, but the scope is undefined, so confirm the approach with maintainers before writing code.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Prerequisites
- I am running the latest code. Mention the version if possible as well.
- I carefully followed the README.md.
- I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
- I reviewed the Discussions, and have a new and useful enhancement to share.
Feature Description
Please consider adding support for KVarN KV cache quantization to the RPC backend.
Motivation
I'm using commit a749684beaae069d38ef59a1a0be09c062d94a73, v0.4.4 branch. Both for RPC server and client.
I would like to offload some layers to another PC via RPC.
on llama-server side, I do:
version = 1
[*]
flash-attn = on
cache-type-k = q8_0
cache-type-v = q8_0
no-warmup = true
parallel = 4
cont-batching = true
reasoning-budget-message = ... thinking budget exceeded, we will answer now.
jinja = true
kvu = true
backend-sampling = false
load-mode = mlock
[Qwen3.8-27B]
model = F:\models\Qwen3.8-27B-APEX-I-Mini.gguf
mmproj = F:\models\mmproj-Qwen3.8-27B-F16.gguf
rpc = qwen.lan:50052
mmdev = Vulkan1
ctx-size = 128000
ngl = all
t = 8
load-mode = none
ot = blk\.([0-7]|10|13|16|19|22|25|28|31|34|37)\.ffn_.*=RPC0[qwen.lan:50052]
threads = 16
temp = 0.6
dynatemp-range = 0.2
dynatemp-exp = 1.0
top-p = 0.95
top-k = 20
min-p = 0.0
image-min-tokens = 1024
ubatch-size = 1024
chat-template-file = F:\models\qwen3.8-chat_template.jinja
reasoning-preserve = true
cache-type-k = kvarn6
cache-type-v = kvarn5
spec-type = ngram-mod
spec-ngram-mod-n-match = 32
spec-ngram-mod-n-min = 16
spec-ngram-mod-n-max = 64
and on the rpc-server:
./build/bin/ggml-rpc-server -H 0.0.0.0 -p 50052
however, it does not work:
[63128] 0.31.190.039 E llama_init_from_model: cannot enable kvarn_k6v5_g128: KVarN requires a backend with KVarN store and materialization support
[63128] 0.31.190.043 E cmn common_init_: failed to create context with model 'F:\models\Qwen3.8-27B-APEX-I-Mini.gguf'
It would be great to add RPC backend support for KVarN.
Possible Implementation
No response
- 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