-
Notifications
You must be signed in to change notification settings - Fork 931
Core ML segfault when running pybindings #12408
Copy link
Copy link
Closed
Labels
module: coremlIssues related to Apple's Core ML delegation and code under backends/apple/coreml/Issues related to Apple's Core ML delegation and code under backends/apple/coreml/module: runtimeIssues related to the core runtime and code under runtime/Issues related to the core runtime and code under runtime/
Metadata
Metadata
Assignees
Labels
module: coremlIssues related to Apple's Core ML delegation and code under backends/apple/coreml/Issues related to Apple's Core ML delegation and code under backends/apple/coreml/module: runtimeIssues related to the core runtime and code under runtime/Issues related to the core runtime and code under runtime/
Type
Projects
Status
Done
Status
Done
🐛 Describe the bug
Running a CoreML-delegated model using pybindings crashes with a segfault. This started within the last few weeks, and seems to be consistent. I can't reproduce the fault on XNNPACK or Vulkan, though from the initial bisect (see below), this might just be due to chance.
Repro:
Note that it repros when running the script standalone, but not from a notebook. From initial investigation, it appears to be faulting on cleanup.
From @metascroy:
"I bisected the error to #11391."
Versions
M1 Pro, reproduced on cd90531. coremltools version 8.3.0.
cc @larryliu0820 @JacobSzwejbka @lucylq @kimishpatel @YifanShenSZ @cymbalrush @metascroy