RW

rwkv

RwkvGGUF by paperfunUpdated 2024-05-22
Download on Hugging Face
Parameters462M
Context—
Layers—
Architecture—
Smallest quant0.0 GB
Quick answer

rwkv needs about 0.5 GB of memory at Q4_K_M (a 0.0 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 8 quants, from 0.0 GB (Q4_K_M) to 4.6 GB.

rwkv is a 462M-parameter Rwkv model in GGUF format, quantized by paperfun. The repository has 8 quant files, from 0.0 GB (Q4_K_M) to 4.6 GB.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K_M0.0 GB 0.5 GB
Fits Get file →
Q4_K_M0.0 GB 0.5 GB
Fits Get file →
Q4_K_M0.0 GB 0.5 GB
Fits Get file →
—0.3 GB 0.8 GB
Fits Get file →
—1.0 GB 1.6 GB
Fits Get file →
—1.0 GB 1.6 GB
Fits Get file →
—1.9 GB 2.6 GB
Fits Get file →
—4.6 GB 5.7 GB
Fits Get file →

What GPU do you need for rwkv?

These figures add the file size, an fp16 KV cache at an 8K context window and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: the best quant that fits is the main file (1.9 GB file, about 2.6 GB in use).
  • 6 GB VRAM: the best quant that fits is the main file (4.6 GB file, about 5.7 GB in use).

Which rwkv quant should you choose?

Q4_K_M is the usual starting point for rwkv: it balances file size and quality well. Here it is a 0.0 GB file.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Parameters462M

Source

Quantized bypaperfun
FamilyRwkv
Repositorypaperfun/rwkv
Licenseapache-2.0
Downloads (HF)202
Last updated2024-05-22

Frequently asked questions about rwkv

How much VRAM does rwkv need?

About 0.5 GB at Q4_K_M with an 8K context window. That is the 0.0 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run rwkv on an 8 GB GPU?

Yes, with the smaller files: the 4.6 GB file needs about 5.7 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of rwkv GGUF?

It depends on the quant: Q4_K_M is 0.0 GB, Q4_K_M is 0.0 GB, Q4_K_M is 0.0 GB, file is 0.3 GB, file is 1.0 GB, file is 1.0 GB and 2 more.

Where can I download rwkv GGUF?

The files are on Hugging Face in the paperfun/rwkv repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does rwkv use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Similar models

Browse all →

More from paperfun

All by paperfun →

More Rwkv models

All Rwkv →

Other tiny models

All tiny models →