hpc coder v2 1.3b needs about 3.0 GB of memory at Q4_K_M (a 0.9 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 15 quants, from 0.6 GB (Q2_K) to 2.7 GB (F16).
HPC-Coder-v2 1.3b – a fine‑tuned code LLM for HPC topics
HPC-Coder-v2 1.3b is a 1.35B‑parameter model fine‑tuned on HPC‑instruct, oss‑instruct, and evol‑instruct datasets. It is built on Deepseek Coder 1.3b and targets parallelism, optimization, and accelerator porting. The model is available in GGUF format for llama.cpp.
Good at
- Parallel code generation
- HPC optimization scripts
- Accelerator porting
Limits
- No vision support
- Requires 8‑k context for best performance
- License not specified
Best for
- Developers writing HPC code
- Researchers benchmarking HPC code generation
- Educators teaching HPC programming
Who it’s for. The model is suited for developers and researchers who need a lightweight, open‑source LLM focused on high‑performance computing code. It works best when used with instruction‑formatted prompts.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q2_K | 0.6 GB | 2.7 GB | Fits | Get file → | |
| IQ3_XS | 0.6 GB | 2.7 GB | Fits | Get file → | |
| IQ3_S | 0.6 GB | 2.8 GB | Fits | Get file → | |
| Q3_K_S | 0.6 GB | 2.8 GB | Fits | Get file → | |
| IQ3_M | 0.7 GB | 2.8 GB | Fits | Get file → | |
| Q3_K_M | 0.7 GB | 2.8 GB | Fits | Get file → | |
| Q3_K_L | 0.7 GB | 2.9 GB | Fits | Get file → | |
| IQ4_XS | 0.8 GB | 2.9 GB | Fits | Get file → | |
| Q4_K_S | 0.8 GB | 2.9 GB | Fits | Get file → | |
| Q4_K_M | 0.9 GB | 3.0 GB | Fits | Get file → | |
| Q5_K_S | 1.0 GB | 3.1 GB | Fits | Get file → | |
| Q5_K_M | 1.0 GB | 3.1 GB | Fits | Get file → | |
| Q6_K | 1.2 GB | 3.3 GB | Fits | Get file → | |
| Q8_0 | 1.4 GB | 3.5 GB | Fits | Get file → | |
| F16 | 2.7 GB | 4.8 GB | Fits | Get file → |
For 8‑GB VRAM, use Q4_K_M (file size 0.87 GB, memory 3 GB) or Q5_K_M (1 GB, 3.1 GB). For 4‑GB VRAM, Q2_K (0.56 GB, 2.7 GB) or IQ3_XS (0.61 GB, 2.7 GB) are suitable. Higher‑quality Q5_K_S or Q6_K can be used if more VRAM is available.
What GPU do you need for hpc coder v2 1.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 Q8_0 (1.4 GB file, about 3.5 GB in use).
- 6 GB VRAM: the best quant that fits is F16 (2.7 GB file, about 4.8 GB in use).
Which hpc coder v2 1.3b quant should you choose?
Q4_K_M is the usual starting point for hpc coder v2 1.3b: it balances file size and quality well. Here it is a 0.9 GB file.
The Q8_0 file is 1.4 GB, about 1.6 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.
If memory is tight, the smallest file is Q2_K at 0.6 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about hpc coder v2 1.3b
How much VRAM does hpc coder v2 1.3b need?
About 3.0 GB at Q4_K_M with an 8K context window. That is the 0.9 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 hpc coder v2 1.3b on an 8 GB GPU?
Yes, with F16: the 2.7 GB file needs about 4.8 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of hpc coder v2 1.3b GGUF?
It depends on the quant: Q2_K is 0.6 GB, IQ3_XS is 0.6 GB, IQ3_S is 0.6 GB, Q3_K_S is 0.6 GB, IQ3_M is 0.7 GB, Q3_K_M is 0.7 GB and 9 more.
What context length does hpc coder v2 1.3b support?
The GGUF header lists a trained context length of 16,384 tokens (16K). The KV cache grows with the context you use: about 1.6 GB at 8K and 3.2 GB at 16K.
Where can I download hpc coder v2 1.3b GGUF?
The files are on Hugging Face in the mradermacher/hpc-coder-v2-1.3b-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.
Can I run HPC-Coder-v2 1.3b on 8 GB VRAM?
Yes, the Q4_K_M quant requires about 3 GB VRAM, which fits within 8 GB.
Does the model support vision tasks?
No, the model has no vision capabilities.
What context length does the model support?
The model was trained with 16384 tokens and performs best with that context length.