Initialize legacy kernels compatibility mirror
Browse files
README.md
CHANGED
|
@@ -1,23 +1,9 @@
|
|
| 1 |
-
# masked-mha-runtime
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
keeps caller-owned logits/output buffers stable across graph replay.
|
| 6 |
|
| 7 |
-
|
| 8 |
-
from kernels import get_kernel
|
| 9 |
-
import torch
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
out = torch.empty_like(q, memory_format=torch.contiguous_format)
|
| 14 |
-
ops.forward_static(q, k, v, logits=logits, out=out)
|
| 15 |
-
```
|
| 16 |
-
|
| 17 |
-
Public functions are `allocate_workspace`, `forward_static`, and `forward`.
|
| 18 |
-
Inputs use `(sequence, heads, head_dim)`. The production GROOT gate covers
|
| 19 |
-
DiT `(41, 32, 48)`, ViT/LLM sequence lengths `277/1024`, padded boundaries
|
| 20 |
-
`1025/2048`, FP16 and BF16, fused strides, and bitwise CUDA Graph replay.
|
| 21 |
-
|
| 22 |
-
See [CARD.md](CARD.md) for the complete contract. Source provenance is FlashRT
|
| 23 |
-
commit `24df793f4fa2d50780aea03b644208c6e0cb4162`.
|
|
|
|
| 1 |
+
# flashrt/masked-mha-runtime
|
| 2 |
|
| 3 |
+
This repository is a compatibility mirror for older `kernels` clients
|
| 4 |
+
that resolve repositories through the default Hugging Face model repo API.
|
|
|
|
| 5 |
|
| 6 |
+
Canonical Kernel Hub repo: https://huggingface.co/kernels/flashrt/masked-mha-runtime
|
|
|
|
|
|
|
| 7 |
|
| 8 |
+
Do not edit this mirror by hand. It is generated from the Kernel Hub
|
| 9 |
+
`vN` branches and contains the same `build/**` artifacts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|