mirror of
https://github.com/deepseek-ai/DeepSeek-V3.git
synced 2025-05-01 21:16:29 +02:00
Merge 4a65fd9221103ff03864337453c238e65d1f4a1b into 592fd5daf8177b205af11651bbb31a1834a8b0e0
This commit is contained in:
commit
b612a1cc10
@ -87,7 +87,7 @@ def weight_dequant(x: torch.Tensor, s: torch.Tensor, block_size: int = 128) -> t
|
||||
|
||||
Args:
|
||||
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.
|
||||
|
||||
Returns:
|
||||
|
Loading…
x
Reference in New Issue
Block a user