]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common : refactor '-o' option (#12278)
authormarcoStocchi <redacted>
Mon, 10 Mar 2025 11:34:13 +0000 (12:34 +0100)
committerGitHub <redacted>
Mon, 10 Mar 2025 11:34:13 +0000 (13:34 +0200)
commit6ef79a67caf1159b0150b44ee80888c7ec98b83f
treec1cfeae07b6ccb9dc40f1f29731cc9d30182ec79
parent4e39a3c332f84b890e91353ec448502cb8373a6f
common : refactor '-o' option (#12278)

As discussed in PR 'llama-tts : add -o option' (#12042):

* common_params : 'out_file' string is the only output file name parameter left in common_params. It's intended to be used in all example programs implementing an '-o' option.

* cvector-generator, export-lora, imatrix : default output filenames moved from 'common_params' to the 'main()' of each example program.
common/arg.cpp
common/common.h
examples/cvector-generator/cvector-generator.cpp
examples/export-lora/export-lora.cpp
examples/imatrix/imatrix.cpp