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_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ class Int8WeightOnlyConfig(AOBaseConfig):
group_size: Optional[int] = None
granularity: Optional[Granularity] = PerRow()
set_inductor_config: bool = True
version: int = 1
version: int = 2

def __post_init__(self):
torch._C._log_api_usage_once("torchao.quantization.Int8WeightOnlyConfig")
Expand Down Expand Up @@ -1528,7 +1528,7 @@ class Int8DynamicActivationInt8WeightConfig(AOBaseConfig):
weight_only_decode: bool = False
granularity: Granularity = PerRow()
set_inductor_config: bool = True
version: int = 1
version: int = 2

def __post_init__(self):
torch._C._log_api_usage_once(
Expand Down
Loading