Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Sep 19, 2023
1 parent c2ec382 commit d86bce6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion optimum/exporters/onnx/model_patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
import functools
import inspect
from typing import TYPE_CHECKING, Any, Callable, Dict, Optional, Union
from ...utils.modeling_utils import _prepare_attn_mask, _prepare_decoder_attention_mask

from transformers.utils import is_torch_available

from ...utils.modeling_utils import _prepare_attn_mask, _prepare_decoder_attention_mask


if is_torch_available():
import torch
Expand Down

0 comments on commit d86bce6

Please sign in to comment.