debug asset

This commit is contained in:
justheuristic 2022-09-18 00:26:46 +03:00
parent a214824f93
commit 702cc72018

View File

@ -321,6 +321,7 @@ class MatMul8bitLt(torch.autograd.Function):
# 4. Mixed-precision decomposition matmul
if coo_tensorA is not None and subA is not None:
assert subA.dtype == state.subB.dtype, (subA.dtype, state.subB.dtype)
output += torch.matmul(subA, state.subB)
# 5. Save state