Instructions to use kernels-community/rwkv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/rwkv with Kernels:
# !pip install kernels from kernels import get_kernel # a version (or an explicit revision) is required; see the "Files and versions" tab for the available ones kernel = get_kernel("kernels-community/rwkv", version=1) - Notebooks
- Google Colab
- Kaggle
Uploaded using `kernel-builder`.
Browse files- .gitattributes +6 -0
- build/torch210-cxx11-cu126-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu126-aarch64-linux/{_rwkv_cuda_3798a3c.abi3.so → _rwkv_cuda_86f75d9.abi3.so} +1 -1
- build/torch210-cxx11-cu126-aarch64-linux/metadata.json +2 -0
- build/torch210-cxx11-cu128-aarch64-linux/_ops.py +3 -3
- build/{torch211-cxx11-cu128-aarch64-linux/_rwkv_cuda_3798a3c.abi3.so → torch210-cxx11-cu128-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so} +1 -1
- build/torch210-cxx11-cu128-aarch64-linux/metadata.json +2 -0
- build/torch210-cxx11-cu130-aarch64-linux/_ops.py +3 -3
- build/{torch211-cxx11-cu130-aarch64-linux/_rwkv_cuda_3798a3c.abi3.so → torch210-cxx11-cu130-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so} +1 -1
- build/torch210-cxx11-cu130-aarch64-linux/metadata.json +2 -0
- build/torch211-cxx11-cu126-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu126-aarch64-linux/{_rwkv_cuda_3798a3c.abi3.so → _rwkv_cuda_86f75d9.abi3.so} +1 -1
- build/torch211-cxx11-cu126-aarch64-linux/metadata.json +2 -0
- build/torch211-cxx11-cu128-aarch64-linux/_ops.py +3 -3
- build/{torch210-cxx11-cu128-aarch64-linux/_rwkv_cuda_3798a3c.abi3.so → torch211-cxx11-cu128-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so} +1 -1
- build/torch211-cxx11-cu128-aarch64-linux/metadata.json +2 -0
- build/torch211-cxx11-cu130-aarch64-linux/_ops.py +3 -3
- build/{torch210-cxx11-cu130-aarch64-linux/_rwkv_cuda_3798a3c.abi3.so → torch211-cxx11-cu130-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so} +1 -1
- build/torch211-cxx11-cu130-aarch64-linux/metadata.json +2 -0
.gitattributes
CHANGED
|
@@ -138,3 +138,9 @@ build/torch211-cxx11-cu126-x86_64-linux/_rwkv_cuda_3798a3c.abi3.so filter=lfs di
|
|
| 138 |
build/torch211-cxx11-cu128-x86_64-linux/_rwkv_cuda_3798a3c.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 139 |
build/torch211-cxx11-cu130-x86_64-linux/_rwkv_cuda_3798a3c.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 140 |
build/torch29-cxx11-cu129-x86_64-linux/_rwkv_cuda_3798a3c.abi3.so filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
build/torch211-cxx11-cu128-x86_64-linux/_rwkv_cuda_3798a3c.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 139 |
build/torch211-cxx11-cu130-x86_64-linux/_rwkv_cuda_3798a3c.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 140 |
build/torch29-cxx11-cu129-x86_64-linux/_rwkv_cuda_3798a3c.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 141 |
+
build/torch210-cxx11-cu126-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 142 |
+
build/torch210-cxx11-cu128-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 143 |
+
build/torch210-cxx11-cu130-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 144 |
+
build/torch211-cxx11-cu126-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 145 |
+
build/torch211-cxx11-cu128-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 146 |
+
build/torch211-cxx11-cu130-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
build/torch210-cxx11-cu126-aarch64-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 _rwkv_cuda_86f75d9
|
| 3 |
+
ops = torch.ops._rwkv_cuda_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rwkv_cuda_86f75d9::{op_name}"
|
build/torch210-cxx11-cu126-aarch64-linux/{_rwkv_cuda_3798a3c.abi3.so → _rwkv_cuda_86f75d9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2232072
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db4d37ddbafb2f617859098993d32d43db0fc9db93e98505efa79b4bd282a030
|
| 3 |
size 2232072
|
build/torch210-cxx11-cu126-aarch64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "rwkv",
|
| 3 |
+
"id": "_rwkv_cuda_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch210-cxx11-cu128-aarch64-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 _rwkv_cuda_86f75d9
|
| 3 |
+
ops = torch.ops._rwkv_cuda_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rwkv_cuda_86f75d9::{op_name}"
|
build/{torch211-cxx11-cu128-aarch64-linux/_rwkv_cuda_3798a3c.abi3.so → torch210-cxx11-cu128-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2428792
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e06058a91fcd84154ad74740166945559d8d1a02b3cadef47149d0bf5dc673a
|
| 3 |
size 2428792
|
build/torch210-cxx11-cu128-aarch64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "rwkv",
|
| 3 |
+
"id": "_rwkv_cuda_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch210-cxx11-cu130-aarch64-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 _rwkv_cuda_86f75d9
|
| 3 |
+
ops = torch.ops._rwkv_cuda_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rwkv_cuda_86f75d9::{op_name}"
|
build/{torch211-cxx11-cu130-aarch64-linux/_rwkv_cuda_3798a3c.abi3.so → torch210-cxx11-cu130-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2433400
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be9f74b4a43cafcd2c41f7424dc65f63825654fc0ad077f8b3d5ce0ba146eede
|
| 3 |
size 2433400
|
build/torch210-cxx11-cu130-aarch64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "rwkv",
|
| 3 |
+
"id": "_rwkv_cuda_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch211-cxx11-cu126-aarch64-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 _rwkv_cuda_86f75d9
|
| 3 |
+
ops = torch.ops._rwkv_cuda_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rwkv_cuda_86f75d9::{op_name}"
|
build/torch211-cxx11-cu126-aarch64-linux/{_rwkv_cuda_3798a3c.abi3.so → _rwkv_cuda_86f75d9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2232072
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da8acbdf94af9a4245064830b237dbb79a5ed61f66bf5baec9753257c0269d60
|
| 3 |
size 2232072
|
build/torch211-cxx11-cu126-aarch64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "rwkv",
|
| 3 |
+
"id": "_rwkv_cuda_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch211-cxx11-cu128-aarch64-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 _rwkv_cuda_86f75d9
|
| 3 |
+
ops = torch.ops._rwkv_cuda_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rwkv_cuda_86f75d9::{op_name}"
|
build/{torch210-cxx11-cu128-aarch64-linux/_rwkv_cuda_3798a3c.abi3.so → torch211-cxx11-cu128-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2428792
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2bb5666854e7d30a79b3665bdb4dc1b414e1e99e0f9b6c6b830bb5e040c4723e
|
| 3 |
size 2428792
|
build/torch211-cxx11-cu128-aarch64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "rwkv",
|
| 3 |
+
"id": "_rwkv_cuda_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch211-cxx11-cu130-aarch64-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 _rwkv_cuda_86f75d9
|
| 3 |
+
ops = torch.ops._rwkv_cuda_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rwkv_cuda_86f75d9::{op_name}"
|
build/{torch210-cxx11-cu130-aarch64-linux/_rwkv_cuda_3798a3c.abi3.so → torch211-cxx11-cu130-aarch64-linux/_rwkv_cuda_86f75d9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2433400
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35da2e270b6779a634d2e41b07f385952e3689b8d5aa66da14f70c029388b3f3
|
| 3 |
size 2433400
|
build/torch211-cxx11-cu130-aarch64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "rwkv",
|
| 3 |
+
"id": "_rwkv_cuda_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|