dpeerlab / spectra

Supervised Pathway DEConvolution of InTerpretable Gene ProgRAms
MIT License
131 stars 16 forks source link

GPU tutorial? #39

Open caitsimop opened 6 months ago

caitsimop commented 6 months ago

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!

russellkune commented 6 months ago

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

kousaa commented 1 week ago

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