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.
BSD 3-Clause "New" or "Revised" License
149
stars
67
forks
source link
Fix profile file output when running multiple chains in one process #751
[x] Declare copyright holder and open-source license: see below
Summary
Closes #750 - profile_files is now like stdout_files where there is only one of them when there is only one process being run.
Note: I am not convinced cmdstanpy's API here makes any sense. The profile file is not like the diagnostic file where it is only saved if requested, but rather it is saved if the model in question uses the profiling feature at all. The default value is 'profile.csv', not ''
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:
Submission Checklist
Summary
Closes #750 - profile_files is now like stdout_files where there is only one of them when there is only one process being run.
Note: I am not convinced cmdstanpy's API here makes any sense. The profile file is not like the diagnostic file where it is only saved if requested, but rather it is saved if the model in question uses the profiling feature at all. The default value is
'profile.csv'
, not''
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: