Skip to content

Commit 06489af

Browse files
committed
build : fix
ggml-ci
1 parent 7a359a2 commit 06489af

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/llama-context.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66
#include "llama-model.h"
77
#include "llama-kv-cache.h"
88

9-
#include <cassert>
109
#include <cstring>
1110
#include <stdexcept>
1211
#include <cinttypes>
13-
#include <cmath>
1412

1513
//
1614
// llama_context

src/llama-kv-cache.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <algorithm>
99
#include <cassert>
10+
#include <cmath>
1011
#include <limits>
1112
#include <map>
1213
#include <stdexcept>
@@ -542,7 +543,7 @@ llm_graph_result_ptr llama_kv_cache_unified::build_graph_shift(
542543

543544
res->add_input(std::move(inp));
544545

545-
return std::move(res);
546+
return res;
546547
}
547548

548549
llm_graph_result_ptr llama_kv_cache_unified::build_graph_defrag(

0 commit comments

Comments
 (0)