Urgent.News

What's breaking now, across thousands of outlets.

AI

Running three AI models on one local server when your VRAM doesn't cover all of them

The first time I tried loading Whisper, bge-m3, and gemma at the same time on my local box, it OOM’d immediately. I’d known this was going to happen, but I tried anyway to see where the ceiling actually was. The machine is a workstation I already had, enough VRAM for any single model but not three simultaneously. I had some options: get more hardware, split across multiple machines, or figure…

I attempted to run three AI models - Whisper, bge-m3, and gemma - simultaneously on my workstation. However, it immediately resulted in an out-of-memory error because the machine had enough VRAM for only one model at a time. I considered three options: acquiring more hardware, distributing the models across multiple machines, or loading them sequentially.

Since I didn't want to solve those problems yet, I opted for sequential loading. This means loading one model, using it, then unloading it before loading the next. While this approach avoids parallel processing, it adds a few seconds of load time per task. For Whisper, the load time was ~4 seconds for a 30-minute call transcription, which was unnoticeable in practice.

For bge-m3, I initially used all-MiniLM-L6-v2 for embeddings, but found it unreliable for mixed Korean/English documents. bge-m3 performed better with cross-lingual matching, albeit at a higher VRAM cost. I also evaluated gemma for image analysis tasks, comparing it with other models on screenshots and scanned documents. Gemma outperformed others in document-heavy images, but its processing time varied based on image resolution.

Despite these findings, I still need to develop a pipeline that integrates all three models into a cohesive system for processing call recordings, emails, and messages. Currently, I have working components but need to connect them into a unified output. This setup has been stable for several weeks without the initial OOM errors.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Agentic AI vs RAG: They're Not the Same Thing

At least once a month, a client emails me the same question: "Should we use RAG or agents?" The question is understandable and the phrasing is wrong, because they are not two versions of the same…

PawServe: AI Symptom Help, Breed Finder & Real Vet Care in One Place

This is a submission for Weekend Challenge: Dog Days Edition What I Built PawServe is a full dog-care platform built for one simple idea: everything your dog needs should live in one place.

  • PawServe consolidates dog care into one app.
  • Breed finder filters 20+ breeds by category, size, energy, temperament.
  • AI health path offers symptom diagnosis guidance.

More from Monday 17 August →