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

Investigate running Pytorch on GPU #211

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

TinyBugBigProblem
Copy link

I think I managed to fix the problem I was running into. The approach I had before didn't seem to take into account how Pytorch handled wrapping the Model class and distributing the necessary information to each forward function to perform the operations. I believe the trick to getting Pytorch to work was creating a custom function class inheriting from torch.autograd.

What I have, if I can look into it some more and fix some bugs, should be able to run with any number of GPUs while evenly distributing the image data, scored and classified arrays across them.

…nction to use within the model. The rest is probably fixing bugs
@lewismc
Copy link
Member

lewismc commented Dec 2, 2019 via email

@lewismc
Copy link
Member

lewismc commented Dec 3, 2019

Actually @Luner if your work incorporated into this PR?

@Luner
Copy link

Luner commented Dec 3, 2019

@lewismc It looks like this PR is utilizing the code from issue 192. This was when we changed everything to pytorch but did not implement the column by column approach. The runtime for issue 192 was closer to 50 minutes.

@lewismc lewismc reopened this Dec 3, 2019
@lewismc
Copy link
Member

lewismc commented Dec 3, 2019

OK, we can rebase this once we've worked on #198

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

Successfully merging this pull request may close these issues.

3 participants