Kernels
danieldk HF Staff commited on
Commit
51fb65f
·
verified ·
1 Parent(s): c1e0b83

Build uploaded using `kernels`.

Browse files
Files changed (36) hide show
  1. build/torch210-cxx11-cu126-x86_64-linux/__init__.py +1 -2
  2. build/torch210-cxx11-cu126-x86_64-linux/_ops.py +3 -3
  3. build/torch210-cxx11-cu126-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} +1 -1
  4. build/torch210-cxx11-cu128-x86_64-linux/__init__.py +1 -2
  5. build/torch210-cxx11-cu128-x86_64-linux/_ops.py +3 -3
  6. build/torch210-cxx11-cu128-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} +1 -1
  7. build/torch210-cxx11-cu130-x86_64-linux/__init__.py +1 -2
  8. build/torch210-cxx11-cu130-x86_64-linux/_ops.py +3 -3
  9. build/torch210-cxx11-cu130-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} +1 -1
  10. build/torch210-cxx11-xpu20253-x86_64-linux/__init__.py +1 -2
  11. build/torch210-cxx11-xpu20253-x86_64-linux/_ops.py +3 -3
  12. build/torch210-cxx11-xpu20253-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} +1 -1
  13. build/torch28-cxx11-cu126-x86_64-linux/__init__.py +1 -2
  14. build/torch28-cxx11-cu126-x86_64-linux/_ops.py +3 -3
  15. build/torch28-cxx11-cu126-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} +1 -1
  16. build/torch28-cxx11-cu128-x86_64-linux/__init__.py +1 -2
  17. build/torch28-cxx11-cu128-x86_64-linux/_ops.py +3 -3
  18. build/torch28-cxx11-cu128-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} +1 -1
  19. build/torch28-cxx11-cu129-x86_64-linux/__init__.py +1 -2
  20. build/torch28-cxx11-cu129-x86_64-linux/_ops.py +3 -3
  21. build/torch28-cxx11-cu129-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} +1 -1
  22. build/torch28-cxx11-xpu20251-x86_64-linux/__init__.py +1 -2
  23. build/torch28-cxx11-xpu20251-x86_64-linux/_ops.py +3 -3
  24. build/torch28-cxx11-xpu20251-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} +1 -1
  25. build/torch29-cxx11-cu126-x86_64-linux/__init__.py +1 -2
  26. build/torch29-cxx11-cu126-x86_64-linux/_ops.py +3 -3
  27. build/torch29-cxx11-cu126-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} +1 -1
  28. build/torch29-cxx11-cu128-x86_64-linux/__init__.py +1 -2
  29. build/torch29-cxx11-cu128-x86_64-linux/_ops.py +3 -3
  30. build/torch29-cxx11-cu128-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} +1 -1
  31. build/torch29-cxx11-cu130-x86_64-linux/__init__.py +1 -2
  32. build/torch29-cxx11-cu130-x86_64-linux/_ops.py +3 -3
  33. build/torch29-cxx11-cu130-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} +1 -1
  34. build/torch29-cxx11-xpu20252-x86_64-linux/__init__.py +1 -2
  35. build/torch29-cxx11-xpu20252-x86_64-linux/_ops.py +3 -3
  36. build/torch29-cxx11-xpu20252-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} +1 -1
build/torch210-cxx11-cu126-x86_64-linux/__init__.py CHANGED
@@ -21,12 +21,11 @@ def apply_rotary_transformers(
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
24
- position_ids: Optional[torch.Tensor] = None,
25
  unsqueeze_dim: int = 1,
26
  ) -> Tuple[torch.Tensor, torch.Tensor]:
27
  """
28
  Rotary kernel implementation wrapper
29
- Adapts rotary kernels implementation to match transformers apply_rotary_pos_emb signature
30
  """
31
  cos = cos.unsqueeze(unsqueeze_dim)
32
  sin = sin.unsqueeze(unsqueeze_dim)
 
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
 
24
  unsqueeze_dim: int = 1,
25
  ) -> Tuple[torch.Tensor, torch.Tensor]:
