Skip to content

Commit 9a87c1e

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

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

neural_compressor/data/datasets/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
from PIL import Image
2323

24-
from neural_compressor.utils.utility import LazyImport, singleton, _safe_pickle_load
24+
from neural_compressor.utils.utility import LazyImport, _safe_pickle_load, singleton
2525

2626
torch = LazyImport("torch")
2727
torchvision = LazyImport("torchvision")

neural_compressor/mix_precision.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from .model import Model
3030
from .strategy import STRATEGIES
3131
from .utils import alias_param, logger
32-
from .utils.utility import CpuInfo, secure_check_eval_func, time_limit, _safe_pickle_load
32+
from .utils.utility import CpuInfo, _safe_pickle_load, secure_check_eval_func, time_limit
3333

3434

3535
@alias_param("conf", param_alias="config")

neural_compressor/training.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from .metric import register_customer_metric
3333
from .model.model import Model
3434
from .utils import logger
35-
from .utils.utility import time_limit, _safe_pickle_load
35+
from .utils.utility import _safe_pickle_load, time_limit
3636

3737

3838
class CompressionManager:

0 commit comments

Comments
 (0)