Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiling oddity - why so slow sometimes? #183

Closed
evanmiller opened this issue May 21, 2023 · 1 comment
Closed

Profiling oddity - why so slow sometimes? #183

evanmiller opened this issue May 21, 2023 · 1 comment

Comments

@evanmiller
Copy link

evanmiller commented May 21, 2023

Often when I attempt to profile the llama.cpp main process using Instruments, the process drags to a crawl with a vast majority of the time spent in ggml_graph_compute_thread:

image

I cannot reliably reproduce the condition. I was wondering if anyone had seen similar issues and whether there might be a workaround.

@evanmiller
Copy link
Author

Seems to have been resolved by recent commits; I suspect it had to do with the multi-threading in BLAS interfering with the GGML scheduling model.

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

No branches or pull requests

1 participant