Skip to content

Commit

Permalink
fix coding style
Browse files Browse the repository at this point in the history
Signed-off-by: Mengni Wang <[email protected]>
  • Loading branch information
mengniwang95 committed Jun 20, 2024
1 parent 3b42dcd commit 1f6bcee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/nlp/bert/quantization/ptq_dynamic/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
import os
import pathlib
import tempfile
import time
from typing import List, Optional, Union

import numpy as np
import onnx
import onnxruntime
import time
import torch
import transformers
from onnxruntime.transformers import optimizer
Expand Down
2 changes: 1 addition & 1 deletion examples/nlp/bert/quantization/ptq_static/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
import os
import pathlib
import tempfile
import time
from typing import List, Optional, Union

import numpy as np
import onnx
import onnxruntime
import time
import torch
import transformers
from onnxruntime.transformers import optimizer
Expand Down
2 changes: 1 addition & 1 deletion onnx_neural_compressor/algorithms/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from onnxruntime.quantization import onnx_model
from packaging import version

from onnx_neural_compressor import constants, utility, logger
from onnx_neural_compressor import constants, logger, utility

if sys.version_info < (3, 11) and util.find_spec("onnxruntime_extensions"): # pragma: no cover
import onnxruntime_extensions
Expand Down

0 comments on commit 1f6bcee

Please sign in to comment.