An unofficial, read-only Hacker News reader. Join the beta →

The KL Divergence Is Never Negative, Except in PyTorch (opens external site)

97 points by Anon84 3 days ago | arxiv.org | 40 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. What other parts of pytorch are buggy?
    Replies (1)
    1. "buggy" probably is probably too strong of a word. Maybe "weird edge cases in ops that aren't commonly used" is more accurate.

      Like I think L-BFGS has less support than the other optimizers, since no one really uses it on large models. But its implementation could have been improved a lot for people who do use it on small models. (IDK stuff is probably better now with AI-assisted dev vs. when I last looked)