]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
lora: count lora nodes in graph_max_nodes (#18469)
authorXuan-Son Nguyen <redacted>
Tue, 30 Dec 2025 14:53:12 +0000 (15:53 +0100)
committerGitHub <redacted>
Tue, 30 Dec 2025 14:53:12 +0000 (15:53 +0100)
commitcd78e57c3aeae7b56c5843f94e0e0b83a3d8ca81
tree879a67569f6be307a5eefa511587de102fcf1ac1
parentc32fa21db8a631e9127e55f69a3d2bdaa9f71824
lora: count lora nodes in graph_max_nodes (#18469)

* lora: count lora nodes in graph_max_nodes

* 3 nodes per weight

* 4 nodes

* keep track n_lora_nodes from llama_model

* fix assert

* rm redundant header

* common: load adapters before context creation

* use 6 nodes
common/common.cpp
include/llama.h
src/llama-adapter.cpp
src/llama-adapter.h
src/llama-context.cpp
src/llama-model.h