ggml-org/llama.cpp

Question: How to generate an MPS gputrace

Open

#6,506 opened on Apr 5, 2024

View on GitHub
 (11 comments) (0 reactions) (0 assignees)C++ (18,202 forks)batch import
help wantedhigh priority

Repository metrics

Stars
 (110,169 stars)
PR merge metrics
 (Avg merge 6d 8h) (389 merged PRs in 30d)

Description

We're doing some work over at https://github.com/huggingface/candle to improve our Metal backend, I've been collecting various gputraces for the different frameworks and was wondering if there was a documented/known way to generate one for llama.cpp during model inference.

Specifically talking about this type of debugger output: https://developer.apple.com/documentation/xcode/metal-debugger

Contributor guide