LL

llama cpp canister models

LlamaGGUF by onicaiUpdated 2024-09-26
Download on Hugging Face
Parameters134M
Context128
Layers—
Architecturellama
Smallest quant0.0 GB
Quick answer

llama cpp canister models needs about 0.6 GB of memory at its main file (a 0.1 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 6 quants, from 0.0 GB to 0.5 GB.

llama cpp canister models is a 134M-parameter Llama model in GGUF format, quantized by onicai. Its trained context length is 128 tokens. The repository has 6 quant files, from 0.0 GB to 0.5 GB.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—0.0 GB 0.5 GB
Fits Get file →
—0.0 GB 0.5 GB
Fits Get file →
—0.1 GB 0.6 GB
Fits Get file →
—0.1 GB 0.6 GB
Fits Get file →
—0.2 GB 0.7 GB
Fits Get file →
—0.5 GB 1.0 GB
Fits Get file →

What GPU do you need for llama cpp canister models?

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 (0.5 GB file, about 1.1 GB in use).

Which llama cpp canister models quant should you choose?

If memory is tight, the smallest file is the first one in the table at 0.0 GB, with the quality trade-offs that come with fewer bits.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters134M
Trained context128 tokens

Source

Quantized byonicai
FamilyLlama
Licensemit
Downloads (HF)21
Last updated2024-09-26

Frequently asked questions about llama cpp canister models

How much VRAM does llama cpp canister models need?

About 0.6 GB at its main file with an 8K context window. That is the 0.1 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 llama cpp canister models on an 8 GB GPU?

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

What is the file size of llama cpp canister models GGUF?

It depends on the quant: file is 0.0 GB, file is 0.0 GB, file is 0.1 GB, file is 0.1 GB, file is 0.2 GB, file is 0.5 GB.

What context length does llama cpp canister models support?

The GGUF header lists a trained context length of 128 tokens (128).

Where can I download llama cpp canister models GGUF?

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

What license does llama cpp canister models 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 onicai

All by onicai →

More Llama models

All Llama →

Other tiny models

All tiny models →