selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

LiquidAI logo

Can the RTX 4070 run d1-2B?

d1-2B·1.9B·GeForce RTX 4070·12 GB VRAM

Saved in this browser, used on every model page.
Yes

Yes. The RTX 4070 runs d1-2B fully in VRAM at FP16 / BF16 (about 4.3 GB of 12 GB), at roughly 72 tokens/s.

best quant
FP16 / BF16
needs
4.3 GB
usable
12 GB
est. speed
~72 tok/s

Estimates for an 8K context; offload assumes 32 GB of system RAM.Try other contexts on the d1-2B page →

Every quantisation of d1-2B on the RTX 4070

QuantQualityMemoryFitSpeed
Q2_K Heavy loss1.5 GBfits~440 tok/s
Q3_K_M Noticeable loss1.8 GBfits~296 tok/s
Q4_K_M Small loss1.9 GBfits~238 tok/s
Q5_K_M Near-lossless2.1 GBfits~203 tok/s
Q6_K Near-lossless2.4 GBfits~175 tok/s
Q8_0 Lossless2.7 GBfits~136 tok/s
FP16 / BF16 pickLossless4.3 GBfits~72 tok/s

Speed is a bandwidth-based estimate for generating text (504 GB/s); prompt processing and long contexts are slower.

Measured speed on the RTX 4070

No community reports for this pair yet.

Report your own speed →

Run d1-2B on the RTX 4070

Using FP16 / BF16, the best fit for RTX 4070.

Ollama · From the Ollama librarydocs
ollama run d1:2b

The library build picks its own default quantisation.

Ollama · F16 straight from Hugging Facedocs
ollama run hf.co/LiquidAI/d1-2B-GGUF:F16
llama.cpp · OpenAI-compatible server with a web UIdocs
llama-server -hf LiquidAI/d1-2B-GGUF:F16

Downloads the GGUF on first run. Installed through llama.app? The same flags work with `llama serve`.

LM Studio · Download with the lms CLIdocs
lms get LiquidAI/d1-2B-GGUF@F16

Then load it from the LM Studio app or with `lms load`.

Transformers · Ask about an imagedocs
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="LiquidAI/d1-2B", dtype="auto", device_map="auto")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/bee.jpg"},
            {"type": "text", "text": "Describe this image."},
        ],
    }
]
out = pipe(text=messages, max_new_tokens=256)
print(out[0]["generated_text"][-1]["content"])

Vision models that fit the RTX 4070 comfortably

All that fit →
ModelParamsBest quantMemorySpeedLicence
LiquidAI logoLFM3-VL-2BLiquidAI
1.9BQ8_0≈2.7 GBFits in memory~136 tok/sConditions
2.3BQ8_0≈2.8 GBFits in memory~115 tok/sCommercial OK
2.1BQ8_0≈3.2 GBFits in memory~123 tok/sCommercial OK
1.6BQ8_0≈1.9 GBFits in memory~168 tok/sCommercial OK
1.3BQ8_0≈1.7 GBFits in memory~201 tok/sCommercial OK
2.2BQ8_0≈2.6 GBFits in memory~116 tok/sCommercial OK

Other GPUs that run d1-2B

Frequently asked questions

Can the RTX 4070 run d1-2B?
Yes. The RTX 4070 runs d1-2B fully in VRAM at FP16 / BF16 (about 4.3 GB of 12 GB), at roughly 72 tokens/s.
How fast does d1-2B run on the RTX 4070?
An estimate from memory bandwidth gives about 72 tokens/s at FP16 / BF16.
Which quantisation of d1-2B should I use on the RTX 4070?
FP16 / BF16: the largest one that fits. Expected quality: lossless compared with the full-precision weights.

Memory and speed are estimates from the model's size and the card's memory bandwidth; real numbers depend on the runtime, drivers and context length. Community figures are medians of user reports.