Skip to content

fix(log): prevent system info string accumulation across calls in llama_print_system_info() - #11101

Merged
ggerganov merged 1 commit into
ggml-org:masterfrom
a-ghorbani:fix-system-info-string-accumulation
Jan 6, 2025
Merged

ggerganov merged 1 commit into
ggml-org:masterfrom
a-ghorbani:fix-system-info-string-accumulation

Conversation

@a-ghorbani

Copy link
Copy Markdown
Contributor

This PR fixes a minor issue where the static string in llama_print_system_info() would accumulate data across multiple function calls, by adding s.clear() at the start of the function.

@ggerganov
ggerganov merged commit 96a1dc2 into ggml-org:master Jan 6, 2025
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Feb 26, 2025
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
frostyautumnleaf pushed a commit to frostyautumnleaf/llama.cpp that referenced this pull request Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants