Skip to content

Commit 53c4fa8

Browse files
add benefits of C++ wrapper
1 parent 5a07177 commit 53c4fa8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

prototype_source/pt2e_quant_ptq_x86_inductor.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,11 @@ After these steps, we finished running the quantization flow and we will get the
163163
------------------------
164164

165165
After we get the quantized model, we will further lower it to the inductor backend. The default Inductor wrapper
166-
generates Python code to invoke both generated kernels and external kernels. Additionally, Inductor supports a C++ wrapper
167-
that generates pure C++ code, seamlessly combining the generated and external kernels.
166+
generates Python code to invoke both generated kernels and external kernels. Additionally, Inductor supports
167+
C++ wrapper that generates pure C++ code. This allows seamless integration of the generated and external kernels,
168+
effectively reducing Python overhead. In the future, leveraging the C++ wrapper, we can extend the capability
169+
to achieve pure C++ deployment. For more comprehensive details about C++ Wrapper in general, please refer to the
170+
dedicated tutorial on `Inductor C++ Wrapper Tutorial <https://pytorch.org/tutorials/prototype/inductor_cpp_wrapper_tutorial.html>`_.
168171

169172
::
170173

0 commit comments

Comments
 (0)