We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03a1963 commit 980279fCopy full SHA for 980279f
bitsandbytes/functional.py
@@ -2445,9 +2445,9 @@ def mm_dequant(
2445
2446
def get_colrow_absmax(
2447
A: torch.Tensor,
2448
- row_stats: torch.Tensor = None,
2449
- col_stats: torch.Tensor = None,
2450
- nnz_block_ptr: torch.Tensor = None,
+ row_stats: Optional[torch.Tensor] = None,
+ col_stats: Optional[torch.Tensor] = None,
+ nnz_block_ptr: Optional[torch.Tensor] = None,
2451
threshold=0.0,
2452
):
2453
# Note: prior impl only works with fp16
0 commit comments