QW

gte-Qwen2-7B-instruct

QwenGGUF by mirekphdUpdated 2024-12-17
Download on Hugging Face
Parameters7.61B
Context128K
Layers28
Architectureqwen2
Smallest quant30.5 GB
Quick answer

gte-Qwen2-7B-instruct needs about 31.4 GB of memory at F32 (a 30.5 GB file) with an 8K context window, so it fits on a 32 GB GPU. Longer context needs more: at 32K tokens the KV cache alone adds about 1.9 GB.

gte-Qwen2-7B-instruct is a 7.61B-parameter Qwen model in GGUF format, quantized by mirekphd. Its trained context length is 128K tokens. The repository has 1 quant file, from 30.5 GB (F32) to 30.5 GB (F32).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
F3230.5 GB (8 parts) 31.4 GB
Too big Get file →

What GPU do you need for gte-Qwen2-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: no quant fits at an 8K context.
  • 16 GB VRAM: no quant fits at an 8K context.
  • 24 GB VRAM: no quant fits at an 8K context.
  • 32 GB VRAM: the best quant that fits is F32 (30.5 GB file, about 31.4 GB in use).

Which gte-Qwen2-7B-instruct quant should you choose?

F32 (30.5 GB) is the middle option in this repository. The unquantized model. It gives original quality and needs the most memory, so it is mainly for conversion or reference.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureqwen2
Parameters7.61B
Layers28
Trained context131,072 tokens
KV cache (fp16)56 KB per token

Source

Quantized bymirekphd
FamilyQwen
Licenseapache-2.0
Downloads (HF)9
Last updated2024-12-17

Frequently asked questions about gte-Qwen2-7B-instruct

How much VRAM does gte-Qwen2-7B-instruct need?

About 31.4 GB at F32 with an 8K context window. That is the 30.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-Qwen2-7B-instruct on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 31.4 GB, so you would need a larger GPU or CPU offloading.

What is the file size of gte-Qwen2-7B-instruct GGUF?

It depends on the quant: F32 is 30.5 GB.

What context length does gte-Qwen2-7B-instruct support?

The GGUF header lists a trained context length of 131,072 tokens (128K). The KV cache grows with the context you use: about 0.5 GB at 8K and 1.9 GB at 32K.

Where can I download gte-Qwen2-7B-instruct GGUF?

The files are on Hugging Face in the mirekphd/gte-Qwen2-7B-instruct-F32 repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does gte-Qwen2-7B-instruct use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Similar models

Browse all →

More from mirekphd

All by mirekphd →

More Qwen models

All Qwen →

Other small models

All small models →