26
  """
27
  Rotary kernel implementation wrapper
28
+ Adapts rotary kernel implementation to match transformers apply_rotary_pos_emb signature
29
  """
30
  cos = cos.unsqueeze(unsqueeze_dim)
31
  sin = sin.unsqueeze(unsqueeze_dim)
build/torch210-cxx11-cu126-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _rotary_4463a10
3
- ops = torch.ops._rotary_4463a10
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_rotary_4463a10::{op_name}"
 
1
  import torch
2
+ from . import _rotary_1d9fc74
3
+ ops = torch.ops._rotary_1d9fc74
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_rotary_1d9fc74::{op_name}"
build/torch210-cxx11-cu126-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:564374bc348ab33ca52bbe87edb31a10639d8645be2afcfac392fd6179bcac87
3
  size 8200552
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee435820f577a5967873a21371a1bd5f1ef66593dc5edb6fa70f53345435767e
3
  size 8200552
build/torch210-cxx11-cu128-x86_64-linux/__init__.py CHANGED
@@ -21,12 +21,11 @@ def apply_rotary_transformers(
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
24
- position_ids: Optional[torch.Tensor] = None,
25
  unsqueeze_dim: int = 1,
26
  ) -> Tuple[torch.Tensor, torch.Tensor]:
27
  """
28
  Rotary kernel implementation wrapper
29
- Adapts rotary kernels implementation to match transformers apply_rotary_pos_emb signature
30
  """
31
  cos = cos.unsqueeze(unsqueeze_dim)
32
  sin = sin.unsqueeze(unsqueeze_dim)
 
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
 
24
  unsqueeze_dim: int = 1,
25
  ) -> Tuple[torch.Tensor, torch.Tensor]:
26
  """
27
  Rotary kernel implementation wrapper
28
+ Adapts rotary kernel implementation to match transformers apply_rotary_pos_emb signature
29
  """
30
  cos = cos.unsqueeze(unsqueeze_dim)
31
  sin = sin.unsqueeze(unsqueeze_dim)
build/torch210-cxx11-cu128-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _rotary_4463a10
3
- ops = torch.ops._rotary_4463a10
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_rotary_4463a10::{op_name}"
 
1
  import torch
2
+ from . import _rotary_1d9fc74
3
+ ops = torch.ops._rotary_1d9fc74
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_rotary_1d9fc74::{op_name}"
build/torch210-cxx11-cu128-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:502cbd148e6a58b72086e7e927a9a2705bdcf29f37aabc308bc518e8f6317b70
3
  size 11905888
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aed5c4cffb4f9c9e3f3720ac0b575f0960858d7a0ddf7f02207b5ea484bd8c40
3
  size 11905888
build/torch210-cxx11-cu130-x86_64-linux/__init__.py CHANGED
@@ -21,12 +21,11 @@ def apply_rotary_transformers(
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
24
- position_ids: Optional[torch.Tensor] = None,
25
  unsqueeze_dim: int = 1,
26
  ) -> Tuple[torch.Tensor, torch.Tensor]:
27
  """
28
  Rotary kernel implementation wrapper
29
- Adapts rotary kernels implementation to match transformers apply_rotary_pos_emb signature
30
  """
31
  cos = cos.unsqueeze(unsqueeze_dim)
32
  sin = sin.unsqueeze(unsqueeze_dim)
 
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
 
24
  unsqueeze_dim: int = 1,
25
  ) -> Tuple[torch.Tensor, torch.Tensor]:
26
  """
27
  Rotary kernel implementation wrapper
28
+ Adapts rotary kernel implementation to match transformers apply_rotary_pos_emb signature
29
  """
30
  cos = cos.unsqueeze(unsqueeze_dim)
31
  sin = sin.unsqueeze(unsqueeze_dim)
build/torch210-cxx11-cu130-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _rotary_4463a10
3
- ops = torch.ops._rotary_4463a10
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_rotary_4463a10::{op_name}"
 
1
  import torch
