File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 17
17
import torch
18
18
19
19
from packaging import version
20
- from torchao .utils import TORCH_VERSION_AT_LEAST_2_7
20
+ from torchao .utils import TORCH_VERSION_AT_LEAST_2_8
21
21
22
- if not TORCH_VERSION_AT_LEAST_2_7 :
23
- pytest .skip ("Requires PyTorch 2.7 or higher" , allow_module_level = True )
22
+ if not TORCH_VERSION_AT_LEAST_2_8 :
23
+ pytest .skip ("Requires PyTorch 2.8 or higher" , allow_module_level = True )
24
24
25
25
26
26
VLLM_AVAILABLE = importlib .util .find_spec ("vllm" ) is not None
Original file line number Diff line number Diff line change 108
108
)
109
109
from .weight_only import WeightOnlyInt8QuantLinear
110
110
111
+ # TODO: remove after migration of APIs are done
112
+ AOPerModuleConfig = ModuleFqnToConfig
113
+
111
114
__all__ = [
112
115
# top level API - auto
113
116
"autoquant" ,
148
151
"IntxWeightOnlyConfig" ,
149
152
"FPXWeightOnlyConfig" ,
150
153
"GemliteUIntXWeightOnlyConfig" ,
154
+ "AOPerModuleConfig" ,
151
155
"ModuleFqnToConfig" ,
152
156
"FbgemmConfig" ,
153
157
# smooth quant - subject to change
You can’t perform that action at this time.
0 commit comments