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

Usage of GPU #51

Open
Einspanner8888 opened this issue Aug 3, 2021 · 1 comment
Open

Usage of GPU #51

Einspanner8888 opened this issue Aug 3, 2021 · 1 comment

Comments

@Einspanner8888
Copy link

Hello. I'm jamie from Yonsei Grad school.

I've been researching for Deep survival models using SEER data and i found out yours!
I've tried to make the use of DSM(DeepSruvivalMachines) but, it takes so long to have results due to my heavy data. So, i tried gpu_support branch but it didn't work at all (It was working in only CPU) :(
As far as i'm concerned, DSM is an installed package based on pytorch, which GPU can be supported. I'm wondering whether all branches including 'GPU_support' work on only in CPU?
I'm looking forward to hearing you. Thanks for your sincere efforts.

@Jeanselme
Copy link
Contributor

Hi,

Sorry for the late answer, I have developed a version for GPU, available at Jeanselme/DeepSurvivalMachines - I have also made a push request but feel free to use that version in the meantime and let me know if you encounter any problem
There are two modes: if you indicate cuda = 1, all data will be pushed on GPU, if cuda == 2, only data for the current batch will be pushed (prefer the mode 1 if your data can fit on GPU)

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

2 participants