napari-simpleitk-image-processing icon indicating copy to clipboard operation
napari-simpleitk-image-processing copied to clipboard

RuntimeError when label_statistics calls pyopencl on M1 iMac

Open jqwhite opened this issue 2 years ago • 0 comments

Notebook runs on Intel Macs and GPU on HPC.

The following should reproduce the issue:

  • Install devbio-napari into a new conda environment on an M1 Mac.
  • run a call to label_statistics, shown in the minimal_example_OpenCL_label_statistics.ipynb notebook
statistics = label_statistics(nuclei, image1_vol, 
                              intensity=True, 
                              size=True, 
                              shape=True, 
                              perimeter=False, 
                              position=False,
                              moments=False
                             )

Environment packages in tf-napari.txt.

Notebook minimal_example_OpenCL_label_statistics.ipynb run on an M1 Mac should demonstrate the issue.

minimal_example_OpenCL_label_statistics.ipynb.zip tf-napari.txt

jqwhite avatar Jan 30 '23 09:01 jqwhite