Skip to content

Commit a07a4eb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2406762 commit a07a4eb

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

neural_compressor/torch/quantization/algorithm_entry.py

+9-3
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,20 @@
1313
# limitations under the License.
1414

1515
from copy import deepcopy
16+
from types import MethodType
1617
from typing import Any, Callable, Dict, Tuple
1718

1819
import torch
1920

2021
from neural_compressor.common.utils import AWQ, FP8_QUANT, GPTQ, HQQ, RTN, STATIC_QUANT
21-
from neural_compressor.torch.quantization import AWQConfig, GPTQConfig, HQQConfig, RTNConfig, StaticQuantConfig, FP8Config
22-
from types import MethodType
23-
from typing import Dict, Tuple
22+
from neural_compressor.torch.quantization import (
23+
AWQConfig,
24+
FP8Config,
25+
GPTQConfig,
26+
HQQConfig,
27+
RTNConfig,
28+
StaticQuantConfig,
29+
)
2430
from neural_compressor.torch.utils import logger, register_algo
2531

2632

0 commit comments

Comments
 (0)