Skip to content

Commit 03a1963

Browse files
matthewdouglasakx
andauthored
Update bitsandbytes/functional.py
Co-authored-by: Aarni Koskela <[email protected]>
1 parent b36003f commit 03a1963

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bitsandbytes/functional.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2694,7 +2694,11 @@ def transform(A, to_order, from_order="row", out=None, transpose=False, state=No
26942694
return out, new_state
26952695

26962696

2697-
def spmm_coo(cooA: Union[COOSparseTensor, torch.Tensor], B: torch.Tensor, out: torch.Tensor = None):
2697+
def spmm_coo(
2698+
cooA: Union[COOSparseTensor, torch.Tensor],
2699+
B: torch.Tensor,
2700+
out: Optional[torch.Tensor] = None,
2701+
):
26982702
if not isinstance(cooA, COOSparseTensor):
26992703
assert (
27002704
cooA.is_sparse and cooA.layout == torch.sparse_coo

0 commit comments

Comments
 (0)