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

Fixed distributed Optuna running on multiple GPUs #495

Merged

Conversation

RandomDefaultUser
Copy link
Member

Due to some recent performance changes in the MALA GPU usage, using multiple GPUs in the Optuna distributed framework on single nodes would crash. This was due to the way MALA initializes the GPU assignments, leading to the torch.cuda.synchronize() initially having the wrong target device. Fixed by targeting correct device for torch.cuda.synchronize().

@RandomDefaultUser RandomDefaultUser merged commit 7254c5a into mala-project:develop Dec 22, 2023
5 checks passed
@RandomDefaultUser RandomDefaultUser deleted the fix_mpi_hyperopt branch December 22, 2023 09: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