logoalt Hacker News

vbarrielletoday at 8:41 AM1 replyview on HN

The matrix multiplication is only deterministic for sparse-dense products under these settings:

> torch.bmm() when called on sparse-dense CUDA tensors

And it's not listed under the operations that raise an exception otherwise, so I'm not sure the docs promise that dense-dense matrix-matrix products are deterministic.


Replies

DougBTXtoday at 12:02 PM

Oh, thanks, that’s interesting, I thought it covered that too!