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