From fb0500ae80c0d7ba6fff275325956a3fd2174c7c Mon Sep 17 00:00:00 2001 From: shivadbhavsar Date: Wed, 11 Dec 2024 14:17:30 -0600 Subject: [PATCH] update throw message --- src/py/migraphx_py.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py/migraphx_py.cpp b/src/py/migraphx_py.cpp index 794c32d7e5a..925c4546c1f 100644 --- a/src/py/migraphx_py.cpp +++ b/src/py/migraphx_py.cpp @@ -268,7 +268,7 @@ migraphx::shape to_shape(const py::buffer_info& info) { MIGRAPHX_THROW( "MIGRAPHX PYTHON: Unsupported data type. For fp8 and bf16 literals try using " - "migraphx.generate_argument and migraphx.add_literal_from_argument"); + "migraphx.generate_argument with migraphx.add_literal"); } visit_types([&](auto as) { if(info.format == py::format_descriptor::format() or