]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Control vector loading fixes (#8137)
authorjukofyork <redacted>
Thu, 27 Jun 2024 14:48:07 +0000 (15:48 +0100)
committerGitHub <redacted>
Thu, 27 Jun 2024 14:48:07 +0000 (16:48 +0200)
commit97877eb10bd8e7f8023420b5b5300bcbdadd62dc
tree3586e6074ec6feaec654dc262ed3b6b93453cb5f
parent387952651a8fc493f8c85ea4c9774bd4a5694f87
Control vector loading fixes (#8137)

* Fixed leak in llama_control_vector_load_one() and allow llama_control_vector_load() to grow

* refactored `llama_control_vector_load_one()`

* allow multiple directions for same layer in same file

* llama_control_vector_load_one() and llama_control_vector_load() now break on error

* removed unnecessary ggml_free() call
common/common.cpp