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

GPU tutorial? #39

Open
caitsimop opened this issue Jan 9, 2024 · 3 comments
Open

GPU tutorial? #39

caitsimop opened this issue Jan 9, 2024 · 3 comments

Comments

@caitsimop
Copy link

I'm looking to use the GPU implementation of Spectra as mentioned in issue #21.

When you load from Spectra import Spectra_gpu as spc_gpu you get this info:

Spectra GPU support is still under development. Raise any issues on github 
 
 Changes from v1: 
 (1) GPU support [see tutorial] 
 (2) minibatching for local parameters and data 
 Note that minibatching may affect optimization results 
 Code will eventually be merged into spectra.py

Is there a tutorial hiding somewhere? I'm especially interested in the minibatching.

Thanks!

@caitsimop caitsimop changed the title How to use GPU? GPU tutorial? Jan 9, 2024
@russellkune
Copy link
Collaborator

Hi Cat, I'm working this. keeping it open

@kousaa
Copy link

kousaa commented Jul 3, 2024

Hello,

thanks for developing this great tool! Just adding to Cat's comment above, it would be great if in your upcoming tutorial there is a section on how to utilize the GPU on the new Apple silicon OS.

Thank you!
Anastasia

@andrewjkwok
Copy link

andrewjkwok commented Aug 12, 2024

Hello, wanted to check if there were any updates on GPU use?

One thing I noted was that various arguments for the CPU est_spectra function don't seem to be needed / used for the gpu version i.e.
label_factors, overlap_threshold, clean_gs and min_gs_num.

Is there any specific reason for this?

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

No branches or pull requests

4 participants