VOOZH about

URL: https://willitrunai.com/models/sqlcoder-7b

⇱ SQLCoder 7B VRAM Requirements — GPU Compatibility


👁 Defog
Defog

SQLCoder 7B

Current
👁 huggingface
HuggingFace👁 ollama
Ollama
24.2KDownloads436LikesDec 2023Released8K tokensContextApache 2.0License70 StrongQuality

SQLCoder 7B (7B parameters) requires approximately 8.0 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 10 GB of VRAM.

Get started

— copy & paste to run locally

Copy-paste commands to run SQLCoder 7B on your machine.

Run

ollama run sqlcoder

Quick specs

Parameters7B
Architecturedense
Context8K tokens
Modalitytext
Min RAM2.7 GB
Rec. RAM4.3 GB (Q4_K_M)
LicenseApache 2.0
FamilySQLCoder

About this model

The model weights were updated at 7 AM UTC on Feb 7, 2024. The new model weights lead to a much more performant model – particularly for joins.

  • Developed by:: Defog, Inc
  • Model type:: [Text to SQL]
  • License:: [CC-by-SA-4.0]
  • Finetuned from model:: [CodeLlama-7B]

Your hardware

Detecting...

Quick picks

👁 Intel
Best budgetA
Intel Arc B570 10GB~$219 — 52 tok/s
👁 NVIDIA
Best overallS
RTX 3080 Ti 12GB~$1,199 — 98 tok/s

Best hardware

Top picks for SQLCoder 7B

RTX 3080 Ti 12GBS
12 GB
RTX 4070 12GBS
12 GB
RTX 4070 Super 12GBS
12 GB
RTX 5070 12GBS
12 GB
RTX 2080 Ti 11GBS
11 GB

Run this model

SQLCoder 7B on RTX 3080 Ti 12GBSQLCoder 7B on RTX 4070 12GBSQLCoder 7B on RTX 4070 Super 12GB

Quantization options

VRAM estimates by quant level

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
2.7 GB
Low
Q3_K_S
3
3.4 GB
Low
NVFP4
4
3.9 GB
Medium
Q4_K_M
4
4.3 GB
Medium
Q5_K_M
5
5.0 GB
High
Q6_K
6
5.7 GB
High
Q8_0
8
7.5 GB
Very High
F16
16
14.3 GB
Maximum

Hardware compatibility

Fit estimates across all hardware

Open calculator

Computing compatibility...

Memory breakdown

Reference: RTX 2060 6GB

Weights4.3 GB
KV Cache2.0 GB
Runtime1.2 GB
Headroom0.6 GB

Frequently asked questions

FAQ — SQLCoder 7B

See also

Quantization GuideScoring MethodologyVRAM Calculator