Parcourir la source

llama: Include algorithm header needed for C++23 (#18078)

Chris Peterson il y a 1 mois
Parent
commit
2aa45ef9e3
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/llama-hparams.cpp

+ 1 - 0
src/llama-hparams.cpp

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