Kilosort icon indicating copy to clipboard operation
Kilosort copied to clipboard

BUG: Apple sillicon problems

Open LG-007 opened this issue 7 months ago • 1 comments

Describe the issue:

I'm trying to use kilosort4 on my mac with an m4 chip. First I used cpu as the device and applied it to the example data. According to the messages, it appears that the detection works but the clustering fails as the progress bar is not moving at all. Then I tried the MPS version adapted by michaelbarkasi, the code seemed to work but still report errors. It stoped everytime the detection progress bar get to around 5-9 % only. The error message is shown in the graph below.

Image

Another reported error is

Image

Can anyone help me with this? Thanks a million!

Reproduce the bug:


Error message:


Version information:

kilosort4. mac m4 chip. System: Sequoia 15.5 .

LG-007 avatar Jun 03 '25 09:06 LG-007

We don't support Apple's Metal chips. Our recommendation is to use a different machine with an Nvidia GPU. If you're determined to use the M4 chip, you'll have to figure out any necessary modifications on your own. Maybe try reaching out to the PR author directly to see if they got it working.

jacobpennington avatar Jun 10 '25 18:06 jacobpennington