Download NOTICE from Hakureirm/rwkv7-kernel: direct link, hf CLI and curl.
- Browser
- Download file 2.05 kB
-
https://huggingface.co/Hakureirm/rwkv7-kernel/resolve/main/NOTICE
- Command line
-
hf download hf://Hakureirm/rwkv7-kernel/NOTICE
-
curl -L -o NOTICE https://huggingface.co/Hakureirm/rwkv7-kernel/resolve/main/NOTICE
2.05 kB
| rwkv7-kernel | |
| ============ | |
| The portable reference paths in this package (`rwkv7_recurrent`, | |
| `rwkv7_chunked`, `rwkv7_eager` and the triangular-inverse helper) are carried | |
| verbatim from the RWKV-7 implementation submitted to Hugging Face | |
| `transformers` (huggingface/transformers#47780), same author, Apache-2.0. | |
| They are the definition of correct that the Triton decode specialisation in | |
| this package is checked against. | |
| No code in this package derives from BlinkDL/Albatross or any third-party | |
| kernel; the Triton kernel was written against the reference semantics. | |
| sparse_cmix.cu — sparse squared-ReLU channel-mix value projection (CUDA) | |
| ------------------------------------------------------------------------ | |
| `build/torch-universal/rwkv7_kernel/csrc/sparse_cmix.cu` contains code derived | |
| from BlinkDL / Albatross (https://github.com/BlinkDL/Albatross), Copyright (c) | |
| BlinkDL / Bo Peng, Apache-2.0 — see ALBATROSS_LICENSE. The chain is | |
| Albatross (`faster3b_2606/cuda/rwkv7_mega_ops_260602.cu`, | |
| `cmix_sparse_down_relu_one_vtile_hfma2_split2_kernel`) -> the RWKV-7 sglang | |
| overlay at https://github.com/Hakureirm/rwkv-sglang -> the rwkv-hf-kernels | |
| package (same author) -> here. Retained: the per-tile ballot/popc/warp-prefix | |
| compaction of nonzero rows and the tiled weight layout. Modified: fp32 register | |
| accumulation and output buffer (replacing half2 hfma2), the hook takes the | |
| already-activated vector (`Rwkv7FeedForward._project`), a fused finalize pass, | |
| PDL dropped, and IEEE arithmetic by default. Full modification record: | |
| rwkv-hf-kernels' NOTICE, which this section carries forward per Apache-2.0 §4(b). | |
| rwkv7_wkv.cu — batched fp16 decode WKV step (CUDA) | |
| -------------------------------------------------- | |
| Original work by this package's author (no Albatross or third-party kernel | |
| derivation), carried from the RWKV-7 sglang overlay at | |
| https://github.com/Hakureirm/rwkv-sglang, where it is validated bitwise per | |
| state dtype against an independently-written Triton oracle (exact association | |
| tree documented in the source header). | |