Skip to content

Commit a91ca48

Browse files
committed
Use dill
1 parent 4a7bc72 commit a91ca48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vega/samplers/pocomc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def run(self):
135135
def _run_mpi(self):
136136
""" Run the PocoMC sampler """
137137
mpi_comm = MPI.COMM_WORLD
138-
with MPIPool(mpi_comm) as pool:
138+
with MPIPool(mpi_comm, use_dill=True) as pool:
139139
self.pocomc_sampler = pocomc.Sampler(
140140
self.prior, self.vec_log_lik, pool=pool, output_dir=self.path,
141141
dynamic=self.dynamic, precondition=self.precondition,

0 commit comments

Comments
 (0)