Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rwkv_simple-0.1.1.tar.gz (392.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rwkv_simple-0.1.1-py3-none-any.whl (391.0 kB view details)

Uploaded Python 3

File details

Details for the file rwkv_simple-0.1.1.tar.gz.

File metadata

  • Download URL: rwkv_simple-0.1.1.tar.gz
  • Upload date:
  • Size: 392.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.6

File hashes

Hashes for rwkv_simple-0.1.1.tar.gz
Algorithm Hash digest
SHA256 08f71a2f2e4c4738621577f839b798352686221f83e56f30b127d4ca37d37550
MD5 ef3e6eb921bfa4825a61c5ac320ae4d2
BLAKE2b-256 5d1466d49d1a10aa22880bccb85754e1a402c716503868f6536e355d6ed047eb

See more details on using hashes here.

File details

Details for the file rwkv_simple-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: rwkv_simple-0.1.1-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

Hashes for rwkv_simple-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6aa731bc855f405d4ba2a3472960943905681986a4576a48bd86ef604fc813b4
MD5 6cfe6b30504b4299327cd30e0371125b
BLAKE2b-256 104c5eb1160c7fa350c7b588a9a7f0e663f24b2917fcedbdd815c537c9ac8261

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page