The KL Divergence Is Never Negative, Except in PyTorch(arxiv.org)
83 points by Anon84 | 33 comments
arXiv paper showing that KL divergence implementations in PyTorch produce widespread numerical errors, including negative values, and proposing stable repairs.
