MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / show_additional_info

Function show_additional_info

tools/mtmd/debug/mtmd-debug.cpp:21–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19// NOT INTENDED FOR PUBLIC USE
20
21static void show_additional_info(int /*argc*/, char ** argv) {
22 LOG(
23 "Internal debugging tool for mtmd; See mtmd-debug.md for the pytorch equivalent code\n"
24 "Note: we repurpose some args from other examples, they will have different meaning here\n"
25 "\n"
26 "Usage: %s -m <model> --mmproj <mmproj> -p <mode> -n <size> --image <image> --audio <audio>\n"
27 "\n"
28 " -n <size>: number of pixels per edge for image (always square image), or number of samples for audio\n"
29 "\n"
30 " -p \"encode\" (debugging encode pass, default case):\n"
31 " --image can be:\n"
32 " \"white\", \"black\", \"gray\": filled 1.0f, 0.0f and 0.5f respectively\n"
33 " \"cb\": checkerboard pattern, alternate 1.0f and 0.0f\n"
34 " --audio can be:\n"
35 " \"one\", \"zero\", \"half\": filled 1.0f, 0.0f and 0.5f respectively\n"
36 " \"1010\": checkerboard pattern, alternate 1.0f and 0.0f\n"
37 "\n"
38 " -p \"preproc\" (debugging preprocessing pass):\n"
39 " --image can be:\n"
40 " \"white\", \"black\", \"gray\": filled image with respective colors\n"
41 " \"cb\": checkerboard pattern\n"
42 " --audio can be:\n"
43 " \"one\", \"zero\", \"half\": filled 1.0f, 0.0f and 0.5f respectively\n"
44 " \"440\": sine wave with 440 Hz frequency\n"
45 "\n",
46 argv[0]
47 );
48}
49
50int main(int argc, char ** argv) {
51 std::setlocale(LC_NUMERIC, "C");

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected