OmniEVIE-4B: Tencent's search model finds the exact spot in a PDF or second in a video
Tencent has quietly released an openly licensed search model that indexes text, photos, scanned documents, videos and agent data in one shared index. For every hit, it also shows you where the match is: the region on the page or the timestamp in the video. We checked the vendor's numbers, compared them with the competition and point out the gaps, especially for German.

What this is about
If you're building your own AI search over company PDFs, photo archives or video recordings, you need an embedding model. It turns content into lists of numbers (vectors) so a search can find similar items. That's the foundation of RAG (retrieval-augmented generation): before answering, a chatbot pulls relevant passages from your own documents. On November 24, 2026, Tencent's IMA Product Center and Tencent Youtu Lab put OmniEVIE-4B on Hugging Face under the permissive Apache 2.0 license. Code and a command-line tool are on GitHub, and the paper came out the same day (arXiv:2611.32203).
The pitch: a single model searches text, photos, scanned pages, videos and agent data (tool descriptions, GUI screenshots, memory entries) in one shared index. For every hit, it also returns the location of the match: a rectangle on the page or a time interval in the video. There was no big announcement. Since then, outlets such as Neurohive and a comparison by OrcaRouter have covered it, but there are no independent tests yet. As of today, the model has 975 downloads and 69 likes. Our question: is it a solid foundation for a new index, and which claims hold up?
How the match location works
OmniEVIE is a ColBERT-style multi-vector model. A classic model squeezes an entire page into a single vector. Here, every image patch and every word gets its own vector instead. At search time, MaxSim compares each query word with the best-matching piece of the document, so even a single table cell can stand out. The catch is size: in Full mode, each vector has 2048 dimensions. We did the math for Tencent's demo page with 966 image patches. In BF16, that's about 4 MB for a single page.
Three steps shrink that:
- Prefix-MRL (the Matryoshka principle): the first 64 numbers of a vector already carry the most important information. So you can truncate it like a Matryoshka doll, anywhere from 64 to 2048.
- ST-HAC: a clustering method (Ward clustering) merges image patches that are similar in content and close in space or time into at most 128 groups. It's already used during training, so the model learns with the same vectors that end up in the index. In Tencent's ablation on ViDoRe V3, ST-HAC scores 62.96. The uncompressed sequence manages 63.09, a simple uniform grid only 56.50.
- int8: each number is stored as an integer between -127 and 127.
Each group knows where on the page, or when in the video, it sits. That's where the match location comes from: the best-matching group yields a rectangle (function localize_image) or a start and end time in seconds, with no extra OCR needed. On 1,083 queries from the QVHighlights video dataset, the paper says the peak falls inside the correct segment 78.0% of the time. In 94.3% of cases, the returned interval overlaps the correct segment, compared with 44.9% for random intervals of the same length. A small add-on network, the QueryGate, weights the words of the query by importance.
Under the hood is Qwen3.5-VL. Its layers alternate between classic attention and linear attention (GatedDeltaNet), with the classic layers allowed to look in both directions here. Training used about 22 million examples from 57 public datasets. Visual documents make up just 2.0% of that, image retrieval 25.8%. According to the training table, the teacher model was Tencent's document model EVIE-8B. The body text says “88B”, probably a formatting error.
What's behind “No. 1”
Tencent advertises first place on the MMEB leaderboard (excluding audio). The key numbers from the model card, all from the vendor:
| MMEB-V3 | Overall | Text | Agent | Tool | GUI | Memory | Reasoning |
|---|---|---|---|---|---|---|---|
| Qwen3-VL-Embedding-8B | 53.50 | 42.50 | 38.40 | 41.30 | 33.50 | 22.80 | 18.20 |
| WeMM-Embedding-9B | 59.33 | 48.76 | 50.10 | 52.95 | 43.33 | 38.65 | 31.82 |
| OmniEVIE-4B compressed (8 frames) | 59.76 | 51.77 | 54.03 | 58.84 | 41.34 | 37.35 | 26.36 |
| OmniEVIE-4B Full | 60.68 | 52.97 | 54.14 | 58.81 | 42.00 | 37.60 | 27.46 |
Three caveats. First, according to the paper, the official protocol uses 8 video frames. The frequently quoted 60.06 is for 32 frames; with 8 frames it drops to 59.76, a lead of just 0.43 points over WeMM-9B. Second, 11 audio tasks count toward the average with zero points, for OmniEVIE and WeMM alike. Third, the paper says some Qwen3-VL scores were taken from other sources. According to Neurohive, Qwen3-VL sits at 31.95 on the leaderboard itself. We couldn't verify that because the live leaderboard table couldn't be read. What is documented is a Papers with Code entry created by Niels Rogge of Hugging Face and confirmed by Tencent in GitHub issue #1. There, the model ranks first on MMEB-V3 and third on ViDoRe V3.
The sub-scores show where the model is strong: tool retrieval and instruction following. On GUI (42.00), memory (37.60) and reasoning retrieval (27.46), it trails WeMM-Embedding-9B, and the paper itself names exactly these as its weakest areas. On the older MMEB-V2, WeMM-9B leads overall (80.58 to 78.56), on images (81.87 to 78.70) and on video (74.31 to 70.08). OmniEVIE only comes out ahead on documents (84.70 to 83.34).
Document retrieval: competition from the same house
| ViDoRe V3 (nDCG@10) | Score | License |
|---|---|---|
| EVIE-8B | 66.75 | Apache 2.0 |
| EVIE-4.5B (uncompressed) | 66.02 | Apache 2.0 |
| OmniEVIE-4B Full | 64.34 | Apache 2.0 |
| Nemotron-ColEmbed-V2-8B | 63.76 or 63.54 | CC BY-NC 4.0 |
| OmniEVIE-4B K128 | 62.96 | Apache 2.0 |
| EVIE-4.5B HAC K64 (8 KiB/page) | 62.06 | Apache 2.0 |
| OmniEVIE-4B K32 | 61.16 | Apache 2.0 |
| EVIE-4.5B HAC K32 (4 KiB/page) | 59.58 | Apache 2.0 |
| Qwen3-VL-Embedding-8B | 59.00 | Apache 2.0 |
Worth noting: Tencent's own EVIE models are missing from the OmniEVIE table. Uncompressed, they're better on pure PDFs. Compressed, however, OmniEVIE gets more out of less storage; with K32 at about 2.3 KB per page, it even beats EVIE-4.5B at 4 KiB. One caveat: the two Tencent cards give different numbers for Nemotron (63.76 and 63.54), and OrcaRouter points to differing measurement protocols. So the figures are only roughly comparable. Nemotron is limited to non-commercial use anyway.
Storage and speed, recalculated
The contradiction between 8.82 GiB (header) and 7.87 GiB (ViDoRe table) can be resolved from the paper:
| Component (K128) | Bytes |
|---|---|
| Stage 1: mean vector (64 × fp32) | 256 |
| Stage 2: 1-bit signs (128 × 64 bits) | 1,024 |
| Stage 3: int8 vectors (128 × 64) | 8,192 |
| Three-stage index | 9,472 → 8.82 GiB per million |
| Two-stage (without stage 2) | 8,448 → 7.87 GiB per million |
So the 7.87 GiB applies to an index without the sign stage. The 2.15 GiB for K32 also only fits the two-stage variant (32 × 64 + 256 = 2,304 bytes). By our calculation, the three-stage K32 index needs about 2.38 GiB per million entries. The spec table mixes two ways of counting.
Search runs in three stages: a coarse pre-selection uses the mean vector, a fast bit comparison filters further, then comes the exact int8 scoring. For 1 million entries, Tencent quotes 54.2 ms on one CPU thread; for 5 million, 120.2 ms. Compared with a full int8 match (12,781 ms), that would be 236 times faster. Compared with an exact search using a single 2048-dimension vector per entry (331 ms), it's about 6 times faster by our math, and according to the paper 11.1 times faster than 4096-dimension vectors (25.3 times at 5 million). Keep in mind: the CPU numbers only cover search. Encoding needs a GPU, runs at batch size 1 because of the linear attention, and Tencent gives no throughput figure for it. According to the paper, clustering adds 20 ms of CPU time per page. The paper's “99 hours for 100 million pages on 64 processes” doesn't match its own math: 2 × 10⁶ seconds divided by 64 comes to about 8.7 hours.
German: no data, no evidence
Neither the model card nor the paper lists supported languages. ViDoRe V3 contains queries in six languages, including German, but according to the benchmark's creators only English and French documents. OmniEVIE only reports the average across all languages anyway. So whether the model handles a German government form, an invoice or even a Fraktur scan well is unproven. By comparison, Qwen3-VL-Embedding explicitly lists more than 30 languages. We didn't run our own test with German PDFs for this article, so we can't offer our own VRAM or encoding-time numbers. If you want to test it yourself: take 20 to 30 of your own documents, write 30 questions with a known answer page, and count how often the right page lands in the top five hits. Ideally compare against Qwen3-VL-Embedding.
What you need to try it
The official route requires an NVIDIA GPU with CUDA and flash-attn 2.7.0 or later. The model is tested with torch 2.7.1, transformers 5.13 to 5.17 and flash-attn 2.8.1. The weights are about 9.1 GB in BF16; Tencent doesn't state VRAM requirements. In our estimate, the card should have at least 16 GB, and since FlashAttention 2 only runs on Ampere (RTX 30) and newer, a free Colab T4 will probably fail. Alternatively, there's a route via Sentence Transformers (MultiVectorEncoder, version 6.3.0 or later). Whether it works without flash-attn is unclear. Searching the finished index only needs a CPU and just under 9 GiB of memory per million entries.
For Macs and other GPUs, there are now community ports, though they're unofficial. The MLX version from Xylolabs is 5.15 GB and is said to run on a Mac with 16 GB of RAM. The GGUF version gets Q4_K_M down to 2.74 GB plus 0.68 GB for the vision module, but needs its own llama.cpp fork. Both drop video. The published benchmarks don't cover compressed search or match localization. According to Xylolabs' measurements, retrieval quality barely changes at 8 bits.
Our verdict
Our take: OmniEVIE-4B is currently the most interesting open model for mixed archives of PDFs, photos and videos where the index needs to stay small and search should run without a GPU. Match localization is handy when users need to verify hits. For pure document retrieval at maximum accuracy, the vendor's own numbers say EVIE-4.5B or EVIE-8B is the better choice; for images and video, WeMM-Embedding-9B. Caveats remain: all numbers come from Tencent. There's no audio support, and the OmniEVIE-2B mentioned in the license text hasn't been released. GUI and memory retrieval are weak, and there's no evidence at all for German. If you're building an index now, test with your own documents first.
Sources
- Hugging Face: tencent/OmniEVIE-4B (Modellkarte) huggingface.co
- Hugging Face: OmniEVIE-4B README (raw) huggingface.co
- Hugging Face API: tencent/OmniEVIE-4B huggingface.co
- GitHub: Tencent/OmniEVIE github.com
- GitHub: Tencent/OmniEVIE Issue #1 (Papers with Code) github.com
- arXiv-Paper 2611.32203 (Abstract) arxiv.org
- arXiv-Paper 2611.32203 (Volltext HTML) arxiv.org
- Hugging Face: tencent/EVIE-8B huggingface.co
- Hugging Face: tencent/EVIE-4.5B huggingface.co
- GitHub: Tencent/WeMM-Embedding README raw.githubusercontent.com
- Hugging Face: Qwen/Qwen3-VL-Embedding-8B huggingface.co
- Hugging Face: nvidia/nemotron-colembed-vl-8b-v2 huggingface.co
- Hugging Face Blog: Introducing ViDoRe V3 huggingface.co
- Hugging Face: Xylolabs/OmniEVIE-4B-MLX-8bit huggingface.co
- Hugging Face: Xylolabs/OmniEVIE-4B-GGUF huggingface.co
- Neurohive: OmniEVIE-4B neurohive.io
- OrcaRouter: OmniEVIE-4B vs EVIE-8B orcarouter.ai
- explainx.ai: OmniEVIE-4B explainx.ai
- DEV Community: How to Run Tencent OmniEVIE-4B Locally dev.to
- DataNorth: Tencent EVIE-8B und EVIE-4.5B datanorth.ai
Try it yourself: OmniEVIE-4B
Explained step by step, no prior knowledge needed – on your own computer or free in your browser.
What can I do with it?
OmniEVIE-4B turns PDFs, photos, scans, videos and text into search vectors and stores them in one shared index. You can then ask in plain language, for example “Where's the notice period?”, and get back the matching page with the relevant region highlighted, or the right second in a video. The model doesn't generate answers itself; it only finds the right passages. For a chatbot, you therefore pair it with a language model (RAG). According to Tencent, it's strong on documents with tables and slides, on tool descriptions, and on very small indexes that can be searched on a CPU in milliseconds. It's weaker at searching GUI screenshots and memory entries and at questions that require reasoning. It doesn't understand audio at all. For images and video, the vendor's numbers put WeMM-Embedding-9B ahead; for pure PDFs, Tencent's EVIE-8B. There are no published results for German.
Who is it worth it for?
The model is worth it if you're building your own search over mixed archives (company PDFs, presentations, photos, video recordings) and have an NVIDIA GPU. If you only want to search plain text documents or don't have a CUDA GPU, you're better off with simpler embedding models or the community versions. It's no use for audio archives.
Ideas: What you can do with it
You index a team's manuals, contracts and presentations. Employees ask in everyday language and get the page with the relevant paragraph or table cell highlighted. No more paging through long documents.
Club videos, talks or family films go into the index. A query like “award ceremony with trophy” returns the matching video along with the time interval, so you can jump straight to the right second.
Scanned receipts, photos of till slips and digital invoices go into one shared index. At tax time, you search for “heating repair invoice” and also find scanned receipts without running OCR first. Whether this works reliably with non-English documents is something you should test on a few receipts first.
An agent with hundreds of tools has to find the right one for each task. You index the tool descriptions with OmniEVIE, which Tencent says is especially strong here (tool score 58.81), and pass only the top hits to the agent.
Teachers put worksheets, slides and instructional videos into one index. A search for “water cycle diagram” finds both the worksheet and the right spot in the explainer video.
You only need the GPU once, for encoding. You copy the finished index to a simple server without a graphics card, where, according to Tencent, search answers in about 54 ms on a single CPU thread even with a million entries.
What your computer needs
Officially there's only one variant: 4.54 billion parameters in BF16 (about 9.1 GB of files) for NVIDIA GPUs with CUDA and flash-attn. For the index, you choose between Full (2048 dimensions per token, best results but huge), Compressed K128 (at most 9,472 bytes per entry, ViDoRe V3 62.96) and K32 (about 2.3 KB, ViDoRe V3 61.16). For most people, K128 is the best trade-off. Mac users can use the unofficial MLX 8-bit version from Xylolabs (5.15 GB, 16 GB of RAM). For other machines there are GGUF files (Q8_0 at 4.49 GB as the recommended compromise, Q4_K_M at 2.74 GB plus 0.68 GB for the vision module), which need a special llama.cpp fork. Neither community version supports video.
- Official route: NVIDIA GPU with CUDA and flash-attn 2.7.0 or later. FlashAttention 2 generally only runs on Ampere (RTX 30 / A100) and newer, so older cards like the T4 in free Colab will probably fail.
- The BF16 weights are about 9.1 GB. Tencent doesn't state VRAM requirements; our estimate is a card with at least 16 GB. According to Xylolabs, all GGUF variants fit on a 24 GB GPU with 8K context.
- Searching the finished index runs on the CPU: according to Tencent, 54.2 ms for 1 million entries on one thread, with about 8.82 GiB of memory per million entries (K128) or roughly 2.2 to 2.4 GiB (K32).
- Apple Silicon: only via the unofficial MLX version (8-bit: 5.15 GB, 4-bit: 3.36 GB); according to Xylolabs, a Mac with 16 GB is enough. Video isn't supported there.
- There's no official route for AMD GPUs or CPU-only operation. The GGUF version needs Xylolabs' llama.cpp fork (branch omnievie); you'll have to check yourself whether it runs on your hardware.
- Encoding runs at batch size 1 and takes time. Tencent gives no GPU throughput figure, so budget plenty of compute time for large archives.
How do I find out what my computer has?
- Windows: Press Ctrl + Shift + Esc → Task Manager → Performance tab → click GPU on the left. At the bottom you'll see Dedicated GPU memory (that's your VRAM). You'll find system memory under Memory.
- Mac: Apple menu at the top left → About This Mac. You'll see your chip (e.g. M2) and memory (e.g. 16 GB). On Apple chips, graphics and processor share this memory.
- Linux: Type
nvidia-smiin the terminal (shows your graphics card and its memory) andfree -hfor system memory.
Guide
This model runs with its developers' own program (Tencent/OmniEVIE on GitHub). The commands below come from the Model Card and the developers' instructions.
Windows 10 / 11
Windows 10 / 11: not officially tested. The source doesn't mention Windows. The official omnievie package needs flash-attn, which is very hard to install on Windows. The Sentence Transformers route should work with an NVIDIA card, though. Alternatively, use WSL2 and follow the Linux instructions there.
- Check the prerequisites. Install a recent Python 3 (for example 3.11) and tick “Add Python to PATH” during setup. You'll also need an NVIDIA GPU with about 12 GB of VRAM and the latest NVIDIA driver. Plan for about 20 GB of free disk space. Then open PowerShell.
python --version nvidia-smi - Create a folder and environment. A virtual environment (venv) keeps this project's packages separate from everything else. If PowerShell throws a script error when activating, run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once beforehand. Afterwards, (.venv) appears at the start of the line.
mkdir omnievie-test cd omnievie-test python -m venv .venv .venv\Scripts\Activate.ps1 - Install the software. This command installs Sentence Transformers and the matching transformers version. PyTorch comes along automatically.
python -m pip install --upgrade pip pip install "sentence-transformers[image,video]>=6.3.0" "transformers>=5.13.1" - Test the GPU. If this prints True, PyTorch is using your GPU. On Windows, pip often installs a version without GPU support. If it says False, reinstall PyTorch with CUDA. CUDA is NVIDIA's GPU interface. The PyTorch website shows you the right install command.
python -c "import torch; print(torch.cuda.is_available())" - Download the model. Downloads the roughly 9 GB of model files from Hugging Face into the cache.
pip install -U huggingface_hub hf download tencent/OmniEVIE-4B - Create a test script. This command creates the file demo.py with the text example from the Model Card.
@' from sentence_transformers import MultiVectorEncoder model = MultiVectorEncoder("tencent/OmniEVIE-4B") queries = [ "Two TV show hosts sit on a red couch and discuss the news.", "Did the FDA's 2018 Strategic Policy Roadmap eliminate clinical trials?", ] documents = [ "Two television hosts discuss the news while sitting on a red couch.", "The FDA's 2018 Strategic Policy Roadmap proposed modernizing clinical trials, not eliminating them.", "A dog plays with a ball in a park.", ] q = model.encode_query(queries, batch_size=1) d = model.encode_document(documents, batch_size=1) print(model.similarity(q, d).cpu()) '@ | Set-Content -Encoding utf8 demo.py - Get your first result. Now run the script. It worked if a table appears in which the matching pairs have scores around 23 and 24. The other values are around 3 to 5.
python demo.py - Result. A small table of similarity scores appears in the terminal. The matching sentence pairs have high scores of around 23 and 24, the non-matching ones only about 3 to 5.
macOS
macOS: not officially tested. The source doesn't mention macOS. The omnievie package needs CUDA and flash-attn, so it won't run on a Mac. The Sentence Transformers route might work on Apple Silicon Macs with 16 GB of RAM or more, but it's slow. Alternatively, use a Linux machine with an NVIDIA card or a cloud service like Colab.
- Check the prerequisites. You need a Mac with an Apple chip (M1 or newer), ideally with 16 GB of RAM or more. Plan for about 20 GB of free disk space. Install the Xcode command line tools and a recent Python 3, for example 3.11 from python.org.
xcode-select --install python3 --version - Create a folder and environment. A virtual environment (venv) keeps the packages separate from the rest of your system. After activating it, (.venv) appears at the start of the line.
mkdir omnievie-test cd omnievie-test python3 -m venv .venv source .venv/bin/activate - Install the software. This command installs Sentence Transformers, transformers and PyTorch. It takes a few minutes.
pip install --upgrade pip pip install "sentence-transformers[image,video]>=6.3.0" "transformers>=5.13.1" - Download the model. Downloads the roughly 9 GB of model files from Hugging Face into the cache.
pip install -U huggingface_hub hf download tencent/OmniEVIE-4B - Create a test script. This command creates the file demo.py with the text example from the Model Card.
cat > demo.py << 'EOF' from sentence_transformers import MultiVectorEncoder model = MultiVectorEncoder("tencent/OmniEVIE-4B") queries = [ "Two TV show hosts sit on a red couch and discuss the news.", "Did the FDA's 2018 Strategic Policy Roadmap eliminate clinical trials?", ] documents = [ "Two television hosts discuss the news while sitting on a red couch.", "The FDA's 2018 Strategic Policy Roadmap proposed modernizing clinical trials, not eliminating them.", "A dog plays with a ball in a park.", ] q = model.encode_query(queries, batch_size=1) d = model.encode_document(documents, batch_size=1) print(model.similarity(q, d).cpu()) EOF - Get your first result. Now run the script. On a Mac this can take a few minutes. It worked if a table appears with scores around 23 and 24 for the matching pairs. If it aborts because it runs out of memory, your Mac is too small for this model.
python3 demo.py - Result. A small table of similarity scores appears in the terminal. The matching sentence pairs have high scores of around 23 and 24, the non-matching ones only about 3 to 5.
Linux
Linux: supported. Linux with an NVIDIA GPU is the vendor's primary platform. It was tested with torch 2.7.1 and transformers 5.13 to 5.17. These instructions take the simple route via Sentence Transformers, which doesn't need flash-attn.
- Check the prerequisites. You need a recent Python 3 (for example 3.11) and an NVIDIA GPU with about 12 GB of VRAM (video memory). The latest NVIDIA driver must also be installed. Plan for about 20 GB of free disk space. The nvidia-smi command shows your card and its memory.
python3 --version nvidia-smi - Create a folder and environment. A virtual environment (venv) is a separate space for Python packages, so you don't mess up anything else on your system. After activating it, (.venv) appears at the start of the line.
mkdir omnievie-test cd omnievie-test python3 -m venv .venv source .venv/bin/activate - Install the software. This command installs Sentence Transformers with image and video support, plus the matching transformers version and PyTorch, the underlying compute framework. It takes a few minutes and downloads several GB.
pip install --upgrade pip pip install "sentence-transformers[image,video]>=6.3.0" "transformers>=5.13.1" - Test the GPU. This checks whether PyTorch can find your GPU. If it prints True at the end, you're good. If it says False, the driver is usually the culprit.
python -c "import torch; print(torch.cuda.is_available())" - Download the model. This step downloads the roughly 9 GB of model files from Hugging Face, the platform that hosts AI models. They land in a cache and are found automatically later.
pip install -U huggingface_hub hf download tencent/OmniEVIE-4B - Create a test script. This command creates the file demo.py with the text example from the Model Card. The script compares two search queries with three short texts.
cat > demo.py << 'EOF' from sentence_transformers import MultiVectorEncoder model = MultiVectorEncoder("tencent/OmniEVIE-4B") queries = [ "Two TV show hosts sit on a red couch and discuss the news.", "Did the FDA's 2018 Strategic Policy Roadmap eliminate clinical trials?", ] documents = [ "Two television hosts discuss the news while sitting on a red couch.", "The FDA's 2018 Strategic Policy Roadmap proposed modernizing clinical trials, not eliminating them.", "A dog plays with a ball in a park.", ] q = model.encode_query(queries, batch_size=1) d = model.encode_document(documents, batch_size=1) print(model.similarity(q, d).cpu()) EOF - Get your first result. Now run the script. After loading, a table with two rows and three columns appears. It worked if the first row starts with a value around 23 and the middle of the second row shows a value around 24.
python demo.py - Result. A small table of similarity scores appears in the terminal. The matching sentence pairs have high scores of around 23 and 24, the non-matching ones only about 3 to 5.
What to do after your first result
- Image search: add the “Text-to-Image Retrieval” example from the Model Card to demo.py. The model then picks the right image out of five for the question “Which model ranks first on the MMEB leaderboard?”, namely mmeb_leaderboard.png.
- Shorter vectors save storage: pass truncate_dim=128, for example, to encode_query and encode_document. A vector is the list of numbers the model computes for each token. For video search, use model.encode_query(queries, prompt_name="query_video").
- For large collections there's the official omnievie package (Linux with an NVIDIA card only, requires flash-attn 2.7.0 or later). Installation: git clone https://github.com/Tencent/OmniEVIE.git, cd OmniEVIE and pip install -e ".[test]". Then build a search index from the command line: omnievie --weights tencent/OmniEVIE-4B index index.pt photos/ clips/ notes/
- With the omnievie package, you then search like this: omnievie --weights tencent/OmniEVIE-4B search index.pt --text "a dog catching a frisbee" --target video --top 3. The search itself runs fast on the CPU. Only ingesting the files needs the GPU.
Try it
Invoice with 19 percent VATWhere do the lease agreements state the notice period?Slide with the revenue chart for the third quarterScene where someone cuts a cakeForm field for the tax ID number on the application
Tips for better results
- Start with the compressed K128 mode. According to Tencent, it loses only 0.62 points on MMEB-V3 compared with Full but needs only a fraction of the storage.
- Use the bundled QueryGate (query_gate.safetensors). It weights the important words in your query and filters out weak hits with the threshold θ = 0.38.
- Use localize_image to get the match location and show it to users as a highlighted region. That makes hits quick to verify.
- For videos, the number of frames changes the result: Tencent reports better scores with 32 frames than with 8. According to the paper, very short clips at low frame rates lose a lot of information.
- Build yourself a small test set: 30 questions with a known answer page. Count how often the right page lands in the top five hits and compare against a second model such as Qwen3-VL-Embedding.
If something goes wrong
flash-attn often won't install directly and has to match your torch and CUDA versions. Use the tested combination: torch 2.7.1, transformers 5.13 to 5.17, flash-attn 2.8.1.
With a batch size greater than 1, padding tokens alter the vectors because the model uses linear attention. According to the model card, only batch_size=1 gives exact results.
For the Sentence Transformers route, you need sentence-transformers[image,video] 6.3.0 or later and transformers 5.13.1 or later. Older versions don't recognize the model.
According to the card, the GGUF files don't run with regular llama.cpp; you need Xylolabs' fork (branch omnievie, commit 1f190c83). Text queries there need ten <|endoftext|> tokens appended.
The index size figures contradict each other: 8.82 GiB applies to the three-stage index, 7.87 GiB to the two-stage index without the bit filter. Plan with the higher number.
There's no information on languages. Before building a large index, check with your own non-English documents whether the hits are right.
“out of memory,” a crash, or your computer freezes
The model is too big for your VRAM (video memory). Pick a smaller variant from the table above and close other programs, especially games and browsers with lots of tabs.
It runs, but extremely slowly
Your CPU is probably doing the work instead of your graphics card. In Ollama, the PROCESSOR column of ollama ps shows how much runs on the GPU. If it says "100% CPU", update your graphics driver or pick a smaller variant that fits entirely into VRAM (video memory).
“ollama” or “python” is not found
Close the terminal window and open it again so it recognizes the newly installed program. For Python on Windows: reinstall it and check Add python.exe to PATH.
Windows: "Running scripts is disabled on this system"
Run the script with exactly the command above: powershell -ExecutionPolicy Bypass -File try_windows.ps1. This allows execution for this one time only.
Error message when loading the model (version, "trust_remote_code", unknown architecture)
Brand-new models often need the latest software version. With Ollama: update Ollama. With Python: pip install -U transformers in the activated environment. The Model Card usually lists the exact version.
Tokenstrom generates the scripts and notebook automatically. Please take a quick look before running them – they're plain, readable text. Mind the model's license: apache-2.0.
Ask the AI assistant
Questions about this article, installation or background? Our assistant knows this page and runs on our own machine, not in someone else's cloud.
The Assistant is an AI (Gemma 4) and can make mistakes – please check important details against the source. Questions are used only to generate an answer and are deleted after one hour. Please don't enter any personal data.
Comments
What do you think? Already tried it? Write it here, no sign-up needed.
Comments are public. Links aren't allowed, and we delete abusive posts. You can delete your own comment at any time in this browser. Learn more in the Privacy Policy.