Lid cuda kernel#2
Conversation
|
Thanks, but llama.cpp maintainers made it very clear that I should add CPU implementation first and implementation for other backends (CUDA etc) in separate following PRs, so I'm not going to include a CUDA implementation (mine, yours or any) in my current CPU lightning indexer PR branch. Sorry, but you can try later after it's merged. Wish your luck! |
|
This is such an amazing work The master fork of llama.cpp
Your work fixes all of them |
Got it - wishing you luck on them accepting your cpu indexer pr soon then! |
|
Report: works multi-GPU (2×3090, 1M ctx) — but Built Bench (all clean exits,
Flat decode 256K→1M reproduces. No kernel issues across the layer-split boundary. The finding: ggml_backend_cuda_buffer_type_alloc_buffer: allocating 398314.19 MiB on device 0: cudaMalloc failed: out of memory (256K ctx, ub2048.) Not multi-GPU-related — reproduced with Workaround: Two multi-GPU notes for the docs: the |
|
@jonearth Indeed I see weird things happening with multiple parallel sequences (while |
Overview
Additional information
Testing: token-identical vs unfused path at short context, needle-in-haystack retrieval correct at 10/50/90% depth (256K) plus spot-checked at 512K/1M's 50% depth, TDR/driver-timeout stress-tested at true near-max depth (253,952 tokens) with no crash, measured prefill/decode across 256K/512K/1M
Performance/testing coming in comment from tester with a mixed 5 gpu setup
Performance (rtx 5090 + 9950x3d + 96gb ddr5 6200 cl30)
Requirements