Skip to content
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

Tutorial for using GPU functions #13

Open
edeno opened this issue Jun 2, 2022 · 2 comments
Open

Tutorial for using GPU functions #13

edeno opened this issue Jun 2, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@edeno
Copy link
Contributor

edeno commented Jun 2, 2022

No description provided.

@edeno edeno added the enhancement New feature or request label Oct 4, 2022
@edeno edeno self-assigned this Oct 5, 2022
@chris-angeloni
Copy link

chris-angeloni commented Oct 21, 2024

Hi, curious about the timeline for this? Clusterless decoding is taking a while for me (1 hour + for 50s recording snippets). I passed use_gpu=True for predict, but it doesn't seem to have an effect. Do I need to specify a gpu-based encoding model for this to work as expected?

edit: wow, this was the answer... went from 1+ hour to finishing in 5 seconds once I set the algorithm to 'multiunit_likelihood_gpu'

@edeno
Copy link
Contributor Author

edeno commented Oct 22, 2024

Ah glad you found it. Generally making sure cupy is installed, set use_gpu=True in the predict function will speed up the state space part of the model and you can also set the likelihood algorithm to use gpu (e.g. sorted_spikes_algorithm = "spiking_likelihood_kde_gpu"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants