VI

vit.cpp

VitGGUF by staghadoUpdated 2023-11-28
Download on Hugging Face
Parameters87M
Context—
Layers—
Architecture—
Smallest quant0.0 GB
Quick answer

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

vit.cpp is a 87M-parameter Vit model in GGUF format, quantized by staghado. The repository has 4 quant files, from 0.0 GB (F16) to 0.6 GB (F16).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
F160.0 GB 0.5 GB
Fits Get file →
F160.0 GB 0.5 GB
Fits Get file →
F160.2 GB 0.7 GB
Fits Get file →
F160.6 GB 1.2 GB
Fits Get file →

What GPU do you need for vit.cpp?

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 F16 (0.6 GB file, about 1.2 GB in use).

Which vit.cpp quant should you choose?

F16 (0.0 GB) is the middle option in this repository. The unquantized model. It gives original quality and needs the most memory, so it is mainly for conversion or reference.

If memory is tight, the smallest file is F16 at 0.0 GB, with the quality trade-offs that come with fewer bits. The unquantized model. It gives original quality and needs the most memory, so it is mainly for conversion or reference.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Parameters87M

Source

Quantized bystaghado
FamilyVit
Licensemit
Downloads (HF)149
Last updated2023-11-28

Frequently asked questions about vit.cpp

How much VRAM does vit.cpp need?

About 0.5 GB at F16 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 vit.cpp on an 8 GB GPU?

Yes, with F16: the 0.6 GB file needs about 1.2 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of vit.cpp GGUF?

It depends on the quant: F16 is 0.0 GB, F16 is 0.0 GB, F16 is 0.2 GB, F16 is 0.6 GB.

Where can I download vit.cpp GGUF?

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

What license does vit.cpp use?

Hugging Face lists the license as mit. 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 staghado

All by staghado →

More Vit models

All Vit →

Other tiny models

All tiny models →