Skip to content

ggml-spacemit : flush worker profiling buffers on graph completion - #94

Merged
alex-spacemit merged 1 commit into
spacemit-com:mtmd-backendfrom
co-seven:fix/spacemit-trace-flush
Dec 1, 2026
Merged

alex-spacemit merged 1 commit into
spacemit-com:mtmd-backendfrom
co-seven:fix/spacemit-trace-flush

Conversation

@co-seven

Copy link
Copy Markdown
Collaborator

Summary

  • Flush worker profiling buffers when graph execution completes.

@github-actions github-actions Bot added the ggml label Nov 28, 2026

Copy link
Copy Markdown
Collaborator

Flushing TLS from the worker before it returns to the pool is the right place. Please keep this PR scoped to the flush and symbol export, and drop the unrelated GGML_SPACEMIT_Q41_TRACE deletion in ime.cpp. For validation, please check profiling on/off and dynamic backend linkage, plus a short multi-worker graph whose events would otherwise never fill a TLS buffer. Verify all worker lanes appear in the final trace.

@alex-spacemit
alex-spacemit merged commit c75ef98 into spacemit-com:mtmd-backend Dec 1, 2026
5 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants