Skip to content

Conversation

@rlouf
Copy link
Member

@rlouf rlouf commented Jun 22, 2022

The dtype of parameters can change as they get successively raveled and unraveled. This is problematic when sampling from the posterior distribution of a model whose observation distribution is discrete. In this PR we add a property to RaveledParamsMap that keeps track of dtypes.

The dtype of parameters can change as they get successively raveled and
unraveled. In this PR we add a property to RaveledParamsMap that keeps
track of dtypes.
@rlouf rlouf requested a review from brandonwillard June 22, 2022 15:54
@rlouf
Copy link
Member Author

rlouf commented Jun 23, 2022

The test that fails is unrelated to the current PR, it seems related to a recent change in scan_perform.pyx. Indeed all tests passe with aesara==2.7.1 but this particular test fails with aesara>=2.7.2.

@rlouf rlouf mentioned this pull request Jun 27, 2022
@rlouf rlouf merged commit 28cb70a into aesara-devs:main Jul 2, 2022
@rlouf rlouf deleted the RavelParams-dtype branch July 2, 2022 14:24
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