We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08c8ed6 commit 32b87e0Copy full SHA for 32b87e0
backends/apple/coreml/runtime/delegate/ETCoreMLModelManager.mm
@@ -436,11 +436,13 @@ - (nullable NSURL *)compiledModelURLWithIdentifier:(NSString *)identifier
436
switch (modelAssetType.value()) {
437
case ModelAssetType::CompiledModel: {
438
// Model is already compiled.
439
+ ETCoreMLLogInfo("The model in the pte file is pre-compiled. Skipping compilation.");
440
return modelURL;
441
}
442
443
case ModelAssetType::Model: {
444
// Compile the model.
445
+ ETCoreMLLogInfo("The model in the pte file is not pre-compiled. Compiling with a 5 min timeout.");
446
NSURL *compiledModelURL = [ETCoreMLModelCompiler compileModelAtURL:modelURL
447
maxWaitTimeInSeconds:(5 * 60)
448
error:error];
0 commit comments