Hello, I have been trying to run cellpose-SAM on a system with an M4 chip running MacOS (Tahoe 26.3.1). It seems to be running relatively fine however when performing segmentation using the command:
steinbock segment cellpose
It returns the following warnings:
[W410 11:07:26.635384860 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:09:37.106727419 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:09:37.497785045 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:09:38.363447545 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:09:38.448653753 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:11:53.141630230 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:11:53.549650397 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:11:55.134807647 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
/opt/steinbock-venv/lib/python3.10/site-packages/cellpose/dynamics.py:524: UserWarning: Sparse invariant checks are implicitly disabled. Memory errors (e.g. SEGFAULT) will occur when operating on a sparse tensor which violates the invariants, but checks incur performance overhead. To silence this warning, explicitly opt in or out. See torch.sparse.check_sparse_tensor_invariants.__doc__ for guidance. (Triggered internally at /pytorch/aten/src/ATen/Context.cpp:760.)
coo = torch.sparse_coo_tensor(pt, torch.ones(pt.shape[1], device=pt.device, dtype=torch.int)
This message repeats for each image (.tiff) being processed.
steinbock version: steinbock:0.16.5-cellpose
Hello, I have been trying to run cellpose-SAM on a system with an M4 chip running MacOS (Tahoe 26.3.1). It seems to be running relatively fine however when performing segmentation using the command:
steinbock segment cellposeIt returns the following warnings:
[W410 11:07:26.635384860 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:09:37.106727419 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:09:37.497785045 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:09:38.363447545 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:09:38.448653753 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:11:53.141630230 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:11:53.549650397 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
[W410 11:11:55.134807647 NNPACK.cpp:56] Could not initialize NNPACK! Reason: Unsupported hardware.
/opt/steinbock-venv/lib/python3.10/site-packages/cellpose/dynamics.py:524: UserWarning: Sparse invariant checks are implicitly disabled. Memory errors (e.g. SEGFAULT) will occur when operating on a sparse tensor which violates the invariants, but checks incur performance overhead. To silence this warning, explicitly opt in or out. See
torch.sparse.check_sparse_tensor_invariants.__doc__for guidance. (Triggered internally at /pytorch/aten/src/ATen/Context.cpp:760.)coo = torch.sparse_coo_tensor(pt, torch.ones(pt.shape[1], device=pt.device, dtype=torch.int)
This message repeats for each image (.tiff) being processed.
steinbock version: steinbock:0.16.5-cellpose