-
Notifications
You must be signed in to change notification settings - Fork 14
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
Make parallelization possible on the dimensions other than trials (e.g. over channels) #369
Comments
Thanks for bringing the deficits of our documentation to our attention @nazgulfg92! There is actually a "meta-parameter" available for all meta-functions ( fft_spec = spy.freqanalysis(data, chan_per_worker=50) and so if you have say 200 channels but only 1 trial, this would spawn 4 parallel processes. Please let me know if PS: Parallelization over different axis does not seem to have a real use case by now, but I acknowledge that this could be a cool feature some time in the future. |
Thanks! I tried yesterday to give it a try, since I got some inside knowledge talking to @pantaray... but it couldn't figure out how the parameter actually worked. I kept getting some errors trying to use it with |
- addresses #369 Changes to be committed: modified: doc/source/user/concepts.rst
Hey @nazgulfg92 , did you had any luck with the |
Hi @tensionhead, I tried but for some reason I don't remember it didn't work out for me. Might have been something with the implementation itself, or perhaps that it suddenly didn't fit my workflow (I managed to get ACME working on our Slurm from my computer). I'll try and take a look to see if there are some traces why |
In any case we should add a unit test to veryify this functionality for the supported computations! |
Is your feature request related to a problem? Please elaborate.
Parallelization appears to only run over trials. If there's not trial structure in the data (e.g. spontaneous activity), there doesn't seem to be a way to tell Syncopy to use channels as the dimension to parallelize.
Do you have a solution in mind? Please elaborate
Would be nice to add the possibility to use the channel dimension (or any other dimension that is not trials) on the data for parallelization. Perhaps let things run in parallel, if no trials, over the first non-singleton dimension of the data structure hierarchy (e.g. if no trials, then channels, etc.).
Not really a problem per se, more like a missing feature? Please elaborate
Please provide a description of what kind of functionality you want to see in Syncopy. If possible/applicable, please consider writing a few lines of (pseudo-)code to illustrate your thoughts.
Thanks!
The text was updated successfully, but these errors were encountered: