Skip to content

storing model_config and sampler_config changed to json string #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

michaelraczycki
Copy link
Collaborator

@michaelraczycki michaelraczycki commented Mar 28, 2023

Closes #120.
As requested in issue #120 model_config and sampler_config instead of being stored in idata.attrs separately as dict keys and dict values are stored in single json string idata.attrs['sampler_config'] and idata.attrs['model_config'].

No test adaptation was necessary

@twiecki twiecki merged commit d811561 into pymc-devs:main Mar 28, 2023
@michaelraczycki michaelraczycki deleted the configs_to_json branch March 31, 2023 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change ModelBuilder model_config and sample_config saving to JSON
2 participants