Merge pull request #666 from codinglover222/deepseek-doc-fix

fix an args description.
This commit is contained in:
Xingkai Yu 2025-04-09 09:50:40 +08:00 committed by GitHub
commit 4cc6253d5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@ def weight_dequant(x: torch.Tensor, s: torch.Tensor, block_size: int = 128) -> t
Args: Args:
x (torch.Tensor): The quantized weight tensor of shape (M, N). x (torch.Tensor): The quantized weight tensor of shape (M, N).
s (torch.Tensor): The scale tensor of shape (M, N). s (torch.Tensor): The scale tensor of shape (M//block_size, N//block_size).
block_size (int, optional): The block size to use for dequantization. Defaults to 128. block_size (int, optional): The block size to use for dequantization. Defaults to 128.
Returns: Returns: