@@ -298,7 +298,7 @@ def apply_rope_inplace(
298
298
segment the query of the i-th segment is ``q[indptr[i]:indptr[i+1]]`` and the key of the
299
299
i-th segment is ``k[indptr[i]:indptr[i+1]]``, the first element of :attr:`indptr` is always
300
300
0 and the last element of :attr:`indptr` is the total number of queries/keys in the batch.
301
- Please see :ref:`Ragged Tensor tutorial <ragged -layout>` for more details about the
301
+ Please see :ref:`Ragged Tensor tutorial <kv -layout>` for more details about the
302
302
ragged tensor.
303
303
304
304
Parameters
@@ -384,7 +384,7 @@ def apply_rope_pos_ids_inplace(
384
384
segment the query of the i-th segment is ``q[indptr[i]:indptr[i+1]]`` and the key of the
385
385
i-th segment is ``k[indptr[i]:indptr[i+1]]``, the first element of :attr:`indptr` is always
386
386
0 and the last element of :attr:`indptr` is the total number of queries/keys in the batch.
387
- Please see :ref:`Ragged Tensor tutorial <ragged -layout>` for more details about the
387
+ Please see :ref:`Ragged Tensor tutorial <kv -layout>` for more details about the
388
388
ragged tensor.
389
389
390
390
Parameters
@@ -446,7 +446,7 @@ def apply_llama31_rope_inplace(
446
446
segment the query of the i-th segment is ``q[indptr[i]:indptr[i+1]]`` and the key of the
447
447
i-th segment is ``k[indptr[i]:indptr[i+1]]``, the first element of :attr:`indptr` is always
448
448
0 and the last element of :attr:`indptr` is the total number of queries/keys in the batch.
449
- Please see :ref:`Ragged Tensor tutorial <ragged -layout>` for more details about the
449
+ Please see :ref:`Ragged Tensor tutorial <kv -layout>` for more details about the
450
450
ragged tensor.
451
451
452
452
Parameters
@@ -553,7 +553,7 @@ def apply_llama31_rope_pos_ids_inplace(
553
553
segment the query of the i-th segment is ``q[indptr[i]:indptr[i+1]]`` and the key of the
554
554
i-th segment is ``k[indptr[i]:indptr[i+1]]``, the first element of :attr:`indptr` is always
555
555
0 and the last element of :attr:`indptr` is the total number of queries/keys in the batch.
556
- Please see :ref:`Ragged Tensor tutorial <ragged -layout>` for more details about the
556
+ Please see :ref:`Ragged Tensor tutorial <kv -layout>` for more details about the
557
557
ragged tensor.
558
558
559
559
Parameters
@@ -629,7 +629,7 @@ def apply_rope(
629
629
segment the query of the i-th segment is ``q[indptr[i]:indptr[i+1]]`` and the key of the
630
630
i-th segment is ``k[indptr[i]:indptr[i+1]]``, the first element of :attr:`indptr` is always
631
631
0 and the last element of :attr:`indptr` is the total number of queries/keys in the batch.
632
- Please see :ref:`Ragged Tensor tutorial <ragged -layout>` for more details about the
632
+ Please see :ref:`Ragged Tensor tutorial <kv -layout>` for more details about the
633
633
ragged tensor.
634
634
635
635
Parameters
@@ -738,7 +738,7 @@ def apply_rope_pos_ids(
738
738
segment the query of the i-th segment is ``q[indptr[i]:indptr[i+1]]`` and the key of the
739
739
i-th segment is ``k[indptr[i]:indptr[i+1]]``, the first element of :attr:`indptr` is always
740
740
0 and the last element of :attr:`indptr` is the total number of queries/keys in the batch.
741
- Please see :ref:`Ragged Tensor tutorial <ragged -layout>` for more details about the
741
+ Please see :ref:`Ragged Tensor tutorial <kv -layout>` for more details about the
742
742
ragged tensor.
743
743
744
744
Parameters
@@ -810,7 +810,7 @@ def apply_llama31_rope(
810
810
segment the query of the i-th segment is ``q[indptr[i]:indptr[i+1]]`` and the key of the
811
811
i-th segment is ``k[indptr[i]:indptr[i+1]]``, the first element of :attr:`indptr` is always
812
812
0 and the last element of :attr:`indptr` is the total number of queries/keys in the batch.
813
- Please see :ref:`Ragged Tensor tutorial <ragged -layout>` for more details about the
813
+ Please see :ref:`Ragged Tensor tutorial <kv -layout>` for more details about the
814
814
ragged tensor.
815
815
816
816
Parameters
@@ -931,7 +931,7 @@ def apply_llama31_rope_pos_ids(
931
931
segment the query of the i-th segment is ``q[indptr[i]:indptr[i+1]]`` and the key of the
932
932
i-th segment is ``k[indptr[i]:indptr[i+1]]``, the first element of :attr:`indptr` is always
933
933
0 and the last element of :attr:`indptr` is the total number of queries/keys in the batch.
934
- Please see :ref:`Ragged Tensor tutorial <ragged -layout>` for more details about the
934
+ Please see :ref:`Ragged Tensor tutorial <kv -layout>` for more details about the
935
935
ragged tensor.
936
936
937
937
Parameters
0 commit comments