MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / llama_model_quantize

Function llama_model_quantize

subprojects/llama.cpp/src/llama-quant.cpp:1057–1069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1055}
1056
1057uint32_t llama_model_quantize(
1058 const char * fname_inp,
1059 const char * fname_out,
1060 const llama_model_quantize_params * params) {
1061 try {
1062 llama_model_quantize_impl(fname_inp, fname_out, params);
1063 } catch (const std::exception & err) {
1064 LLAMA_LOG_ERROR("%s: failed to quantize: %s\n", __func__, err.what());
1065 return 1;
1066 }
1067
1068 return 0;
1069}

Callers 1

mainFunction · 0.85

Calls 2

whatMethod · 0.45

Tested by

no test coverage detected