You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When MCMC is performed on a GPU, from_pyro fails, as the sites returned by trace = pyro.poutine.trace(self.model).get_trace(*self._args, **self._kwargs) can be tensors that still live on the GPU.
This will cause this line to break:
When MCMC is performed on a GPU, from_pyro fails, as the sites returned by
trace = pyro.poutine.trace(self.model).get_trace(*self._args, **self._kwargs)
can be tensors that still live on the GPU.This will cause this line to break:
arviz/arviz/data/io_pyro.py
Line 231 in 1f3b8fd
Since there is currently no easy way of transferring a pyro MCMC object to the cpu, a workaround is adding a
.cpu()
to this line:arviz/arviz/data/io_pyro.py
Line 111 in 1f3b8fd
The text was updated successfully, but these errors were encountered: