Model reference · open weights
OmniEVIE-4B is an open-weight embedding model from tencent. OmniEVIE-4B (BF16) weighs 9.1 GB; the smallest configuration that runs it is RTX 3060 12 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the tencent/OmniEVIE-4B model card, 2026-11-25
What it is
| Released by | tencent |
|---|---|
| Released | 2026-11-24 |
| Parameters | 4.5B |
| VRAM | 9.1 GB for the weights |
What it runs on
| Card | Runs | Memory |
|---|---|---|
| RTX 3060 12 GB | tight | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
From the model card
OmniEVIE-4B is a 4.5B-parameter unified multi-modal, multi-vector retrieval model by Tencent IMA Product Center and Tencent Youtu Lab, ranking #1 on the MMEB-Leaderboard (excluding audio)—with OmniEVIE-4B (Full) at 60.68 and OmniEVIE-4B (Compressed) at 60.06 across 190 tasks (also #1 in both Text 52.97 and Agent 54.14). Built on Qwen3.5 with bidirectional full-attention layers, Prefix-MRL projection, spatio-temporal Ward clustering (ST-HAC), and a learned query saliency gate (query_gate.safetensors), it distills every document into at most 128 × 64D int8 vectors (≤ 9,472 bytes/record, 8.82 GiB per 1M records)—retrieving across a million records in 54.2 ms on one CPU thread while tracing every hit straight back to its page region or video second.
Every retrieval hit carries its own spatial or temporal coordinates—highlighting the matched table row, cross-lingual answer sentence, chart bar, or timestamp span without external OCR or video-captioning models.
| Feature | Specification |
|---|---|
| Parameters | 4.54B (BF16, model.safetensors) + query_gate.safetensors |
| Modalities | Text · Natural Image · Visual Document · Native Video · Agent / Tool / GUI / Memory |
| Elastic Dimensions | Prefix-MRL single head: {64, 128, 256, 512, 1024, 2048} at runtime |
| Index Footprint | 8.82 GiB / 1M records (K128×d64 int8), or 2.15 GiB / 1M (K32×d64 int8) |
| Search Latency | 54.2 ms (1M) / 120.2 ms (5M) on a single CPU thread |
| Evidence Localization | Direct page bounding box & video timestamp interval from retrieval argmax |
| License | Apache-2.0 (LICENSE.txt) |
Install the inference and indexing package from Tencent/OmniEVIE:
pip install git+https://github.com/Tencent/OmniEVIE.git
flash-attn>=2.7.0is required (attn_implementation="flash_attention_2"; verified withtorch 2.7.1,transformers 5.13–5.17,flash-attn 2.8.1).
from omnievie import OmniEVIE, QueryGate, ThreeStageIndex
model = OmniEVIE.from_pretrained("tencent/OmniEVIE-4B", device="cuda")
gate = QueryGate.from_pretrained("tencent/OmniEVIE-4B")
# 1. Encode and index documents across modalities
index = ThreeStageIndex()
for path in ["photos/fda_slide.png", "clips/news_segment.mp4", "notes/report.txt"]:
modality, vectors = model.encode_document(path)
index.add(path, vectors, modality)
index.save("index.pt")
# 2. Retrieve with three-stage index + learned query saliency gate
query = model.encode_query(text="Two TV show hosts sit on a red couch and discuss the news.", target="video")
weights = gate.weights(query.vectors, query.vision_mask, query.aug_mask, query.has_text)
hits = index.search(query.vectors, weights=weights, modality="video", topk=3)
print("search:", hits)
# 3. Direct evidence localization on a matched page
q_doc = model.encode_query(text="Did the FDA's 2018 Strategic Policy Roadmap eliminate clinical trials?", target="image")
w_doc = gate.weights(q_doc.vectors, q_doc.vision_mask, q_doc.aug_mask, q_doc.has_text)
page_loc = model.localize_image(q_doc, "photos/fda_slide.png", weights=w_doc)
print("top page region (x0, y0, x1, y1):", page_loc.top_box)
Example output:
search: [('clips/news_segment.mp4', 41.827)]
top page region (x0, y0, x1, y1): (0.1429, 0.1304, 0.4524, 0.2174)
| Model | All (190) | Text (53) | T-RR | T-IF | T-LC | T-MC | T-GR | Agent (47) | Tool | GUI | Memory | MCMR |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Qwen3-VL-Embedding-2B | 50.90 | 39.20 | 16.60 | 40.60 | 53.10 | 61.20 | 58.00 | 39.30 | 42.60 | 30.40 | 28.40 | 42.00 |
| Qwen3-VL-Embedding-8B | 53.50 | 42.50 | 18.20 | 44.80 | 58.00 | 61.20 | 61.20 | 38.40 | 41.30 | 33.50 | 22.80 | 38.00 |
| WeMM-Embedding-2B | 55.77 | 45.34 | 26.29 | 49.30 | 61.90 | 59.72 | 58.74 | 44.05 | 46.23 | 38.87 | 35.38 | 42.51 |
| WeMM-Embedding-4B | 57.97 | 47.88 | 30.01 | 52.02 | 62.43 | 60.14 | 61.09 | 48.06 | 50.58 | 41.44 | 39.19 | 41.91 |
| WeMM-Embedding-9B | 59.33 | 48.76 | 31.82 | 52.78 | 64.48 | 58.28 | 61.12 | 50.10 | 52.95 | 43.33 | 38.65 | 49.34 |
OmniEVIE-4B (K128×d64 int8, 8-fr) | 59.76 | 51.77 | 26.36 | 69.65 | 70.71 | 67.75 | 63.58 | 54.03 | 58.84 | 41.34 | 37.35 | 47.39 |
OmniEVIE-4B (K128×d64 int8, 32-fr) | 60.06 | 51.77 | 26.36 | 69.65 | 70.71 | 67.75 | 63.58 | 54.03 | 58.84 | 41.34 | 37.35 | 47.39 |
OmniEVIE-4B (Full Sequence d=2048) | 60.68 | 52.97 | 27.46 | 70.81 | 73.04 | 68.55 | 64.60 | 54.14 | 58.81 | 42.00 | 37.60 | 49.74 |
| Model | All (78) | Image (36) | Video (18) | VisDoc (24) |
|---|---|---|---|---|
| Qwen3-VL-Embedding-2B | 73.25 | 74.96 | 61.87 | 79.22 |
| Qwen3-VL-Embedding-8B | 77.82 | 80.12 | 67.15 | 82.36 |
| WeMM-Embedding-2B | 77.94 | 79.63 | 70.82 | 80.75 |
| WeMM-Embedding-4B | 79.19 | 80.84 | 72.11 | 82.04 |
| WeMM-Embedding-9B | 80.58 | 81.87 | 74.31 | 83.34 |
OmniEVIE-4B (K128×d64 int8, 8-fr) | 77.24 | 78.09 | 66.49 | 84.02 |
OmniEVIE-4B (K128×d64 int8, 32-fr) | 77.96 | 78.09 | 69.62 | 84.02 |
| **OmniEVIE-4B ( |
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.