From e8b0511babf6623159d2240fef310c5035bb2520 Mon Sep 17 00:00:00 2001 From: David Ginten Date: Mon, 20 Oct 2025 17:35:14 +0200 Subject: [PATCH] added neagtive PY_BUILTIN_TO_TORCH_OP --- python/torch_mlir/extras/fx_importer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/torch_mlir/extras/fx_importer.py b/python/torch_mlir/extras/fx_importer.py index d79ba099d8ec..86fb34498244 100644 --- a/python/torch_mlir/extras/fx_importer.py +++ b/python/torch_mlir/extras/fx_importer.py @@ -284,6 +284,7 @@ "mod": torch.ops.aten.fmod, "eq": torch.ops.aten.eq, "floordiv": torch.ops.aten.floordiv, + "neg": torch.ops.aten.neg, } # torch with cuda has a __version__ that looks like "2.1.0+cu113",