2
+ from . import _rotary_1d9fc74
3
+ ops = torch.ops._rotary_1d9fc74
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_rotary_1d9fc74::{op_name}"
build/torch210-cxx11-cu130-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e70eccfa0b1db39b3fd5229c30dcc49d57e1e0108d74d6bd1a9d0b56d0a1faa
3
  size 10310736
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5225450bf3fa84053f21a4118e0ca278bd4667c5427e908ecc504fe703093cba
3
  size 10310736
build/torch210-cxx11-xpu20253-x86_64-linux/__init__.py CHANGED
@@ -21,12 +21,11 @@ def apply_rotary_transformers(
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
24
- position_ids: Optional[torch.Tensor] = None,
25
  unsqueeze_dim: int = 1,
26
  ) -> Tuple[torch.Tensor, torch.Tensor]:
27
  """
28
  Rotary kernel implementation wrapper
29
- Adapts rotary kernels implementation to match transformers apply_rotary_pos_emb signature
30
  """
31
  cos = cos.unsqueeze(unsqueeze_dim)
32
  sin = sin.unsqueeze(unsqueeze_dim)
 
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
 
24
  unsqueeze_dim: int = 1,
25
  ) -> Tuple[torch.Tensor, torch.Tensor]:
26
  """
27
  Rotary kernel implementation wrapper
28
+ Adapts rotary kernel implementation to match transformers apply_rotary_pos_emb signature
29
  """
30
  cos = cos.unsqueeze(unsqueeze_dim)
31
  sin = sin.unsqueeze(unsqueeze_dim)
build/torch210-cxx11-xpu20253-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _rotary_4463a10
3
- ops = torch.ops._rotary_4463a10
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_rotary_4463a10::{op_name}"
 
1
  import torch
2
+ from . import _rotary_1d9fc74
3
+ ops = torch.ops._rotary_1d9fc74
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_rotary_1d9fc74::{op_name}"
build/torch210-cxx11-xpu20253-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bc710ab9974ce43a15f04d86754e88f59cf9adecc32936d1f624362c250de6dc
3
  size 2301488
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a1776a691c6edce8962fc08bf5ad6aea055c47e8154537b99c45713df04795b
3
  size 2301488
build/torch28-cxx11-cu126-x86_64-linux/__init__.py CHANGED
@@ -21,12 +21,11 @@ def apply_rotary_transformers(
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
24
- position_ids: Optional[torch.Tensor] = None,
25
  unsqueeze_dim: int = 1,
26
  ) -> Tuple[torch.Tensor, torch.Tensor]:
27
  """
28
  Rotary kernel implementation wrapper
29
- Adapts rotary kernels implementation to match transformers apply_rotary_pos_emb signature
30
  """
31
  cos = cos.unsqueeze(unsqueeze_dim)
32
  sin = sin.unsqueeze(unsqueeze_dim)
 
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
 
24
  unsqueeze_dim: int = 1,
25
  ) -> Tuple[torch.Tensor, torch.Tensor]:
26
  """
27
  Rotary kernel implementation wrapper
28
+ Adapts rotary kernel implementation to match transformers apply_rotary_pos_emb signature
29
  """
30
  cos = cos.unsqueeze(unsqueeze_dim)
31
  sin = sin.unsqueeze(unsqueeze_dim)
build/torch28-cxx11-cu126-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _rotary_4463a10
3
- ops = torch.ops._rotary_4463a10
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_rotary_4463a10::{op_name}"
 
1
  import torch
2
+ from . import _rotary_1d9fc74
3
+ ops = torch.ops._rotary_1d9fc74
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_rotary_1d9fc74::{op_name}"
build/torch28-cxx11-cu126-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8e647f42e313cc5a22243ac02d33bc2b4cdfdde93980f31f01fce55b1540fbd9
3
  size 8190648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94d0a2fccecef02464217ce8fcd0029b858d20d38a0df9e4be56da8fe5196c95
3
  size 8190648
build/torch28-cxx11-cu128-x86_64-linux/__init__.py CHANGED
@@ -21,12 +21,11 @@ def apply_rotary_transformers(
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
24
- position_ids: Optional[torch.Tensor] = None,
25
  unsqueeze_dim: int = 1,
26
  ) -> Tuple[torch.Tensor, torch.Tensor]:
