Skip to content

Commit

Permalink
It does not help
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomDefaultUser committed Jan 8, 2025
1 parent e6a0723 commit 5162404
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mala/common/parallelizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ def set_mpi_status(new_value):
Value the MPI status has.
"""
# if use_ddp is True and new_value is True:
# raise Exception(
# "Cannot use ddp and inference-level MPI at " "the same time yet."
# )
if use_ddp is True and new_value is True:
raise Exception(
"Cannot use ddp and inference-level MPI at " "the same time yet."
)
global use_mpi
use_mpi = new_value
if use_mpi:
Expand Down

0 comments on commit 5162404

Please sign in to comment.