pytorch
ad5a5a97 - Beta value is ignored for sparse torch.addmm with non-MKL build (#72430)

Commit
2 years ago
Beta value is ignored for sparse torch.addmm with non-MKL build (#72430) Summary: When PyTorch is not built with MKL or on Windows there's a native implementation of `torch.addmm` for tensors on CPU. There was a bug that `beta` value was ignored, causing new tests to fail (see https://github.com/pytorch/pytorch/pull/71949#issuecomment-1024639741). In addition, I also enabled complex numbers support for this code path. Pull Request resolved: https://github.com/pytorch/pytorch/pull/72430 Reviewed By: davidberard98 Differential Revision: D34045670 Pulled By: cpuhrsch fbshipit-source-id: b2b63f22ba3eea895a31c5c2925b0fb1555d2c6f (cherry picked from commit ac0a2080bb306dc4487f2829dad1bf077514aa74)
Author
Committer
Parents
Loading