r/MacStudio • u/Inquisitive_idiot • 1h ago
Don't neglect embeddings and reranking in your home lab stack! saved my butt tonight.
my ultra is fast AF and FlashRank + a GPU-hosted embedding model still saved my ass.
If you're running parts of your AI stack on older home lab equipment, pay attention to where your embeddings and reranking are happening.
I posted earlier today about my antics with Hermes and Hindsight:
https://www.reddit.com/r/MacStudio/comments/1yb9ham/hermes_hindsight_local_splash_makes_it_so_much/
After some tuning, my A35B numbers were fast AF in both single and aggregate ooperations. was using it exclusively for hindsight.
Recall still ran like ass.
Starting a convo with "what did we talk about last time?" led to 20-40 sec stalls and sometimes up to 2 min of waiting.
Going directly to Qwen Flash-Next was good, so I figured either Hermes sucked or my choice of model for Hindsight sucked. I even went down to a 4B instruct model and it still ran like ass during recall.
randomly ran top on the VM and sure enough, 700-800% CPU on my 8-vCPU Hermes VM (10th-gen i5 Proxmox host), while my M5 Ultra was barely doing anything.
Turns out I had two problems:
Reranking:
Hindsight's default hs-rerank-1 was killing my i5 during recall. Switched to FlashRank and boom, problem went away.
I was pretty happy until I watched the CPU shoot right back up AFTER it had finished responding. WTF?
Embeddings:
Turns out Hindsight was also running its embedding model locally on the CPU. Background meory processing was hammering the CPU again and interfering with subsequent recall operations. it was see sawing itself to death.
I offloaded embeddings to the Mac using Qwen3 Embedding 0.6B.
It's fast as hell now. I'm getting responses to memory questions in as little as 1-2 seconds.
Funny enough, I'd run into a similar issue with embeddings in Open WebUI back when I was using my M1 Max.
Apparently I learned nothing lol.
Not sure how much of this applies to folks running everything directly on their Macs. I'm running a distributed setup with some relatively old home lab equipment.

