-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update to run_sorter_jobs() and slurm #3105
base: main
Are you sure you want to change the base?
Conversation
# Conflicts: # src/spikeinterface/sorters/launcher.py
# Conflicts: # src/spikeinterface/sorters/launcher.py
@MarinManuel thank you! This is great! The SLURM deployment has been unexplored.on our side, so we are very glad that it works for you. Would you mind sharing the script that you are using? I'd love to add an How To page on how to deploy multiple spike sorting jobs on SLURM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alejoe91 / @samuelgarcia know the launcher stuff better, is popping the best strategy or could you just pull out the kwargs without changing the dict as you go?
Otherwise, I just added some fixes for our docstring style :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is very cool! really opens up the SLURM options here. I have a couple of comments now, and will try it out on our HPC ASAP!
…irectly into engine_kwargs
for more information, see https://pre-commit.ci
# Conflicts: # src/spikeinterface/sorters/launcher.py
for more information, see https://pre-commit.ci
Hey @MarinManuel sorry for the delay in testing this locally, I tried it on our cluster and seems to be working well! I had a couple of other comments below, it might also be worth adding a test for this. I have pasted one in the dropdown below, I don't think I can push to your fork, but feel free to add it to If you think of any functionality this is missing, please let me know / feel free to expand the test. This will also require adding The test
Some other small things:
|
Hi @JoeZiminski
I wasn't entirely sure what you meant, but I think |
for more information, see https://pre-commit.ci
Hey @MarinManuel, so sorry for the delay with this! I'm around again now, please feel free to ping me and we can merge this ASAP. Just a couple of small things I think:
Sorry this was the other way round, in case a user who is unfamiliar with SLURM e.g. using 'dask' say but passes the After this I can do one last pass and test locally again then I think it's good to go! Apologies the review took so long, this new feature is a super-useful addition. |
Co-authored-by: Zach McKenzie <[email protected]>
Co-authored-by: Zach McKenzie <[email protected]>
Co-authored-by: Joe Ziminski <[email protected]>
for more information, see https://pre-commit.ci
Hi @JoeZiminski |
Hi @MarinManuel, I'm incredibly sorry I misunderstood from the docstring how engine kwargs was intended, I thought it was just for SLURM from the below: old docstring
It might be worth reverting that change such that the all kwargs come under 'engine kwargs' as before. The new docstring can look as below. I'm happy to do this if you give me access to your fork as I appreciate it will be annoying to undo something you just did due to my mistake! New docstring
Some other very minor things that came up when manually testing, then I think good to go!
Then all good from my end, sorry about this last-minute back and forth and thanks again for this super useful addition! |
for more information, see https://pre-commit.ci
Hi @MarinManuel thanks for this, apologies please resend the invite I will fix the tests and conflicts, thanks! |
I am trying to run spikeinterface sorters on a HPC cluster and needed to pass specific parameters to
slurm
/sbatch
.I added the option to pass arbitrary arguments to
sbatch
in theengine_kwargs
.Let me know if that's causing any issues