Kernels:
Trusted publisher
Uploaded using `kernel-builder`.
Browse files- build/torch210-cxx11-xpu20253-x86_64-linux/__init__.py +4 -0
- build/torch210-cxx11-xpu20253-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-xpu20253-x86_64-linux/{_rotary_xpu_725ebfc.abi3.so → _rotary_xpu_52256cf.abi3.so} +1 -1
- build/torch210-cxx11-xpu20253-x86_64-linux/metadata.json +1 -1
- build/torch211-cxx11-xpu20253-x86_64-linux/__init__.py +4 -0
- build/torch211-cxx11-xpu20253-x86_64-linux/_ops.py +3 -3
- build/torch211-cxx11-xpu20253-x86_64-linux/{_rotary_xpu_725ebfc.abi3.so → _rotary_xpu_52256cf.abi3.so} +1 -1
- build/torch211-cxx11-xpu20253-x86_64-linux/metadata.json +1 -1
- build/torch212-cxx11-xpu20253-x86_64-linux/__init__.py +4 -0
- build/torch212-cxx11-xpu20253-x86_64-linux/_ops.py +3 -3
- build/torch212-cxx11-xpu20253-x86_64-linux/{_rotary_xpu_725ebfc.abi3.so → _rotary_xpu_52256cf.abi3.so} +1 -1
- build/torch212-cxx11-xpu20253-x86_64-linux/metadata.json +1 -1
build/torch210-cxx11-xpu20253-x86_64-linux/__init__.py
CHANGED
|
@@ -49,4 +49,8 @@ def apply_rotary_transformers(
|
|
| 49 |
return q_rotated, k_rotated
|
| 50 |
|
| 51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
__all__ = ["apply_rotary", "apply_rotary_transformers"]
|
|
|
|
| 49 |
return q_rotated, k_rotated
|
| 50 |
|
| 51 |
|
| 52 |
+
# Add torch compile support for functions
|
| 53 |
+
apply_rotary_transformers.can_torch_compile = True
|
| 54 |
+
|
| 55 |
+
|
| 56 |
__all__ = ["apply_rotary", "apply_rotary_transformers"]
|
build/torch210-cxx11-xpu20253-x86_64-linux/_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_xpu_52256cf
|
| 3 |
+
ops = torch.ops._rotary_xpu_52256cf
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rotary_xpu_52256cf::{op_name}"
|
build/torch210-cxx11-xpu20253-x86_64-linux/{_rotary_xpu_725ebfc.abi3.so → _rotary_xpu_52256cf.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2301504
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b1d496bc88d1cd6f9a21603cc730b35d9a49952efce5cc216b6fc67c3099f944
|
| 3 |
size 2301504
|
build/torch210-cxx11-xpu20253-x86_64-linux/metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"name": "rotary",
|
| 3 |
-
"id": "
|
| 4 |
"version": 1,
|
| 5 |
"license": "BSD-3-Clause",
|
| 6 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
"name": "rotary",
|
| 3 |
+
"id": "_rotary_xpu_52256cf",
|
| 4 |
"version": 1,
|
| 5 |
"license": "BSD-3-Clause",
|
| 6 |
"python-depends": [],
|
build/torch211-cxx11-xpu20253-x86_64-linux/__init__.py
CHANGED
|
@@ -49,4 +49,8 @@ def apply_rotary_transformers(
|
|
| 49 |
return q_rotated, k_rotated
|
| 50 |
|
| 51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
__all__ = ["apply_rotary", "apply_rotary_transformers"]
|
|
|
|
| 49 |
return q_rotated, k_rotated
|
| 50 |
|
| 51 |
|
| 52 |
+
# Add torch compile support for functions
|
| 53 |
+
apply_rotary_transformers.can_torch_compile = True
|
| 54 |
+
|
| 55 |
+
|
| 56 |
__all__ = ["apply_rotary", "apply_rotary_transformers"]
|
build/torch211-cxx11-xpu20253-x86_64-linux/_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_xpu_52256cf
|
| 3 |
+
ops = torch.ops._rotary_xpu_52256cf
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rotary_xpu_52256cf::{op_name}"
|
build/torch211-cxx11-xpu20253-x86_64-linux/{_rotary_xpu_725ebfc.abi3.so → _rotary_xpu_52256cf.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2301504
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4f3ab5b649d720e45f5deff8a9f7b8ea9b83c9155e21cc1a1e9cee74df1c62b
|
| 3 |
size 2301504
|
build/torch211-cxx11-xpu20253-x86_64-linux/metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"name": "rotary",
|
| 3 |
-
"id": "
|
| 4 |
"version": 1,
|
| 5 |
"license": "BSD-3-Clause",
|
| 6 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
"name": "rotary",
|
| 3 |
+
"id": "_rotary_xpu_52256cf",
|
| 4 |
"version": 1,
|
| 5 |
"license": "BSD-3-Clause",
|
| 6 |
"python-depends": [],
|
build/torch212-cxx11-xpu20253-x86_64-linux/__init__.py
CHANGED
|
@@ -49,4 +49,8 @@ def apply_rotary_transformers(
|
|
| 49 |
return q_rotated, k_rotated
|
| 50 |
|
| 51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
__all__ = ["apply_rotary", "apply_rotary_transformers"]
|
|
|
|
| 49 |
return q_rotated, k_rotated
|
| 50 |
|
| 51 |
|
| 52 |
+
# Add torch compile support for functions
|
| 53 |
+
apply_rotary_transformers.can_torch_compile = True
|
| 54 |
+
|
| 55 |
+
|
| 56 |
__all__ = ["apply_rotary", "apply_rotary_transformers"]
|
build/torch212-cxx11-xpu20253-x86_64-linux/_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_xpu_52256cf
|
| 3 |
+
ops = torch.ops._rotary_xpu_52256cf
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rotary_xpu_52256cf::{op_name}"
|
build/torch212-cxx11-xpu20253-x86_64-linux/{_rotary_xpu_725ebfc.abi3.so → _rotary_xpu_52256cf.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2301512
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4c8a87d9c94e93129c0e95be4e986ae1e1c0f1db2462697f7fa6dccaa8b3a06
|
| 3 |
size 2301512
|
build/torch212-cxx11-xpu20253-x86_64-linux/metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"name": "rotary",
|
| 3 |
-
"id": "
|
| 4 |
"version": 1,
|
| 5 |
"license": "BSD-3-Clause",
|
| 6 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
"name": "rotary",
|
| 3 |
+
"id": "_rotary_xpu_52256cf",
|
| 4 |
"version": 1,
|
| 5 |
"license": "BSD-3-Clause",
|
| 6 |
"python-depends": [],
|