Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Sep 15, 2023
1 parent 4ee6167 commit f2d0f84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optimum/onnxruntime/modeling_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@
import torch
from huggingface_hub import hf_hub_download
from huggingface_hub.utils import EntryNotFoundError
from onnx.tools import update_model_dims
from transformers import AutoModelForCausalLM, GenerationConfig
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
Expand All @@ -50,8 +52,6 @@
validate_provider_availability,
)

import onnx
from onnx.tools import update_model_dims

if TYPE_CHECKING:
from transformers import PretrainedConfig
Expand Down

0 comments on commit f2d0f84

Please sign in to comment.