Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kilosort2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# usually the tag would be the version of the sorter
# but in this case since 2 is already in the name, maybe the tag should be 0.1.x
docker build -t spikeinterface/kilosort2:0.1.0 .
docker build -t spikeinterface/kilosort2-base:0.1.0 .
2 changes: 1 addition & 1 deletion kilosort2/push.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

docker push spikeinterface/kilosort2:0.1.0
docker push spikeinterface/kilosort2-base:0.1.0
27 changes: 27 additions & 0 deletions kilosort3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM magland/matlab_for_kilosort:0.1.0

#########################################
### Python
RUN apt update && apt -y install git wget build-essential
RUN apt install -y python3 python3-pip
RUN rm -f /usr/bin/python && ln -s python3 /usr/bin/python
RUN rm -f /usr/bin/pip && ln -s pip3 /usr/bin/pip
RUN DEBIAN_FRONTEND=noninteractive apt install -y python3-tk

RUN pip install numpy

# gcc-8 (cuda mex doesn't seem to work with gcc >8)
RUN apt-get install -y gcc-8 g++-8 && ln -sf /usr/bin/gcc-8 /usr/bin/gcc && ln -sf /usr/bin/g++-8 /usr/bin/g++

# Clone the source code for kilosort3
RUN mkdir -p /src && git clone https://github.com/MouseLand/Kilosort /src/Kilosort3 && cd /src/Kilosort3 && git checkout a1fccd9abf13ce5dc3340fae8050f9b1d0f8ab7a

# Note that the mex files are not actually compiled
# I think you may need a license to do the compilation
# Also, it may be important to compile on the machine
# where the GPU hardware actually lives (not sure)

# Also note: it is probably better to run using
# Singularity rather than docker because
# Singularity handles gpu more seamlessly -
# just add the --nv flag
5 changes: 5 additions & 0 deletions kilosort3/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

# usually the tag would be the version of the sorter
# but in this case since 3 is already in the name, maybe the tag should be 0.1.x
docker build -t spikeinterface/kilosort3-base:0.1.0 .
3 changes: 3 additions & 0 deletions kilosort3/push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

docker push spikeinterface/kilosort3-base:0.1.0
2 changes: 1 addition & 1 deletion spykingcircus/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

docker build -t spikeinterface/spyking-circus:1.0.7 .
docker build -t spikeinterface/spyking-circus-base:1.0.7 .
2 changes: 1 addition & 1 deletion spykingcircus/push.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

docker push spikeinterface/spyking-circus:1.0.7
docker push spikeinterface/spyking-circus-base:1.0.7