Instructions to use kernels-community/paged-attention with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/paged-attention with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/paged-attention") - Notebooks
- Google Colab
- Kaggle
Build uploaded using `kernels`.
Browse files- build/torch210-metal-aarch64-darwin/_ops.py +3 -3
- build/torch210-metal-aarch64-darwin/{_paged_attention_2e989ce.abi3.so → _paged_attention_7c06fa7.abi3.so} +1 -1
- build/torch28-metal-aarch64-darwin/_ops.py +3 -3
- build/torch28-metal-aarch64-darwin/{_paged_attention_2e989ce.abi3.so → _paged_attention_7c06fa7.abi3.so} +1 -1
- build/torch29-metal-aarch64-darwin/_ops.py +3 -3
- build/torch29-metal-aarch64-darwin/{_paged_attention_2e989ce.abi3.so → _paged_attention_7c06fa7.abi3.so} +1 -1
build/torch210-metal-aarch64-darwin/_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 _paged_attention_7c06fa7
|
| 3 |
+
ops = torch.ops._paged_attention_7c06fa7
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_paged_attention_7c06fa7::{op_name}"
|
build/torch210-metal-aarch64-darwin/{_paged_attention_2e989ce.abi3.so → _paged_attention_7c06fa7.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14893520
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0d79d8c4e11fa968221bc0cbb219f8bacc231a2a2a8b1a739acdc4ba41045cd
|
| 3 |
size 14893520
|
build/torch28-metal-aarch64-darwin/_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 _paged_attention_7c06fa7
|
| 3 |
+
ops = torch.ops._paged_attention_7c06fa7
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_paged_attention_7c06fa7::{op_name}"
|
build/torch28-metal-aarch64-darwin/{_paged_attention_2e989ce.abi3.so → _paged_attention_7c06fa7.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14892816
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0626edd9c58bef7c74b32cbdb73219d4e49fb650a0098726c4856dab33888306
|
| 3 |
size 14892816
|
build/torch29-metal-aarch64-darwin/_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 _paged_attention_7c06fa7
|
| 3 |
+
ops = torch.ops._paged_attention_7c06fa7
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_paged_attention_7c06fa7::{op_name}"
|
build/torch29-metal-aarch64-darwin/{_paged_attention_2e989ce.abi3.so → _paged_attention_7c06fa7.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14893088
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb271651320e5ebb694a54adb389eb7b2beb4f033238a0a5252ee97e3b0efd85
|
| 3 |
size 14893088
|