Easy-to-use RWKV-6 (x060) implementation
Project description
rwkv_simple
rwkv_simple is an easy-to-use implementation of RWKV-6 (x060). We support
multiple WKV kernels (a Triton-based one from Flash Linear Attention, the official
CUDA kernel, and a pure-PyTorch one).
Flash Linear Attention
We use the WKV6 kernel from the Flash Linear Attention (FLA) project by default, so for best performance, please install FLA directly from its repository:
pip install -U git+https://github.com/sustcsonglin/flash-linear-attention
See: https://github.com/sustcsonglin/flash-linear-attention.
License
Copyright © 2024 Ronsor Labs. Licensed under the Apache License, version 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rwkv_simple-0.1.0.tar.gz.
File metadata
- Download URL: rwkv_simple-0.1.0.tar.gz
- Upload date:
- Size: 392.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afcfe968b206a796996d05c541a1a603bde09e32dd1583979e16cc2ad7b064dc
|
|
| MD5 |
040a471591531c7adce6c1d1f61930c2
|
|
| BLAKE2b-256 |
b0f35b47c95d35f3aadfa201f202466c51be24afbc8c3aa2b47058bb0ff0ba85
|
File details
Details for the file rwkv_simple-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rwkv_simple-0.1.0-py3-none-any.whl
- Upload date:
- Size: 391.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6a8dac4601ab25be088db1ac015af87d09855e609f13df42a18fef000fd1ff7
|
|
| MD5 |
dd4cca5eec68fbb84402e5fe974f4e23
|
|
| BLAKE2b-256 |
bdd7ea9e9ab205eaf66c96a40463852668ed470c0b68eed81a935b7e15a379df
|