We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45a1b07 commit 294f424Copy full SHA for 294f424
llama.cpp
@@ -875,6 +875,10 @@ struct llama_model_quantize_params llama_model_quantize_default_params() {
875
return result;
876
}
877
878
+int llama_max_devices() {
879
+ return LLAMA_MAX_DEVICES;
880
+}
881
+
882
bool llama_mmap_supported() {
883
return llama_mmap::SUPPORTED;
884
llama.h
@@ -153,6 +153,8 @@ extern "C" {
153
int32_t n_eval;
154
};
155
156
+ LLAMA_API int llama_max_devices();
157
158
LLAMA_API struct llama_context_params llama_context_default_params();
159
LLAMA_API struct llama_model_quantize_params llama_model_quantize_default_params();
160
0 commit comments