gte-Qwen1.5-7B-instruct needs about 10.3 GB of memory at Q5_K_M (a 5.5 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 2 quants, from 5.5 GB (Q5_K_M) to 15.4 GB (F16). Longer context needs more: at 32K tokens the KV cache alone adds about 17.2 GB.
gte-Qwen1.5-7B-instruct is a 7.72B-parameter Qwen model in GGUF format, quantized by gaianet. Its trained context length is 32K tokens. The repository has 2 quant files, from 5.5 GB (Q5_K_M) to 15.4 GB (F16).
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q5_K_M | 5.5 GB | 10.3 GB | Too big | Get file → | |
| F16 | 15.4 GB | 20.2 GB | Too big | Get file → |
What GPU do you need for gte-Qwen1.5-7B-instruct?
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: no quant fits at an 8K context.
- 6 GB VRAM: no quant fits at an 8K context.
- 8 GB VRAM: no quant fits at an 8K context.
- 12 GB VRAM: the best quant that fits is Q5_K_M (5.5 GB file, about 10.3 GB in use).
- 16 GB VRAM: the best quant that fits is Q5_K_M (5.5 GB file, about 10.3 GB in use).
- 24 GB VRAM: the best quant that fits is F16 (15.4 GB file, about 20.2 GB in use).
Which gte-Qwen1.5-7B-instruct quant should you choose?
Q5_K_M (5.5 GB) is the middle option in this repository. Closer to the original model than 4-bit, for a moderate increase in size. A good pick when you have memory to spare.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about gte-Qwen1.5-7B-instruct
How much VRAM does gte-Qwen1.5-7B-instruct need?
About 10.3 GB at Q5_K_M with an 8K context window. That is the 5.5 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 gte-Qwen1.5-7B-instruct on an 8 GB GPU?
Not at an 8K context. The smallest file needs about 10.3 GB, so you would need a larger GPU or CPU offloading.
What is the file size of gte-Qwen1.5-7B-instruct GGUF?
It depends on the quant: Q5_K_M is 5.5 GB, F16 is 15.4 GB.
What context length does gte-Qwen1.5-7B-instruct support?
The GGUF header lists a trained context length of 32,768 tokens (32K). The KV cache grows with the context you use: about 4.3 GB at 8K and 17.2 GB at 32K.
Where can I download gte-Qwen1.5-7B-instruct GGUF?
The files are on Hugging Face in the gaianet/gte-Qwen1.5-7B-instruct-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.