MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / llama_model_quantize_default_params

Function llama_model_quantize_default_params

llama.cpp:9735–9746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9733}
9734
9735struct llama_model_quantize_params llama_model_quantize_default_params() {
9736 struct llama_model_quantize_params result = {
9737 /*.nthread =*/ 0,
9738 /*.ftype =*/ LLAMA_FTYPE_MOSTLY_Q5_1,
9739 /*.allow_requantize =*/ false,
9740 /*.quantize_output_tensor =*/ true,
9741 /*.only_copy =*/ false,
9742 /*.pure =*/ false,
9743 };
9744
9745 return result;
9746}
9747
9748int llama_max_devices(void) {
9749 return LLAMA_MAX_DEVICES;

Callers 1

mainFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected