Skip to content

RuntimeError when label_statistics calls pyopencl on M1 iMac #19

@jqwhite

Description

@jqwhite

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions