-
Hello. Big thanks for community effort! I'd like to know if my understanding is right. With Core ML & Metal, we can have 4 combination. My understanding is
But not sure when I see below post. How can I control Core ML for ANE, CPU, and GPU? |
Beta Was this translation helpful? Give feedback.
Answered by
ggerganov
Jan 4, 2024
Replies: 1 comment 2 replies
-
Yes, this is correct - there are 4 options as you listed them.
To control what hardware Core ML uses, you will need to edit the following source file: Notice that Core ML can actually be configured to use the GPU instead of the ANE. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
LVCSRer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, this is correct - there are 4 options as you listed them.
make -j
, run with-ng
make -j
, run without-ng
WHISPER_COREML=1 make -j
, run with-ng
WHISPER_COREML=1 make -j
, run without-ng
To control what hardware Core ML uses, you will need to edit the following source file:
https://github.com/ggerganov/whisper.cpp/blob/a3d0aa73d15fe2e076870cc7ba19cec7bbbab8fd/coreml/whisper-encoder.mm#L24-L30
Notice that Core ML can actually be configured to use the GPU instead of the ANE.