COREMLTOOLs/NNPACK Python Issue #84045
Labels
module: nnpack
Related to our NNPack integration
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Describe the bug
Hi All,
I am trying to conduct the export.py operations via coreML and I'm sure that this is not the way the process should be initialised.
The export process should allow me to use these following on the MBP M1 Silicon MAX 32 cores by follow @glenn-jocher's instructions.
WHAT I DID:
install all of the dependences as per @glenn-jocher requirements.py and pip3 install coremltools
THEN:
install additional upgraded packages per the error notification for such.
LASTLY INITIALISE Command:
I keep getting the error "python quit unexpectedly" followed by the output below
Versions
symbadian$ python3 export.py --weights yolov5s.pt --include coreml --imgs 640
export: data=data/coco128.yaml, weights=['yolov5s.pt'], imgsz=[640], batch_size=1, device=cpu, half=False, inplace=False, train=False, keras=False, optimize=False, int8=False, dynamic=False, simplify=False, opset=12, verbose=False, workspace=4, nms=False, agnostic_nms=False, topk_per_class=100, topk_all=100, iou_thres=0.45, conf_thres=0.25, include=['coreml']
YOLOv5 馃殌 v6.2-51-ge6f54c5 Python-3.10.6 torch-1.12.1 CPU
Fusing layers...
[W NNPACK.cpp:51] Could not initialize NNPACK! Reason: Unsupported hardware.
YOLOv5s summary: 213 layers, 7225885 parameters, 0 gradients
PyTorch: starting from yolov5s.pt with output shape (1, 25200, 85) (14.1 MB)
Illegal instruction: 4
The text was updated successfully, but these errors were encountered: