arviz-devs / arviz

Exploratory analysis of Bayesian models with Python
https://python.arviz.org
Apache License 2.0
1.56k stars 388 forks source link

CmdStanPy reader needs update #2276

Closed ahartikainen closed 8 months ago

ahartikainen commented 10 months ago

Latest changes in the CmdStanPy need handling.

https://github.com/stan-dev/cmdstanpy/issues/693

aakhmetz commented 8 months ago

Dear friends,

Sorry for disturbing you, but I wonder if it was updated recently. It was mentioned in #1904 that it was resolved, but I still get the message: AttributeError: 'InferenceMetadata' object has no attribute 'stan_vars_cols'

I have the latest stable versions: cmdstanpy 1.2.0, arviz 1.6.1, stanio 0.3.0 (or 0.4.0)

I am asking because from one side cmdstanpy==1.2.0 allows to use pathfinder, but is broken with this issue, from another side if I use cmdstanpy==1.1.0, then pathfinder is unavail

ahartikainen commented 8 months ago

Closed by #2287