Instructions to use kernels-community/flash-attn3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/flash-attn3 with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/flash-attn3") - Notebooks
- Google Colab
- Kaggle
Uploaded using `kernel-builder`.
Browse files- build/torch210-cxx11-cu128-x86_64-linux/{_flash_attn3_cuda_c0d7fe3.abi3.so β _flash_attn3_cuda_745a0b9.abi3.so} +1 -1
- build/torch210-cxx11-cu128-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu130-x86_64-linux/{_flash_attn3_cuda_c0d7fe3.abi3.so β _flash_attn3_cuda_745a0b9.abi3.so} +1 -1
- build/torch210-cxx11-cu130-x86_64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu128-x86_64-linux/{_flash_attn3_cuda_c0d7fe3.abi3.so β _flash_attn3_cuda_745a0b9.abi3.so} +1 -1
- build/torch211-cxx11-cu128-x86_64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu130-x86_64-linux/{_flash_attn3_cuda_c0d7fe3.abi3.so β _flash_attn3_cuda_745a0b9.abi3.so} +1 -1
- build/torch211-cxx11-cu130-x86_64-linux/_ops.py +3 -3
- build/torch29-cxx11-cu129-x86_64-linux/{_flash_attn3_cuda_c0d7fe3.abi3.so β _flash_attn3_cuda_745a0b9.abi3.so} +1 -1
- build/torch29-cxx11-cu129-x86_64-linux/_ops.py +3 -3
build/torch210-cxx11-cu128-x86_64-linux/{_flash_attn3_cuda_c0d7fe3.abi3.so β _flash_attn3_cuda_745a0b9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 804191136
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:756aae58614c002a315bcf1f52e7fc378cb4d884d0ceb096d0590a8f82018e61
|
| 3 |
size 804191136
|
build/torch210-cxx11-cu128-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 _flash_attn3_cuda_745a0b9
|
| 3 |
+
ops = torch.ops._flash_attn3_cuda_745a0b9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_flash_attn3_cuda_745a0b9::{op_name}"
|
build/torch210-cxx11-cu130-x86_64-linux/{_flash_attn3_cuda_c0d7fe3.abi3.so β _flash_attn3_cuda_745a0b9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 824303512
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55ffcbefcdeb765d3e3b361ed68fb198733de06d39a3a15475036258ee5cc249
|
| 3 |
size 824303512
|
build/torch210-cxx11-cu130-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 _flash_attn3_cuda_745a0b9
|
| 3 |
+
ops = torch.ops._flash_attn3_cuda_745a0b9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_flash_attn3_cuda_745a0b9::{op_name}"
|
build/torch211-cxx11-cu128-x86_64-linux/{_flash_attn3_cuda_c0d7fe3.abi3.so β _flash_attn3_cuda_745a0b9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 804184120
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ee49149e957496ef23472adce51937fa6adf6b45951eb5acd4902cb3f694e1f
|
| 3 |
size 804184120
|
build/torch211-cxx11-cu128-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 _flash_attn3_cuda_745a0b9
|
| 3 |
+
ops = torch.ops._flash_attn3_cuda_745a0b9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_flash_attn3_cuda_745a0b9::{op_name}"
|
build/torch211-cxx11-cu130-x86_64-linux/{_flash_attn3_cuda_c0d7fe3.abi3.so β _flash_attn3_cuda_745a0b9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 824292392
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5e4a54b36f3743450a92f6bc6c3fcaf7d816a7d122cc25e64f883fe888bcb4b
|
| 3 |
size 824292392
|
build/torch211-cxx11-cu130-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 _flash_attn3_cuda_745a0b9
|
| 3 |
+
ops = torch.ops._flash_attn3_cuda_745a0b9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_flash_attn3_cuda_745a0b9::{op_name}"
|
build/torch29-cxx11-cu129-x86_64-linux/{_flash_attn3_cuda_c0d7fe3.abi3.so β _flash_attn3_cuda_745a0b9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 804429184
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68e957aeba25d554fd8f41282deee71b3a5b70fae45a9e3f665317f55235a010
|
| 3 |
size 804429184
|
build/torch29-cxx11-cu129-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 _flash_attn3_cuda_745a0b9
|
| 3 |
+
ops = torch.ops._flash_attn3_cuda_745a0b9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_flash_attn3_cuda_745a0b9::{op_name}"
|