Skip to content

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