File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
backends/apple/coreml/runtime/delegate Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -447,15 +447,13 @@ - (nullable NSURL *)compiledModelURLWithIdentifier:(NSString *)identifier
447447 // Handle based on the type of the model asset.
448448 switch (modelAssetType.value ()) {
449449 case ModelAssetType::CompiledModel: {
450- // The model is already compiled; no further action needed.
451- // Return the existing model URL.
450+ // Model is already compiled.
452451 ETCoreMLLogInfo (" The model in the pte file is pre-compiled. Skipping compilation." );
453452 return modelURL;
454453 }
455454
456455 case ModelAssetType::Model: {
457- // The model is not compiled yet.
458- // Compile the model at the specified URL with a maximum wait time of 5 minutes.
456+ // Compile the model.
459457 ETCoreMLLogInfo (" The model in the pte file is not pre-compiled. Compiling with a 5 min timeout." );
460458 NSURL *compiledModelURL = [ETCoreMLModelCompiler compileModelAtURL: modelURL
461459 maxWaitTimeInSeconds: (5 * 60 )
You can’t perform that action at this time.
0 commit comments