Arviz's from_numpyro function works on many model objects in numpyro, but not the officially supported bridge with JaxNS — numpyro.contrib.nested_sampling — because NestedSampler.get_samples requires PRNG and num_samples args.
Arviz dispatches on the numpyro model type to pass a prng & num_samples args to the NestedSampler.get_samples. Maybe from_numpyro adds an args kwarg for specifying these values.
Describe the bug
Arviz's
from_numpyro
function works on many model objects in numpyro, but not the officially supported bridge with JaxNS —numpyro.contrib.nested_sampling
— becauseNestedSampler.get_samples
requires PRNG and num_samples args.To Reproduce
Expected behavior
Arviz dispatches on the numpyro model type to pass a prng & num_samples args to the NestedSampler.get_samples. Maybe
from_numpyro
adds anargs
kwarg for specifying these values.