QW

gte-Qwen1.5-7B-instruct

QwenGGUF by agier9Updated 2024-05-28
Download on Hugging Face
Parameters7.72B
Context32K
Layers32
Architectureqwen2
Smallest quant5.5 GB
Quick answer

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. 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 agier9. Its trained context length is 32K tokens. The repository has 1 quant file, from 5.5 GB (Q5_K_M) to 5.5 GB (Q5_K_M).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q5_K_M5.5 GB 10.3 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).

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

Architectureqwen2
Parameters7.72B
Layers32
Trained context32,768 tokens
KV cache (fp16)512 KB per token

Source

Quantized byagier9
FamilyQwen
Downloads (HF)35
Last updated2024-05-28

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.

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 agier9/gte-Qwen1.5-7B-instruct-Q5_K_M-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 agier9

All by agier9 →

More Qwen models

All Qwen →

Other small models

All small models →