Kaynağa Gözat

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

Chris Peterson 1 ay önce
ebeveyn
işleme
2aa45ef9e3
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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) {