diff options
author | justheuristic <justheuristic@gmail.com> | 2022-09-18 00:01:25 +0300 |
---|---|---|
committer | justheuristic <justheuristic@gmail.com> | 2022-09-18 00:01:25 +0300 |
commit | 85bf5294a60ceba84b85f0634b349bc486cec635 (patch) | |
tree | cb493d7f8a426b4480f31550fc0dfc2e8c617515 /bitsandbytes/autograd | |
parent | 210b9ed9cef6a053d783c2d3926171b30ce6a969 (diff) |
debug assert
Diffstat (limited to 'bitsandbytes/autograd')
-rw-r--r-- | bitsandbytes/autograd/_functions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitsandbytes/autograd/_functions.py b/bitsandbytes/autograd/_functions.py index 7441a22..2aada07 100644 --- a/bitsandbytes/autograd/_functions.py +++ b/bitsandbytes/autograd/_functions.py @@ -323,7 +323,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 == output.dtype + assert subA.dtype == state.subB.dtype == output.dtype, (subA.dtype, state.subB.dtype, output.dtype) output.addmm_(subA, state.subB) # 5. Save state |