pytorch/torch/csrc/jit/backends
Hoa Dinh 687fe64667 Fix crash in -[PTMCoreMLCompiler _compileModel:atPath:] (#147809)
Summary:
We could hit one of those exceptions:
https://github.com/apple/coremltools/blob/main/modelpackage/src/ModelPackage.cpp#L205-L225

And it would make this code path crash.

Test Plan: build.

Differential Revision: D70122378

Pull Request resolved: https://github.com/pytorch/pytorch/pull/147809
Approved by: https://github.com/mcr229
2025-02-25 20:56:16 +00:00
..
coreml Fix crash in -[PTMCoreMLCompiler _compileModel:atPath:] (#147809) 2025-02-25 20:56:16 +00:00
nnapi
xnnpack
backend_debug_handler.cpp
backend_debug_handler.h
backend_debug_info.cpp
backend_debug_info.h
backend_detail.cpp
backend_detail.h
backend_exception.h
backend_init.cpp
backend_init.h
backend_interface.cpp
backend_interface.h
backend_preprocess.h
backend_resolver.cpp
backend_resolver.h
backend.h