瀏覽代碼

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

Chris Peterson 1 月之前
父節點
當前提交
2aa45ef9e3
共有 1 個文件被更改,包括 1 次插入0 次删除
  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) {