Skip to content

Commit

Permalink
fix code scan warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tianleiwu committed Oct 4, 2023
1 parent c686c01 commit 90ee7ff
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from pathlib import Path

import onnx
from optimize_pipeline import has_external_data
from packaging import version

from onnxruntime.transformers.fusion_options import FusionOptions
Expand Down Expand Up @@ -60,8 +59,6 @@ def optimize(self, input_fp32_onnx_path, optimized_onnx_path, float16=True, keep
fusion_options.enable_packed_kv = False
fusion_options.enable_packed_qkv = False

use_external_data_format = has_external_data(input_fp32_onnx_path)

m = optimize_model(
input_fp32_onnx_path,
model_type=self.model_type,
Expand Down

0 comments on commit 90ee7ff

Please sign in to comment.