Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Sep 15, 2023
1 parent f2d0f84 commit 3ff719a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions optimum/onnxruntime/modeling_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, Type, Union

import numpy as np
import onnx
import onnxruntime
import torch
from huggingface_hub import hf_hub_download
from huggingface_hub.utils import EntryNotFoundError
Expand All @@ -28,9 +30,6 @@
from transformers.file_utils import add_end_docstrings, add_start_docstrings_to_model_forward
from transformers.modeling_outputs import CausalLMOutputWithPast

import onnx
import onnxruntime

from ..exporters import TasksManager
from ..exporters.onnx import export, main_export
from ..onnx.utils import _get_external_data_paths
Expand Down

0 comments on commit 3ff719a

Please sign in to comment.