27
  """
28
  Rotary kernel implementation wrapper
29
- Adapts rotary kernels implementation to match transformers apply_rotary_pos_emb signature
30
  """
31
  cos = cos.unsqueeze(unsqueeze_dim)
32
  sin = sin.unsqueeze(unsqueeze_dim)
 
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
 
24
  unsqueeze_dim: int = 1,
25
  ) -> Tuple[torch.Tensor, torch.Tensor]:
26
  """
27
  Rotary kernel implementation wrapper
28
+ Adapts rotary kernel implementation to match transformers apply_rotary_pos_emb signature
29
  """
30
  cos = cos.unsqueeze(unsqueeze_dim)
31
  sin = sin.unsqueeze(unsqueeze_dim)
build/torch28-cxx11-cu128-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _rotary_4463a10
3
- ops = torch.ops._rotary_4463a10
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_rotary_4463a10::{op_name}"
 
1
  import torch
2
+ from . import _rotary_1d9fc74
3
+ ops = torch.ops._rotary_1d9fc74
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_rotary_1d9fc74::{op_name}"
build/torch28-cxx11-cu128-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6ea1bd279b781687d7ad6dfd8d945b6c18639550e846b42842bfa79b2f898ff1
3
  size 11895768
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95350793e833b22a67c9569eb3936925cc128a13b4e2409ac2d23112519baf1c
3
  size 11895768
build/torch28-cxx11-cu129-x86_64-linux/__init__.py CHANGED
@@ -21,12 +21,11 @@ def apply_rotary_transformers(
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
24
- position_ids: Optional[torch.Tensor] = None,
25
  unsqueeze_dim: int = 1,
26
  ) -> Tuple[torch.Tensor, torch.Tensor]:
27
  """
28
  Rotary kernel implementation wrapper
29
- Adapts rotary kernels implementation to match transformers apply_rotary_pos_emb signature
30
  """
31
  cos = cos.unsqueeze(unsqueeze_dim)
32
  sin = sin.unsqueeze(unsqueeze_dim)
 
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
 
24
  unsqueeze_dim: int = 1,
25
  ) -> Tuple[torch.Tensor, torch.Tensor]:
26
  """
27
  Rotary kernel implementation wrapper
28
+ Adapts rotary kernel implementation to match transformers apply_rotary_pos_emb signature
29
  """
30
  cos = cos.unsqueeze(unsqueeze_dim)
31
  sin = sin.unsqueeze(unsqueeze_dim)
build/torch28-cxx11-cu129-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _rotary_4463a10
3
- ops = torch.ops._rotary_4463a10
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_rotary_4463a10::{op_name}"
 
1
  import torch
2
+ from . import _rotary_1d9fc74
3
+ ops = torch.ops._rotary_1d9fc74
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_rotary_1d9fc74::{op_name}"
build/torch28-cxx11-cu129-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:35d9303c89a327b1fe2f1b627b7ed282084d95b4b4348da9b50e3c2a01f9f664
3
  size 11964056
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15a5dee3e2e653cdb92486fb7c546c5e3a94fd5291351f1847e04f7dcaa6402c
3
  size 11964056
build/torch28-cxx11-xpu20251-x86_64-linux/__init__.py CHANGED
@@ -21,12 +21,11 @@ def apply_rotary_transformers(
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
24
- position_ids: Optional[torch.Tensor] = None,
25
  unsqueeze_dim: int = 1,
26
  ) -> Tuple[torch.Tensor, torch.Tensor]:
27
  """
28
  Rotary kernel implementation wrapper
29
- Adapts rotary kernels implementation to match transformers apply_rotary_pos_emb signature
30
  """
31
  cos = cos.unsqueeze(unsqueeze_dim)
32
  sin = sin.unsqueeze(unsqueeze_dim)
 
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
 
24
  unsqueeze_dim: int = 1,
25
  ) -> Tuple[torch.Tensor, torch.Tensor]:
