mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-02 14:45:15 +02:00
add mpi support for sparsegpregression
This commit is contained in:
parent
1dbe3e34b0
commit
f5377aa441
4 changed files with 46 additions and 7 deletions
|
|
@ -47,7 +47,7 @@ class SparseGP_MPI(SparseGP):
|
|||
|
||||
if variational_prior is not None:
|
||||
self.link_parameter(variational_prior)
|
||||
|
||||
|
||||
self.mpi_comm = mpi_comm
|
||||
# Manage the data (Y) division
|
||||
if mpi_comm != None:
|
||||
|
|
@ -60,7 +60,6 @@ class SparseGP_MPI(SparseGP):
|
|||
mpi_comm.Bcast(self.param_array, root=0)
|
||||
self.update_model(True)
|
||||
|
||||
|
||||
def __getstate__(self):
|
||||
dc = super(SparseGP_MPI, self).__getstate__()
|
||||
dc['mpi_comm'] = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue