mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-08-12 22:29:39 +04:00
Reduce the indexer temporary buffer size
This commit is contained in:
@@ -146,7 +146,7 @@ void ggml_cuda_op_indexer_topk(ggml_backend_cuda_context & ctx, ggml_tensor * ds
|
||||
|
||||
}
|
||||
|
||||
constexpr int64_t k_max_work_buffer_elements = 1 << 28;
|
||||
constexpr int64_t k_max_work_buffer_elements = 1 << 26;
|
||||
|
||||
int max_rows = k_max_work_buffer_elements / n_kv / n_head;
|
||||
if (max_rows < 1) max_rows = 1;
|
||||
|
||||
Reference in New Issue
Block a user