Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions torchao/quantization/quant_primitives.py
Original file line number Diff line number Diff line change
Expand Up @@ -1514,7 +1514,7 @@ def choose_qparams_affine_with_min_max(

@register_custom_op
def _choose_qparams_affine(
input: Optional[torch.Tensor],
input: torch.Tensor,
mapping_type: str,
block_size: List[int],
target_dtype: torch.dtype,
Expand Down Expand Up @@ -1667,7 +1667,7 @@ def reshape_w(w):


def _choose_qparams_gguf(
input: Optional[torch.Tensor],
input: torch.Tensor,
block_size: List[int],
target_dtype: torch.dtype,
) -> Tuple[torch.Tensor, torch.Tensor, torch.Tensor, torch.Tensor]:
Expand Down
Loading