]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common : move up common_init() and fix Windows UTF-8 logs (#21176)
authorAdrien Gallouët <redacted>
Tue, 31 Mar 2026 10:53:41 +0000 (12:53 +0200)
committerGitHub <redacted>
Tue, 31 Mar 2026 10:53:41 +0000 (12:53 +0200)
commit41361c8599d04b5792edbcda22b168cc58212b17
tree3554c3d105596f58c3c8896da87c64e509918a4e
parent62278cedde81e0ed79d0f647999eef02daebbae5
common : move up common_init() and fix Windows UTF-8 logs (#21176)

The build info is now only for debug, so we avoid the duplicate
with `--version`.

The UTF-8 setup at the beginning is needed to avoid logging
garbage on Windows.

Signed-off-by: Adrien Gallouët <redacted>
34 files changed:
common/common.cpp
examples/batched/batched.cpp
examples/debug/debug.cpp
examples/diffusion/diffusion-cli.cpp
examples/embedding/embedding.cpp
examples/eval-callback/eval-callback.cpp
examples/idle/idle.cpp
examples/lookahead/lookahead.cpp
examples/lookup/lookup-create.cpp
examples/lookup/lookup-stats.cpp
examples/lookup/lookup.cpp
examples/parallel/parallel.cpp
examples/passkey/passkey.cpp
examples/retrieval/retrieval.cpp
examples/save-load-state/save-load-state.cpp
examples/speculative-simple/speculative-simple.cpp
examples/speculative/speculative.cpp
examples/training/finetune.cpp
tests/export-graph-ops.cpp
tests/test-state-restore-fragmented.cpp
tests/test-thread-safety.cpp
tools/batched-bench/batched-bench.cpp
tools/cli/cli.cpp
tools/completion/completion.cpp
tools/cvector-generator/cvector-generator.cpp
tools/export-lora/export-lora.cpp
tools/fit-params/fit-params.cpp
tools/imatrix/imatrix.cpp
tools/mtmd/debug/mtmd-debug.cpp
tools/mtmd/mtmd-cli.cpp
tools/perplexity/perplexity.cpp
tools/results/results.cpp
tools/server/server.cpp
tools/tts/tts.cpp