Skip to content
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

Fix seeding issues in sequential sampling #5377

Merged
merged 2 commits into from
May 19, 2022

Conversation

ricardoV94
Copy link
Member

@ricardoV94 ricardoV94 commented Jan 20, 2022

This PR fixes some seeding issues in sequential sampling and reveals others related to ADVI sampling (described in #5784)

Closes #5378

@codecov
Copy link

codecov bot commented Jan 20, 2022

Codecov Report

Merging #5377 (0c774c0) into main (00d4372) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 0c774c0 differs from pull request most recent head 0ebf04e. Consider uploading reports for the commit 0ebf04e to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5377      +/-   ##
==========================================
- Coverage   89.27%   89.27%   -0.01%     
==========================================
  Files          74       74              
  Lines       13811    13815       +4     
==========================================
+ Hits        12330    12333       +3     
- Misses       1481     1482       +1     
Impacted Files Coverage Δ
pymc/sampling.py 88.20% <100.00%> (-0.18%) ⬇️
pymc/step_methods/hmc/base_hmc.py 89.68% <0.00%> (-0.80%) ⬇️
pymc/parallel_sampling.py 86.04% <0.00%> (-0.67%) ⬇️
pymc/step_methods/hmc/nuts.py 97.50% <0.00%> (+2.50%) ⬆️

@ricardoV94 ricardoV94 changed the title Seeding issues Fix seeding issues in sequential sampling May 19, 2022
@ricardoV94 ricardoV94 added this to the v4.0.0 milestone May 19, 2022
…prepare_iter_sample`

This reverts some changes in 47b61de which wrongly disabled global seeding in some sampling contexts that still depended on it.
@twiecki twiecki merged commit b91283e into pymc-devs:main May 19, 2022
@ricardoV94 ricardoV94 deleted the seeding_issues branch June 6, 2023 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Seeding not working for single chains
2 participants