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

guard hogwild distributed spec #337

Merged
merged 5 commits into from
May 14, 2019
Merged

guard hogwild distributed spec #337

merged 5 commits into from
May 14, 2019

Conversation

kengz
Copy link
Owner

@kengz kengz commented May 14, 2019

Feature / Fix

Hogwild does not work with GPU: Hogwild is lock-free, while CUDA tensors are not necessarily so, and may result in corruption. Add guard to ensure when hogwild (distributed) is enabled, GPU is disabled in spec.
See more details from https://discuss.pytorch.org/t/mnist-hogwild-with-cuda-not-working-with-model-net-cuda/4547/2

@kengz kengz merged commit 7b00fab into v4-dev May 14, 2019
@kengz kengz deleted the a3c branch May 14, 2019 03:28
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.

1 participant