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

Offen
#4,768 2 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@chrishalcrow arbeitet bereits daran.

Seit 08.9.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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

Vorherrschende Sprache
Python
Sterne
883
Forks
291
Ø Merge
3 T. 6 Std.
Gemergte PRs (30 T.)
39

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus SpikeInterface/spikeinterface

Alle Issues in SpikeInterface/spikeinterface

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.