Skip to content

Commit 5ca9fbf

Browse files
committed
update
1 parent 9d05ab4 commit 5ca9fbf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

recipes_source/torch_compile_user_defined_triton_kernel_tutorial.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
######################################################################
3636
# Basic Usage
37-
# ------------
37+
# --------------------
3838
#
3939
# In this example, we will use a simple vector addition kernel from the Triton documentation
4040
# with ``torch.compile``.
@@ -162,3 +162,9 @@ def add_fn(x, y):
162162
# vector addition kernel and advanced usage involving Triton's autotune
163163
# feature. We also discussed the composability of user-defined Triton
164164
# kernels with other PyTorch features and highlighted some current limitations.
165+
#
166+
# See Also
167+
# -------------------------------------------------------------------
168+
#
169+
# * `Compiling the Optimizers: <https://pytorch.org/tutorials/recipes/compiling_optimizer.html>`__.
170+
# * `Implementing High-Performance Transformers with Scaled Dot Product Attention: <https://pytorch.org/tutorials/intermediate/scaled_dot_product_attention_tutorial.html>`__.

0 commit comments

Comments
 (0)