Adds a VISampler to samplers.py, allowing for variational inference sampling with the sbi backend.
On a Macbook, the VISampler is only marginally faster than Pyro MCMC for the toy example (9 min vs 10 min for PosteriorCoverage). However, it is expected to be faster for higher-dimensional posteriors, especially when using GPU.
Adds a VISampler to samplers.py, allowing for variational inference sampling with the sbi backend.
On a Macbook, the VISampler is only marginally faster than Pyro MCMC for the toy example (9 min vs 10 min for PosteriorCoverage). However, it is expected to be faster for higher-dimensional posteriors, especially when using GPU.