Skip to content

Combination of Core ML and Metal #1722

Answered by ggerganov
LVCSRer asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this is correct - there are 4 options as you listed them.

  • No Core ML / No Metal: build with make -j, run with -ng
  • No Core ML / Use Metal: build with make -j, run without -ng
  • Use Core ML / No Metal: build with WHISPER_COREML=1 make -j, run with -ng
  • Use Core ML / Use Metal: build with WHISPER_COREML=1 make -j, run without -ng

To control what hardware Core ML uses, you will need to edit the following source file:

// select which device to run the Core ML model on
MLModelConfiguration *config = [[MLModelConfiguration alloc] init];
config.computeUnits = MLComputeUnitsCPUAndGPU;
//config.compu…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@LVCSRer
Comment options

@LVCSRer
Comment options

Answer selected by LVCSRer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants