Build uploaded using `kernels`.
Browse files- build/torch27-cxx11-cu128-aarch64-linux/rotary/__pycache__/__init__.cpython-313.pyc +0 -0
- build/torch27-cxx11-cu128-aarch64-linux/rotary/__pycache__/_ops.cpython-313.pyc +0 -0
- build/torch27-cxx11-cu128-aarch64-linux/rotary/_ops.py +3 -3
- build/torch27-cxx11-cu128-aarch64-linux/rotary/{_rotary_6b8e81d.abi3.so → _rotary_6abd2a8.abi3.so} +2 -2
- build/torch28-cxx11-cu129-aarch64-linux/rotary/__pycache__/__init__.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu129-aarch64-linux/rotary/__pycache__/_ops.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu129-aarch64-linux/rotary/_ops.py +3 -3
- build/torch28-cxx11-cu129-aarch64-linux/rotary/{_rotary_005dcc7_dirty.abi3.so → _rotary_6abd2a8.abi3.so} +2 -2
- build/torch29-cxx11-cu126-aarch64-linux/rotary/__init__.py +19 -0
- build/torch29-cxx11-cu126-aarch64-linux/rotary/__pycache__/__init__.cpython-313.pyc +0 -0
- build/torch29-cxx11-cu126-aarch64-linux/rotary/__pycache__/_ops.cpython-313.pyc +0 -0
- build/torch29-cxx11-cu126-aarch64-linux/rotary/_ops.py +9 -0
- build/torch29-cxx11-cu126-aarch64-linux/rotary/_rotary_6abd2a8.abi3.so +3 -0
- build/torch29-cxx11-cu128-aarch64-linux/rotary/__init__.py +19 -0
- build/torch29-cxx11-cu128-aarch64-linux/rotary/__pycache__/__init__.cpython-313.pyc +0 -0
- build/torch29-cxx11-cu128-aarch64-linux/rotary/__pycache__/_ops.cpython-313.pyc +0 -0
- build/torch29-cxx11-cu128-aarch64-linux/rotary/_ops.py +9 -0
- build/torch29-cxx11-cu128-aarch64-linux/rotary/_rotary_6abd2a8.abi3.so +3 -0
- build/torch29-cxx11-cu130-aarch64-linux/rotary/__init__.py +19 -0
- build/torch29-cxx11-cu130-aarch64-linux/rotary/__pycache__/__init__.cpython-313.pyc +0 -0
- build/torch29-cxx11-cu130-aarch64-linux/rotary/__pycache__/_ops.cpython-313.pyc +0 -0
- build/torch29-cxx11-cu130-aarch64-linux/rotary/_ops.py +9 -0
- build/torch29-cxx11-cu130-aarch64-linux/rotary/_rotary_6abd2a8.abi3.so +3 -0
build/torch27-cxx11-cu128-aarch64-linux/rotary/__pycache__/__init__.cpython-313.pyc
ADDED
|
Binary file (813 Bytes). View file
|
|
|
build/torch27-cxx11-cu128-aarch64-linux/rotary/__pycache__/_ops.cpython-313.pyc
ADDED
|
Binary file (515 Bytes). View file
|
|
|
build/torch27-cxx11-cu128-aarch64-linux/rotary/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _rotary_6abd2a8
|
| 3 |
+
ops = torch.ops._rotary_6abd2a8
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rotary_6abd2a8::{op_name}"
|
build/torch27-cxx11-cu128-aarch64-linux/rotary/{_rotary_6b8e81d.abi3.so → _rotary_6abd2a8.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29909df0009da77fb276a0ffd328200a201b2fd06ec78c457e6c63554f4d3e2d
|
| 3 |
+
size 10639192
|
build/torch28-cxx11-cu129-aarch64-linux/rotary/__pycache__/__init__.cpython-313.pyc
CHANGED
|
Binary files a/build/torch28-cxx11-cu129-aarch64-linux/rotary/__pycache__/__init__.cpython-313.pyc and b/build/torch28-cxx11-cu129-aarch64-linux/rotary/__pycache__/__init__.cpython-313.pyc differ
|
|
|
build/torch28-cxx11-cu129-aarch64-linux/rotary/__pycache__/_ops.cpython-313.pyc
CHANGED
|
Binary files a/build/torch28-cxx11-cu129-aarch64-linux/rotary/__pycache__/_ops.cpython-313.pyc and b/build/torch28-cxx11-cu129-aarch64-linux/rotary/__pycache__/_ops.cpython-313.pyc differ
|
|
|
build/torch28-cxx11-cu129-aarch64-linux/rotary/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _rotary_6abd2a8
|
| 3 |
+
ops = torch.ops._rotary_6abd2a8
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rotary_6abd2a8::{op_name}"
|
build/torch28-cxx11-cu129-aarch64-linux/rotary/{_rotary_005dcc7_dirty.abi3.so → _rotary_6abd2a8.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d97b6efbc29c35c6a13325e8e533a8479169a75f5ca915743616cd86344a962
|
| 3 |
+
size 10705440
|
build/torch29-cxx11-cu126-aarch64-linux/rotary/__init__.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Tuple
|
| 2 |
+
import torch
|
| 3 |
+
|
| 4 |
+
from ._ops import ops
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
def apply_rotary(
|
| 8 |
+
x1: torch.Tensor,
|
| 9 |
+
x2: torch.Tensor,
|
| 10 |
+
cos: torch.Tensor,
|
| 11 |
+
sin: torch.Tensor,
|
| 12 |
+
out1: torch.Tensor,
|
| 13 |
+
out2: torch.Tensor,
|
| 14 |
+
conj: bool,
|
| 15 |
+
):
|
| 16 |
+
ops.apply_rotary(x1, x2, cos, sin, out1, out2, conj)
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
__all__ = ["apply_rotary"]
|
build/torch29-cxx11-cu126-aarch64-linux/rotary/__pycache__/__init__.cpython-313.pyc
ADDED
|
Binary file (813 Bytes). View file
|
|
|
build/torch29-cxx11-cu126-aarch64-linux/rotary/__pycache__/_ops.cpython-313.pyc
ADDED
|
Binary file (515 Bytes). View file
|
|
|
build/torch29-cxx11-cu126-aarch64-linux/rotary/_ops.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
from . import _rotary_6abd2a8
|
| 3 |
+
ops = torch.ops._rotary_6abd2a8
|
| 4 |
+
|
| 5 |
+
def add_op_namespace_prefix(op_name: str):
|
| 6 |
+
"""
|
| 7 |
+
Prefix op by namespace.
|
| 8 |
+
"""
|
| 9 |
+
return f"_rotary_6abd2a8::{op_name}"
|
build/torch29-cxx11-cu126-aarch64-linux/rotary/_rotary_6abd2a8.abi3.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5989f8b6f24625e8d23b888fb833d7c00ada8a4cfee0708868a45c63562d7f3e
|
| 3 |
+
size 6904016
|
build/torch29-cxx11-cu128-aarch64-linux/rotary/__init__.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Tuple
|
| 2 |
+
import torch
|
| 3 |
+
|
| 4 |
+
from ._ops import ops
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
def apply_rotary(
|
| 8 |
+
x1: torch.Tensor,
|
| 9 |
+
x2: torch.Tensor,
|
| 10 |
+
cos: torch.Tensor,
|
| 11 |
+
sin: torch.Tensor,
|
| 12 |
+
out1: torch.Tensor,
|
| 13 |
+
out2: torch.Tensor,
|
| 14 |
+
conj: bool,
|
| 15 |
+
):
|
| 16 |
+
ops.apply_rotary(x1, x2, cos, sin, out1, out2, conj)
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
__all__ = ["apply_rotary"]
|
build/torch29-cxx11-cu128-aarch64-linux/rotary/__pycache__/__init__.cpython-313.pyc
ADDED
|
Binary file (813 Bytes). View file
|
|
|
build/torch29-cxx11-cu128-aarch64-linux/rotary/__pycache__/_ops.cpython-313.pyc
ADDED
|
Binary file (515 Bytes). View file
|
|
|
build/torch29-cxx11-cu128-aarch64-linux/rotary/_ops.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
from . import _rotary_6abd2a8
|
| 3 |
+
ops = torch.ops._rotary_6abd2a8
|
| 4 |
+
|
| 5 |
+
def add_op_namespace_prefix(op_name: str):
|
| 6 |
+
"""
|
| 7 |
+
Prefix op by namespace.
|
| 8 |
+
"""
|
| 9 |
+
return f"_rotary_6abd2a8::{op_name}"
|
build/torch29-cxx11-cu128-aarch64-linux/rotary/_rotary_6abd2a8.abi3.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ba1a791e97b5293c4ce2c108f8616c0d4a85d0e862025823ed87fe20c8810d0
|
| 3 |
+
size 10640216
|
build/torch29-cxx11-cu130-aarch64-linux/rotary/__init__.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Tuple
|
| 2 |
+
import torch
|
| 3 |
+
|
| 4 |
+
from ._ops import ops
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
def apply_rotary(
|
| 8 |
+
x1: torch.Tensor,
|
| 9 |
+
x2: torch.Tensor,
|
| 10 |
+
cos: torch.Tensor,
|
| 11 |
+
sin: torch.Tensor,
|
| 12 |
+
out1: torch.Tensor,
|
| 13 |
+
out2: torch.Tensor,
|
| 14 |
+
conj: bool,
|
| 15 |
+
):
|
| 16 |
+
ops.apply_rotary(x1, x2, cos, sin, out1, out2, conj)
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
__all__ = ["apply_rotary"]
|
build/torch29-cxx11-cu130-aarch64-linux/rotary/__pycache__/__init__.cpython-313.pyc
ADDED
|
Binary file (813 Bytes). View file
|
|
|
build/torch29-cxx11-cu130-aarch64-linux/rotary/__pycache__/_ops.cpython-313.pyc
ADDED
|
Binary file (515 Bytes). View file
|
|
|
build/torch29-cxx11-cu130-aarch64-linux/rotary/_ops.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
from . import _rotary_6abd2a8
|
| 3 |
+
ops = torch.ops._rotary_6abd2a8
|
| 4 |
+
|
| 5 |
+
def add_op_namespace_prefix(op_name: str):
|
| 6 |
+
"""
|
| 7 |
+
Prefix op by namespace.
|
| 8 |
+
"""
|
| 9 |
+
return f"_rotary_6abd2a8::{op_name}"
|
build/torch29-cxx11-cu130-aarch64-linux/rotary/_rotary_6abd2a8.abi3.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53bf19b8a4260ba1807b36f0f6559b9b49aeb0954549e370632c1268dea360b7
|
| 3 |
+
size 9688688
|