Skip to content

fix: avoid passing ggml logs as format strings - #2002

Open
wbruna wants to merge 2 commits into
leejet:masterfrom
wbruna:sd_fix_ggml_log_fmt
Open

wbruna wants to merge 2 commits into
leejet:masterfrom
wbruna:sd_fix_ggml_log_fmt

Conversation

@wbruna

@wbruna wbruna commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Summary

The LOG_* macros deliver their arguments to log_printf, so the ggml logs were interpreted as format strings.

Additional Information

I intend to write a follow-up to avoid a few remaining issues (e.g. I'm not sure if ggml log calls are always serialized).

Checklist

Also mark ggml logging as 'ggml' instead of 'util.cpp:NNN'.
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.

1 participant