increase default max nodes from 8192 to 16384

This commit is contained in:
Zonghang Li 2025-01-04 11:08:35 +04:00
parent b712ad3044
commit b2f806a572

View file

@ -4599,7 +4599,7 @@ namespace GGUFMeta {
using llama_buf_map = std::unordered_map<uint32_t, ggml_backend_buffer_t>;
static size_t llama_model_max_nodes(const llama_model & model) {
return std::max<size_t>(8192, model.tensors_by_name.size()*5);
return std::max<size_t>(16384, model.tensors_by_name.size()*5);
}
static int get_layer_id(const ggml_tensor * tensor) {