cmdstanpy icon indicating copy to clipboard operation
cmdstanpy copied to clipboard

CmdStanPy is a lightweight interface to Stan for Python users which provides the necessary objects and functions to compile a Stan program and fit the model to data using CmdStan.

Results 57 cmdstanpy issues
Sort by recently updated
recently updated
newest added

#### Submission Checklist - [x] Run unit tests - [x] Declare copyright holder and open-source license: see below #### Summary Test changes needed for 2.37: https://github.com/stan-dev/cmdstan/issues/1324 Note that no logic...

I've run into a somewhat odd (and likely edge-case) situation where `CmdStanModel.sample` behaves unexpectedly after a call to `os.fork`. I'm providing pseudocode now in the hopes that there is a...

I have installed cmstan.2.36 in my Ubuntu 24.04.2 LTS machine which has python3.12. For the other python libraries, I am using for example "sudo apt install python3-pandas" as pip install...

#### Submission Checklist - [x] Run unit tests - [x] Declare copyright holder and open-source license: see below #### Summary When run code in non-English system, jupyter would implicitly set...

Reverts stan-dev/cmdstanpy#779 With https://github.com/stan-dev/cmdstan/pull/1320, I'm not sure this is necessary. Removing it would let us update to avoid parsing the csv comments entirely (see https://github.com/stan-dev/cmdstanpy/issues/685). It would be easy to...

I encountered a _pickle.PicklingError when running the test suite for cmdstanpy. The error occurs in the test_serialization test within test/test_generate_quantities.py. The error message indicates that Python cannot pickle the object...

#### Summary: Title describes the problem :) #### Description: I believe the problem comes from this [line](https://github.com/stan-dev/cmdstanpy/blob/0ed8811c7b0ce67cf62496a2b0e426399492b914/cmdstanpy/model.py#L256). Shouldn't it read `if compile or self._exe_file is None` instead of the current...