Skip to content

Commit c8bc6e4

Browse files
committed
llama : increased max_nodes as large MoE models use massive amounts of nodes during warmup
1 parent 83a473a commit c8bc6e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama-model.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3552,7 +3552,7 @@ size_t llama_model::size() const {
35523552
}
35533553

35543554
size_t llama_model::max_nodes() const {
3555-
return std::max<size_t>(8192, tensors_by_name.size()*5);
3555+
return std::max<size_t>(65536, tensors_by_name.size()*5);
35563556
}
35573557

35583558
size_t llama_model::n_devices() const {

0 commit comments

Comments
 (0)