Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError when label_statistics calls pyopencl on M1 iMac #19

Open
jqwhite opened this issue Jan 30, 2023 · 0 comments
Open

RuntimeError when label_statistics calls pyopencl on M1 iMac #19

jqwhite opened this issue Jan 30, 2023 · 0 comments

Comments

@jqwhite
Copy link

jqwhite commented Jan 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant