Skip to content

Conversation

ricardoV94
Copy link
Member

@ricardoV94 ricardoV94 commented May 17, 2021

This test has been failing frequently in the CI. I think it has to do with the initial values being stochastic and sometimes giving combinations that lead to a derivative underflow in float32. I fixed the testvals and made sure it passes on float32 locally.

Confidence this will fix issues: 85%

Closes #4661

Edit: to be clear I managed to induce the failure locally by running in a loop and monitoring the random start values. Fixing the observed start values to those made the test fail systematically. I am just not sure this was the only thing that was causing the failures.

@ricardoV94 ricardoV94 changed the title Fix flaxy test test_deterministic_of_observed_modified_interface Fix flaky test test_deterministic_of_observed_modified_interface May 17, 2021
@ricardoV94 ricardoV94 requested a review from brandonwillard May 25, 2021 04:16
@ricardoV94 ricardoV94 merged commit 0970af0 into pymc-devs:v4 May 25, 2021
@ricardoV94 ricardoV94 deleted the fix_flaxy_test branch May 26, 2021 12:38
twiecki pushed a commit that referenced this pull request Jun 5, 2021
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.

2 participants