File tree 1 file changed +4
-3
lines changed
neural_compressor/transformers/quantization
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 21
21
import types
22
22
23
23
from datasets import load_dataset
24
+ from packaging .version import Version
24
25
25
26
from neural_compressor .common .utils import LazyImport , logger
26
27
from neural_compressor .torch .algorithms .weight_only .modules import INCWeightOnlyLinear
34
35
convert ,
35
36
prepare ,
36
37
)
37
- from neural_compressor .torch .utils import is_ipex_available , is_package_available , get_ipex_version
38
- from packaging .version import Version
38
+ from neural_compressor .torch .utils import get_ipex_version , is_ipex_available , is_package_available
39
39
40
40
if is_ipex_available ():
41
41
import intel_extension_for_pytorch as ipex
42
- ipex_version = get_ipex_version ()
42
+
43
+ ipex_version = get_ipex_version ()
43
44
44
45
if is_package_available ("auto_round" ):
45
46
import auto_round
You can’t perform that action at this time.
0 commit comments