Skip to content

Commit

Permalink
Can I use DDP and MPI at the same time?
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomDefaultUser committed Jan 8, 2025
1 parent 4001d0a commit e6a0723
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 e6a0723

Please sign in to comment.