Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Sep 13, 2024
1 parent e69658c commit 0cc167d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion optimum/exporters/onnx/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
DEFAULT_DUMMY_SHAPES,
ONNX_WEIGHTS_NAME,
TORCH_MINIMUM_VERSION,
check_if_transformers_greater,
is_diffusers_available,
is_torch_onnx_support_available,
logging,
require_numpy_strictly_lower,
check_if_transformers_greater,
)
from ...utils.modeling_utils import MODEL_TO_PATCH_FOR_PAST
from ...utils.save_utils import maybe_save_preprocessors
Expand Down
1 change: 0 additions & 1 deletion optimum/onnxruntime/modeling_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"""Classes handling causal-lm related architectures in ONNX Runtime."""

import logging
import warnings
from pathlib import Path
from tempfile import TemporaryDirectory
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, Union
Expand Down
1 change: 0 additions & 1 deletion optimum/onnxruntime/modeling_seq2seq.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import logging
import shutil
import warnings
from abc import ABC, abstractmethod
from pathlib import Path
from tempfile import TemporaryDirectory
Expand Down

0 comments on commit 0cc167d

Please sign in to comment.