26
  """
27
  Rotary kernel implementation wrapper
28
+ Adapts rotary kernel implementation to match transformers apply_rotary_pos_emb signature
29
  """
30
  cos = cos.unsqueeze(unsqueeze_dim)
31
  sin = sin.unsqueeze(unsqueeze_dim)
build/torch28-cxx11-xpu20251-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _rotary_4463a10
3
- ops = torch.ops._rotary_4463a10
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_rotary_4463a10::{op_name}"
 
1
  import torch
2
+ from . import _rotary_1d9fc74
3
+ ops = torch.ops._rotary_1d9fc74
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_rotary_1d9fc74::{op_name}"
build/torch28-cxx11-xpu20251-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:638b0d9cf17c3f6be417adb02969bd3c8bfc54f05f37bed906c71399607305bd
3
  size 2338640
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:926df52f77f1250de78cdcf777f4c135dfc1a200c3726a4d98fdd1b83f3cbb07
3
  size 2338640
build/torch29-cxx11-cu126-x86_64-linux/__init__.py CHANGED
@@ -21,12 +21,11 @@ def apply_rotary_transformers(
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
24
- position_ids: Optional[torch.Tensor] = None,
25
  unsqueeze_dim: int = 1,
26
  ) -> Tuple[torch.Tensor, torch.Tensor]:
27
  """
28
  Rotary kernel implementation wrapper
29
- Adapts rotary kernels implementation to match transformers apply_rotary_pos_emb signature
30
  """
31
  cos = cos.unsqueeze(unsqueeze_dim)
32
  sin = sin.unsqueeze(unsqueeze_dim)
 
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
 
24
  unsqueeze_dim: int = 1,
25
  ) -> Tuple[torch.Tensor, torch.Tensor]:
26
  """
27
  Rotary kernel implementation wrapper
28
+ Adapts rotary kernel implementation to match transformers apply_rotary_pos_emb signature
29
  """
30
  cos = cos.unsqueeze(unsqueeze_dim)
31
  sin = sin.unsqueeze(unsqueeze_dim)
build/torch29-cxx11-cu126-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _rotary_4463a10
3
- ops = torch.ops._rotary_4463a10
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_rotary_4463a10::{op_name}"
 
1
  import torch
2
+ from . import _rotary_1d9fc74
3
+ ops = torch.ops._rotary_1d9fc74
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_rotary_1d9fc74::{op_name}"
build/torch29-cxx11-cu126-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:31b4be1d5f7491b0e300c8a04514f6409de837ca03d44b3133553d52e30fb22a
3
  size 8190536
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d6803b5dd9f78ea567b9212620980465139e5ef04fa1f25bc5b44db19aab0cb
3
  size 8190536
build/torch29-cxx11-cu128-x86_64-linux/__init__.py CHANGED
@@ -21,12 +21,11 @@ def apply_rotary_transformers(
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
24
- position_ids: Optional[torch.Tensor] = None,
25
  unsqueeze_dim: int = 1,
26
  ) -> Tuple[torch.Tensor, torch.Tensor]:
27
  """
28
  Rotary kernel implementation wrapper
29
- Adapts rotary kernels implementation to match transformers apply_rotary_pos_emb signature
30
  """
31
  cos = cos.unsqueeze(unsqueeze_dim)
32
  sin = sin.unsqueeze(unsqueeze_dim)
 
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
 
24
  unsqueeze_dim: int = 1,
25
  ) -> Tuple[torch.Tensor, torch.Tensor]:
26
  """
27
  Rotary kernel implementation wrapper
28
+ Adapts rotary kernel implementation to match transformers apply_rotary_pos_emb signature
29
  """
30
  cos = cos.unsqueeze(unsqueeze_dim)
31
  sin = sin.unsqueeze(unsqueeze_dim)
build/torch29-cxx11-cu128-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _rotary_4463a10
3
- ops = torch.ops._rotary_4463a10
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_rotary_4463a10::{op_name}"
 
1
  import torch
