Skip to content

Cuda Support Issue #53

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

Open
imhgchoi opened this issue Oct 22, 2020 · 2 comments
Open

Cuda Support Issue #53

imhgchoi opened this issue Oct 22, 2020 · 2 comments

Comments

@imhgchoi
Copy link

imhgchoi commented Oct 22, 2020

Hi,
Thank you so much for the codes.

I see that cuda may not be supported in many cases.
I'm guessing this is due to multiprocessing, which I am not so sure about.
So can you (or whoever can) briefly explain what's causing it, and whether it can be fixed?

Thanks in advance :)

@tristandeleu
Copy link
Owner

Multiprocessing is indeed an issue, and that probably requires changing the context to spawn. However there are some parts of the code which might not work right away with spawn context (see #51).

I haven't used this code on GPU so I don't know what would be required to fix it exactly, but maybe @lucifer2859 has some input on that (if you were actually trying to run it on GPU?)?

@imhgchoi
Copy link
Author

I see. Well, actually I'm running the code from mp-spawn branch.
Unfortunately however, cuda doesn't work with it as well.

Anyways, I really appreciate your immediate response! Thank you :)

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