From 9c1bccf5f6d86dd5c09ac345d6dc3aa1ab592e1d Mon Sep 17 00:00:00 2001 From: Yuanqiang Liu Date: Tue, 19 Mar 2024 02:46:16 +0800 Subject: [PATCH] fix typo of py args (#2104) because that the lambda's signature is `[](MlirContext context, std::string artifact)`. --- stablehlo/integrations/python/StablehloModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stablehlo/integrations/python/StablehloModule.cpp b/stablehlo/integrations/python/StablehloModule.cpp index 8429cb586f4..b7d8e53107e 100644 --- a/stablehlo/integrations/python/StablehloModule.cpp +++ b/stablehlo/integrations/python/StablehloModule.cpp @@ -551,5 +551,5 @@ PYBIND11_MODULE(_stablehlo, m) { return {module.release()}; }, - py::arg("module"), py::arg("target")); + py::arg("context"), py::arg("artifact")); }