-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
pymc3/tests/test_step.py::TestMLDA::test_acceptance_rate_against_coarseness fails for unknown reason #4267
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
Comments
This must be because no seed has been set but looking at it now. @mikkelbue could you have a look too? |
@michaelosthege I cannot replicate this error on my machine, even without setting random seed. But it is not deterministic, as you suspected, and it is possible, albeit unlikely, that a coarser model could get better acceptance rate. |
this looks like it's resolved itself since we removed processing tests in parallel, I guess it's because it couldn't converge otherwise? I think we're OK to close anyway |
@mikkelbue i think it is best to just add the same random seed for all samplers just to avoid non-deterministic outcomes. |
@MarcoGorelli Thanks for letting us know. The master branch on our repository is up-to-date with pymc-devs, and I have added random seeds to three different tests, where it was missing: I'll set up a PR, in case you want to merge this. @gmingas Maybe I didn't explain my intention very well. The samplers belonging to each coarse model would be initialised from different (but pre-set) random seeds. That wouldn't result in any non-deterministic behaviour, as far as I can think. |
Description of your problem
The CI of #4261 failed because of a test failure (see the log) that is probably unrelated to the changes from that PR.
The PR was already merged, but the test remains suspicious. Is it maybe not deterministic?
@gmingas can you take a look or delegate with someone else familiar with the MLDA test suite?
Versions and main components
The text was updated successfully, but these errors were encountered: