google / google/edward2

Improve robustness of ed RVs in mixed-precision settings.

Open
#173 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
712
Forks
77
Avg merge
9h 39m
Merged PRs (30d)
1

Description

Currently, ed RandomVariable sampling for reparameterized distributions can encounter errors in mixed-precision settings (such as bfloat16) due to a mismatch between the the dtype of output of the `sample`computation in the base distribution and the dtype of the RV `Variable` parameters that are combined with the sample via multiplication/addition.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.