LL

nano llama

LlamaGGUF by jantxuUpdated 2024-04-18
Download on Hugging Face
Parameters17M
Context512
Layers1
Architecturellama
Smallest quant0.0 GB
Quick answer

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

nano llama is a 17M-parameter Llama model in GGUF format, quantized by jantxu. Its trained context length is 512 tokens. The repository has 2 quant files, from 0.0 GB to 0.1 GB (F32).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—0.0 GB 0.5 GB
Fits Get file →
F320.1 GB 0.6 GB
Fits Get file →

What GPU do you need for nano llama?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) 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 F32 (0.1 GB file, about 0.6 GB in use).

Specifications

Architecture from the GGUF header

Architecturellama
Parameters17M
Layers1
Trained context512 tokens
KV cache (fp16)1 KB per token

Source

Quantized byjantxu
FamilyLlama
Licensemit
Downloads (HF)75
Last updated2024-04-18

Frequently asked questions about nano llama

How much VRAM does nano llama need?

About 0.5 GB at its main file 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 nano llama on an 8 GB GPU?

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

What is the file size of nano llama GGUF?

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

What context length does nano llama support?

The GGUF header lists a trained context length of 512 tokens (512). The KV cache grows with the context you use: about 0.0 GB at 8K and 0.0 GB at 512.

Where can I download nano llama GGUF?

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

What license does nano llama 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 jantxu

All by jantxu →

More Llama models

All Llama →

Other tiny models

All tiny models →