-
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.
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: whisper.cpp/coreml/whisper-encoder.mm Lines 24 to 30 in a3d0aa7 Notice that Core ML can actually be configured to use the GPU instead of the ANE. |
Beta Was this translation helpful? Give feedback.
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:
whisper.cpp/coreml/whisper-encoder.mm
Lines 24 to 30 in a3d0aa7