Kilosort4 is much slower when run from Spikeinterface than from Kilosort 4 GUI

Aberta
#4,768 2 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@chrishalcrow já está trabalhando nisso.

Desde 8/9/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

performance sorters

Hi all,
I have seen others mention this, but have not been able to find the solution.
When we sort a neuropixels recording with Kilosort 4 using run_sorter (default settings, but with delete_recording_dat = False) processing takes about 6 hours, but when we use the Kilosort 4 GUI (same settings) processing takes only about 2 hours. Why is this?

I believe that the GPU is used for processing: we had a faulty installation previously and CPU-based sorting takes about 4 days with the spikeinterface-based scripts. The difference in duration is striking nonetheless.
Is there anything I need to change in our functions (see attached) to make them perform 'normally' (like the GUI)?

I've tested if saving the preprocessed data (tem_wh.dat) helps speed things up, but this doesn't seem to make a difference.

Our system is:
HP Elite Tower 800 with Windows 11 pro
96GB RAM
GPU: Nvidia RTX 4000 Quadro
We generally run the our scripts from within an anaconda prompt.

clusterKSort_NPX.py

Linguagem predominante
Python
Estrelas
883
Forks
291
Merge médio
3d 6h
PRs com merge (30d)
39

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de SpikeInterface/spikeinterface

Todas as issues de SpikeInterface/spikeinterface

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.