]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
llama: Include algorithm header needed for C++23 (#18078)
authorChris Peterson <redacted>
Tue, 16 Dec 2025 07:37:55 +0000 (23:37 -0800)
committerGitHub <redacted>
Tue, 16 Dec 2025 07:37:55 +0000 (09:37 +0200)
src/llama-hparams.cpp

index 96c9598c24c39fc9f82459917c01561cb64e7470..83d6d6ee3c829f2de55e6fbd67a8949afecb4fe5 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "ggml.h"
 
+#include <algorithm>
 #include <cassert>
 
 void llama_hparams::set_swa_pattern(uint32_t n_pattern, bool dense_first) {