File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
backends/apple/coreml/compiler Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ def preprocess_model(
365365
366366 match model_type :
367367 case CoreMLBackend .MODEL_TYPE .COMPILED_MODEL :
368- shutil .rmtree (str (model_path .resolve ()), ignore_errors = True )
368+ shutil .rmtree (str (model_path .resolve ()))
369369 model_path = model_dir_path / MODEL_PATHS .COMPILED_MODEL .value
370370 compiled_model_path = mlmodel .get_compiled_model_path ()
371371 shutil .move (
@@ -396,7 +396,7 @@ def preprocess_model(
396396 for key , value in model_debug_info .debugSymbolToHandles .items ()
397397 }
398398
399- shutil .rmtree (str (dir_path .resolve ()), ignore_errors = True )
399+ shutil .rmtree (str (dir_path .resolve ()))
400400 return PreprocessResult (
401401 processed_bytes = processed_bytes ,
402402 debug_handle_map = debug_handle_map ,
You can’t perform that action at this time.
0 commit comments