2
+ from . import _rotary_1d9fc74
3
+ ops = torch.ops._rotary_1d9fc74
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_rotary_1d9fc74::{op_name}"
build/torch29-cxx11-cu128-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c17d8a150d975592a6f5d1ed14870e765176f1875a79398aa518367aeab27cf9
3
  size 11899968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30c8a553953b6bccd9d0b91fe8769b008be52a0dad7f65434b8834863a0a1943
3
  size 11899968
build/torch29-cxx11-cu130-x86_64-linux/__init__.py CHANGED
@@ -21,12 +21,11 @@ def apply_rotary_transformers(
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
24
- position_ids: Optional[torch.Tensor] = None,
25
  unsqueeze_dim: int = 1,
26
  ) -> Tuple[torch.Tensor, torch.Tensor]:
27
  """
28
  Rotary kernel implementation wrapper
29
- Adapts rotary kernels implementation to match transformers apply_rotary_pos_emb signature
30
  """
31
  cos = cos.unsqueeze(unsqueeze_dim)
32
  sin = sin.unsqueeze(unsqueeze_dim)
 
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
 
24
  unsqueeze_dim: int = 1,
25
  ) -> Tuple[torch.Tensor, torch.Tensor]:
26
  """
27
  Rotary kernel implementation wrapper
28
+ Adapts rotary kernel implementation to match transformers apply_rotary_pos_emb signature
29
  """
30
  cos = cos.unsqueeze(unsqueeze_dim)
31
  sin = sin.unsqueeze(unsqueeze_dim)
build/torch29-cxx11-cu130-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _rotary_4463a10
3
- ops = torch.ops._rotary_4463a10
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_rotary_4463a10::{op_name}"
 
1
  import torch
2
+ from . import _rotary_1d9fc74
3
+ ops = torch.ops._rotary_1d9fc74
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_rotary_1d9fc74::{op_name}"
build/torch29-cxx11-cu130-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:929dfaa14d6e81fc74b408aa73fd30ef923786eb8f9d14786923d99b060aa235
3
  size 10304816
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b757d225723b2f749d3bd17fb309fd93041deb0fe95fc70a9d921c8856b902a2
3
  size 10304816
build/torch29-cxx11-xpu20252-x86_64-linux/__init__.py CHANGED
@@ -21,12 +21,11 @@ def apply_rotary_transformers(
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
24
- position_ids: Optional[torch.Tensor] = None,
25
  unsqueeze_dim: int = 1,
26
  ) -> Tuple[torch.Tensor, torch.Tensor]:
27
  """
28
  Rotary kernel implementation wrapper
29
- Adapts rotary kernels implementation to match transformers apply_rotary_pos_emb signature
30
  """
31
  cos = cos.unsqueeze(unsqueeze_dim)
32
  sin = sin.unsqueeze(unsqueeze_dim)
 
21
  k: torch.Tensor,
22
  cos: torch.Tensor,
23
  sin: torch.Tensor,
 
24
  unsqueeze_dim: int = 1,
25
  ) -> Tuple[torch.Tensor, torch.Tensor]:
26
  """
27
  Rotary kernel implementation wrapper
28
+ Adapts rotary kernel implementation to match transformers apply_rotary_pos_emb signature
29
  """
30
  cos = cos.unsqueeze(unsqueeze_dim)
31
  sin = sin.unsqueeze(unsqueeze_dim)
build/torch29-cxx11-xpu20252-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _rotary_4463a10
3
- ops = torch.ops._rotary_4463a10
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_rotary_4463a10::{op_name}"
 
1
  import torch
2
+ from . import _rotary_1d9fc74
3
+ ops = torch.ops._rotary_1d9fc74
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_rotary_1d9fc74::{op_name}"
build/torch29-cxx11-xpu20252-x86_64-linux/{_rotary_4463a10.abi3.so → _rotary_1d9fc74.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1e4ca11670d2d646f07c8c123fed3d3d4d40ce6ede978bbd976a0a013d393b73
3
  size 2287128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0fa6316dc5521aed26d25f895768ea0db101f4ab8c055ab692958306a628301
3
  size 2287128