RE

replit-code-v1_5-3b

ReplitGGUF by lynnleelhlUpdated 2023-10-25
Download on Hugging Face
Parameters3.42B
Context4K
Layers32
Architecturempt
Smallest quant2.0 GB
Quick answer

replit-code-v1_5-3b needs about 3.5 GB of memory at its main file (a 2.0 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 2 quants, from 2.0 GB to 6.8 GB (F16).

replit-code-v1_5-3b is a 3.42B-parameter Replit model in GGUF format, quantized by lynnleelhl. Its trained context length is 4K tokens. The repository has 2 quant files, from 2.0 GB to 6.8 GB (F16).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—2.0 GB 3.0 GB
Fits Get file →
F166.8 GB 7.9 GB
Tight Get file →

What GPU do you need for replit-code-v1_5-3b?

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 the main file (2.0 GB file, about 3.5 GB in use).
  • 6 GB VRAM: the best quant that fits is the main file (2.0 GB file, about 3.5 GB in use).
  • 8 GB VRAM: the best quant that fits is the main file (2.0 GB file, about 3.5 GB in use).
  • 12 GB VRAM: the best quant that fits is F16 (6.8 GB file, about 8.4 GB in use).

Specifications

Architecture from the GGUF header

Architecturempt
Parameters3.42B
Layers32
Trained context4,096 tokens
KV cache (fp16)128 KB per token

Source

Quantized bylynnleelhl
FamilyReplit
Downloads (HF)26
Last updated2023-10-25

Frequently asked questions about replit-code-v1_5-3b

How much VRAM does replit-code-v1_5-3b need?

About 3.5 GB at its main file with an 8K context window. That is the 2.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 replit-code-v1_5-3b on an 8 GB GPU?

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

What is the file size of replit-code-v1_5-3b GGUF?

It depends on the quant: file is 2.0 GB, F16 is 6.8 GB.

What context length does replit-code-v1_5-3b support?

The GGUF header lists a trained context length of 4,096 tokens (4K). The KV cache grows with the context you use: about 1.1 GB at 8K and 0.5 GB at 4K.

Where can I download replit-code-v1_5-3b GGUF?

The files are on Hugging Face in the lynnleelhl/replit-code-v1_5-3b-gguf repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Similar models

Browse all →

More from lynnleelhl

All by lynnleelhl →

More Replit models

All Replit →

Other tiny models

All tiny models →