Skip to content

Commit 980279f

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bitsandbytes/functional.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2445,9 +2445,9 @@ def mm_dequant(
24452445

24462446
def get_colrow_absmax(
24472447
A: torch.Tensor,
2448-
row_stats: torch.Tensor = None,
2449-
col_stats: torch.Tensor = None,
2450-
nnz_block_ptr: torch.Tensor = None,
2448+
row_stats: Optional[torch.Tensor] = None,
2449+
col_stats: Optional[torch.Tensor] = None,
2450+
nnz_block_ptr: Optional[torch.Tensor] = None,
24512451
threshold=0.0,
24522452
):
24532453
# Note: prior impl only works with fp16

0 commit comments

Comments
 (0)