Skip to content

Commit 3a4ea0d

Browse files
fix
1 parent c5e0165 commit 3a4ea0d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

optimum/exporters/onnx/model_patcher.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,6 @@ def onnx_compatible_repeat_interleave(input_tensor, repeats, dim=None, output_si
208208

209209

210210
# Custom implementation of torch.linalg.matrix_norm not using torch.linalg.matrix_norm, torch.norm or torch.linalg.norm.
211-
original_linal_norm = torch.linalg.norm
212-
213-
214211
def onnx_compatible_linalg_norm(x, ord=2, dim=None, keepdim=False, *, dtype=None, out=None) -> torch.Tensor:
215212
if ord != 2:
216213
raise ValueError(

0 commit comments

Comments
 (0)