Skip to content

Commit 72d6007

Browse files
zou3519svekars
andauthored
Update recipes_source/torch_compile_user_defined_triton_kernel_tutorial.py
Co-authored-by: Svetlana Karslioglu <[email protected]>
1 parent 20e86d0 commit 72d6007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes_source/torch_compile_user_defined_triton_kernel_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def add_fn(x, y):
155155
# triton_op is a structured way of defining a custom operator that is backed by one
156156
# or more Triton kernels: like regular custom operators (``torch.library.custom_op``),
157157
# you are able to specify the interactions with PyTorch subsystems via ``torch.library``.
158-
# However, unlike ``torch.library.custom_op``, which creates opaque callables w.r.t.
158+
# However, unlike ``torch.library.custom_op``, which creates opaque callables with respect to
159159
# ``torch.compile``, ``torch.compile`` traces into ``triton_op`` to apply optimizations.
160160
#
161161
# Here’s a chart of which API to use when integrating triton kernels with PyTorch.

0 commit comments

Comments
 (0)