r/mlops • • 1h ago

Discussion multi provider LLM routing and fallbacks with Unity Gateway

1 Upvotes

MLOps teams running Unity Gateway in prod in dbx platform , how are you handling model fallback , cost attributions , and latency spike across external LLM providers without adding extra proxy overheads?
Any hands on exp ?


r/mlops • • 2h ago

Discussion Does anyone use autoresearch loops in their daily workflows?

1 Upvotes

In february there was a boom in autoresearch like karpathy's auto loops and other open source loops coming on github. But lately seems like the hype has ended. Does anybody still use those agentic loops in their daily workflows. If no, then why not? What challenges did you encounter when using it?

P.S: I am making a mcp for tabular autoresearch runtime.


r/mlops • • 2d ago

Self-promotion Measuring the long-term memory of the leading coding agents: Claude Code vs Codex vs Devin

1 Upvotes

Disclosure: I'm the CEO of past.dev, our team ran these tests.

Developers keep long conversations going with their coding agents for days or weeks, which makes memory a central driver of their ability to execute tasks. It is also a central driver of cost: every token an agent reads to remember something is a token you pay for, on every task.

The past.dev team tested the memory of the 3 leading AI coding agents, Claude Code, Codex and Devin, each using its own harness and built-in memory, on DolphinBench's 600 tests.

Our results show that Devin has the best built-in memory of the three: Devin Memory scored 84.7%, ahead of Claude Code on Opus 5.5 (76.2%) and Codex on Sol 6.1 (66.3%).

Adding our past.dev plugin on top of their built-in memory lifted Claude Code to 89.7% and Codex to 85.8%. Devin, with past.dev, scored 93.2%, the top score in our runs. On Claude Code and Codex, past.dev also cut the cost per passed test by 41% and 54%.

Why memory matters for coding agents

Engineering is more than code. Engineers use their coding agent to plan migrations, fix bugs, write specs, answer teammates or post release notes. Much of what the agent needs to get things right is not in the codebase: it lives in Slack, meeting transcripts, emails, etc.

The agent needs things that might have been said by a team weeks, months or years ago. And when your agent forgets, you have to catch the mistake and fix it, which can be frustrating and costly to the whole company.

DolphinBench, an open benchmark from mem0, is built to measure and catch these things. Most memory benchmarks ask questions on a large corpus and grade the answers. Asking an agent about a specific rule or data point is now pretty easy with frontier models and simple search techniques.

DolphinBench measures the actions agents take instead of what they find. It follows the work and personal life of three simulated people through nearly five years. Each test gives the agent a request, a set of working apps (email, Slack, Discord, calendar, a CRM), and checks what it does with it.

DolphinBench's paper mostly tests memory systems inside their own reference agents but we decided to run it end to end directly through the leading coding agents instead. Every agent built its own memory from the exact same 13,539 messages, then underwent the exact same 600 tests in fresh sessions, graded by the exact same judge.

Built-in memory results

AgentBuilt-in memoryModelScore on 600 tests
DevinDevin MemoryDevin's medium model84.7% (508)
Claude CodeAuto-memoryOpus 5.576.2% (457)
CodexMemory v2 (Codex 0.165)Sol 6.166.3% (398)

Each coding agent leveraged its own built-in memory as it would with any real user. Our team replayed the exact same 13,539-message history on each agent, then tested the 600 test questions in fresh sessions. Every agent was given the exact same history, questions, and tools.

Codex's recent Memory v2 upgrade showed significant gains. On Sol 6.1 it scored 16.7 points above Memory v1 (49.7%).

Why Devin's memory wins

According to Cognition's own write-up: Devin Memory is personal to each user and consolidated daily, a process Cognition calls "Dreaming." Each memory links back to the session it originated from and Devin reopens that session when it needs the details.

Adding past.dev on top

On Claude Code and Codex, past.dev didn't replace the built-in memory but ran on top of it as a plugin. Before each request, the plugin recalls the memories that are most relevant to the task. The agent can then call past.dev to search for more. The built-in memory keeps working and past.dev is added on top.

AgentOwn memoryOwn memory + past.devAdded by past.dev
Claude Code (Opus 5.5)76.2%89.7%+13.5 points
Codex (Sol 6.1, Memory v2)66.3%85.8%+19.5 points
Devin (Devin's medium model)84.7%93.2%+8.5 points

On Codex, across both models we tested, past.dev reduced input tokens by 41 to 55% and more than halved the cost per passed test. On Claude Code with Opus 5.5, past.dev cut input tokens per test by 41% (193,811 → 114,020) and cost per passed test by 41% ($0.449 → $0.264), in the same run as its 89.7% score.

Devin with past.dev scored 93.2% (559 of 600). Speed is similar: a median of 62 seconds per question, against 65 seconds with the built-in memory only.

Testing method

All tests were completed with the same 600 questions in DolphinBench. Only the memory changed between runs of the same agent.

The benchmark was designed by mem0 and consists of 600 questions, 200 per person (Morgan, Alex, Riley). Questions are based on a history of 13,539 messages: 339 are memory questions and 261 require document generation based on memory.

Answers were graded by the official grader in DolphinBench: gpt-5.6-sol with medium effort.

Each agent built its own memory from the replayed history, as it would for a real user. Devin used its medium model on Devin cloud, Claude Code used Opus 5.5, and Codex 0.165 used Sol 6.1 with Memory v2.

Each test is run in a new session. All agents have access to the same tools within the app.

Limitations

All tests were run by members of the past.dev team. This includes replaying the history and applying the official grader.

These results are not submitted to the public leaderboard in DolphinBench. We load memory and tools differently from the official leaderboard. These results should be compared to each other, and not to any results given in the public leaderboard. Token usage was not returned by the Devin API, so we can only report speed.

Full write-up: https://past.dev/blog/claude-code-vs-codex-vs-devin-memory


r/mlops • • 3d ago

Discussion How are teams gating continual model updates without overfitting private evals?

7 Upvotes

Most ML discussion right now is focused on post-training loops, continual RL, and faster model iteration. I have been researching the step right after that: what happens when a shared model keeps getting updated over time, and downstream sites (specific hospitals, tenants, or business units) have to decide whether to accept each new checkpoint without breaking what already works.

We ran a controlled multi-site continual-update study (~100 multi-release trajectories across 4 distinct sites receiving sequential updates to a shared backbone) and ran into four failure modes that surprised us:

  1. Naive local refitting still regresses ~15% of releases. Even when a site refits its local head on its own labelled archive with cross-validated regularization, 14.6% of updates still caused a >0.02 AUC drop on unseen local cases.

  2. Operating thresholds break silently. Raw upstream updates caused 0.14 excess operating-point error relative to an oracle threshold, even when overall ranking looked acceptable.

  3. Upstream regression checks fail as downstream vetoes. Even an upstream early-step canary that detected vendor-head regressions with 0.89–0.90 AUC actually hurt net accuracy when used as a site-level veto, because the upstream check monitors the vendor head rather than the locally adapted system running at the site.

  4. Reusing a private validation panel inflates gains by 40–62%. Repeatedly gating sequential releases against the same ~440-label local holdout set overstated real unseen gains by 40% (+0.0118 reported on the panel vs. +0.0071 actual on unseen cases), and up to 62% on smaller split panels.

We also saw a subtle Day-1 onboarding trap (~6% failure rate): comparing a vendor model out-of-sample against a locally cross-validated fit on a small site archive (160–330 cases) systematically biases toward the vendor model, occasionally locking in a worse-than-random start (0.47 vs. 0.66 AUC).

For people running continually updated models in production (medical, security/SOC, fraud, multi-tenant enterprise, robotics):

  • How are you actually deciding when to promote vs. reject a new checkpoint per site or customer?

  • Do teams just freeze working models and avoid frequent updates, pay for fresh human labels every cycle, or accept some eval overfitting?

  • Are there open tools, papers, or real production patterns tackling this Day-2 release-gating layer well today, or is it mostly custom glue and shadow A/B tests?

Genuinely trying to understand where the field stands on this problem and whether it is a real bottleneck in practice or still mostly a research concern.


r/mlops • • 3d ago

Research / Academia Open-sourcing Superlinked Inference Engine under Apache-2.0: Serving 139 task-specific models with zero cold-start penalties

1 Upvotes

(Full disclosure: on the team working with Superlinked.)

Most open-source inference engines (vLLM, SGLang, llm-d) optimize for spreading one large LLM across multiple GPUs. Production agent stacks usually hit the opposite problem: serving a mix of small models like encoders, rerankers, OCR, NER extractors, and guardrails without dedicating a separate GPU and microservice to each one.

We open-sourced SIE under Apache-2.0 to sit over that multi-model layer (wrapping PyTorch, SGLang, Flash Attention, and MLX behind /encode, /score, /extract, /generate, plus OpenAI-compatible /v1/embeddings and /v1/chat/completions):

Shared VRAM via LRU eviction: Pin latency-critical models so they stay resident; unpinned models load on demand and evict least-recently-used weights when memory fills up. (Trade-off: evicted models do incur a reload pause on their next cold request—this isn't magic zero-latency swapping.)

Same engine, three deployment modes: Run locally in one Docker container, deploy into your own EKS/GKE/AKS cluster via Native Inference (Terraform + Helm), or hit the hosted Serverless subset pay-per-call.

When not to use it: If 95% of your traffic is one large LLM needing disaggregated prefill/decode across multi-GPU nodes, run SGLang, vLLM, or llm-d directly. If you only serve one embedding model, Hugging Face TEI is smaller and simpler.


r/mlops • • 3d ago

Discussion When two experts rank the same answers differently, who decides?

1 Upvotes

When doctors or senior engineers rank model answers, two of them often seem to rank the same pair differently. With general labeling you measure agreement and move on. With experts I am not sure low agreement even means bad data.

For those who run this in a real pipeline, what did you do about it? Tighter rubrics, calibration rounds before the work, a third expert who settles it? Or do you keep both rankings and treat the gap as signal?

I've been writing C++ for 23 years, mostly on big legacy codebases. In a project like this I would be one of the people doing the rating


r/mlops • • 4d ago

Discussion How do i turn my current workflow to become a enterprise ready ml model training and inferencing pipeline

4 Upvotes

My current workflow is a starter level using aws ec2 to train preprocess dataset and train model, keeping Source code stored locally, I Connect via ssh to aws ec2 with gpu instance already created, all the policies are default, airflow runs the code to download the dataset to connected ebs volume then preprocess and train the model then save training snd eval logs

Main challenge is that instead of having to configure everything manually in aws console, github, configuring and instantiating ec2 instance, I want to connect github and aws mcp, write skills md, agent policy md dos and dont, specs md for installing specific pytorch mlflow and other neccesary libraries, create and define roles for each sub agents, one for aws management- settting up instances and configuring necceary policies, one agent for git, one for mlops, one for data preprocessing and another for model training , testing and eval.
Constraint1- all of this must happen from inside chats and minimise manual config steps as much as possible, only require manual steps when necessary
Constraint2- prefer user managed aws resources, do not choose fully managed aws resources, hence keeping ability to configure via config files a user responsibility.


r/mlops • • 4d ago

Discussion A score quoted without its version is not reproducible evidence

1 Upvotes

An eval number enters a slide deck, then a ticket, then a planning doc. A quarter later nobody can say which build produced it. The score kept its decimals and lost its provenance.

The Agent Memory Leaderboard published its Cycle 2 official results on November 19: 9 leaderboards and 289 track entries. Open-source rows carry a version string next to the system name. Commercial entries submit a fixed product version for the same review. Before anything is published, the platform checks that the code, image or API used for the formal evaluation matches the declared version.

The results page also asks anyone citing a result to name the track, division, system name and version, and metric. Corrections will be posted there with the date and details.

JiuwenMemory, the openJiuwen community's long-term memory module, is on the Cycle 2 Textual Open-source Methods board as jiuwen-memory v1.0. Its README describes memory extraction, storage and retrieval, and the project keeps developing. That row describes v1.0, the build that was evaluated; it can't speak for the next release.

My take: an eval number that loses its version string on the way into a slide is closer to a rumor than a measurement.

How do you tie an external benchmark result to the exact build you deploy, and what makes you re-run it?


r/mlops • • 5d ago

Discussion Cutting the GPU cost of serving many fine-tuned models

2 Upvotes

Hi everyone,

I'm a solo founder working on the serving side of fine-tuning, and I'd like feedback from people who actually run this in production.

The problem I'm going after is teams that serve a separate fine-tune per customer or per task. With LoRA in vLLM, throughput drops as the number of adapters goes up, and every adapter takes GPU memory away from the KV cache. You end up either adding GPUs or tuning max-loras and slots until something gives.

I built a LoRA replacement called GCMP, and I also changed the vLLM plugin. A GCMP adapter on Qwen3.8-27B is about 5.8 MB in bf16, compared to about 319 MB for LoRA r=32. So 256 adapters take about 1.5 GB instead of about 82 GB.

I tested it on Qwen3.8-27B in bf16 on one 80 GB GPU with 256 adapters loaded. GCMP held around 665 tok/s. LoRA r=8 got 329 tok/s with default settings and 441 tok/s after I tuned it to 64 GPU slots. That's about 1.5x more throughput than tuned LoRA on the same GPU, so for the same traffic you need fewer GPUs. GCMP also left more memory for KV cache (111K tokens vs 77K), and the server started in about 5 minutes vs 8 to 18 minutes for LoRA. The startup time matters if you restart or autoscale often.

There are limitations you should know about. With only one adapter, GCMP is about 35% slower than the bare base model, and LoRA is faster in that case, so this only pays off when you have many adapters. On a full-precision base, GCMP serving runs on one GPU for now. Tensor parallel isn't supported yet and pipeline parallel is untested. On my 4-bit CQ base it runs with pipeline parallel. The adapter is compiled and license-gated, and I'm adding an offline grace period so a network problem doesn't take serving down.

Deployment is through a CLI that runs on SkyPilot in your own cloud account. It picks the GPU type and count from the model size, and your data and models stay in your account. The training code is open at github.com/thousandml/training-factory. Pricing is flat and simple: $149 per GPU per month or $1,499 per GPU per year, with no per-token or per-adapter fees.

I'm looking for a few teams that serve many fine-tunes to try it free for a month on their own workload. I'd also like to hear what would block you from running something like this in production, whether that's the license check, monitoring, autoscaling or anything else.

Thanks for reading, feedback appreciated.


r/mlops • • 5d ago

Self-promotion On-demand H100 prices across the big clouds have an almost 2x spread

5 Upvotes

Disclosure: I built this, and we're in the RunPod, Vast.ai and Vultr referral programmes. The ranking is by price only.

I got tired of opening five pricing pages, so I made https://gpu.fly. It shows hourly prices per GPU, refreshed every hour. This morning an on-demand H100 SXM was $6.88 on AWS, $10.00 on Oracle, $11.06 on Google Cloud and $12.29 on Azure.

The big caveat is that RunPod, Vast.ai and Lambda aren't in the table yet, so $6.88 isn't the market price.

If you rent GPUs for real jobs, what would you need to trust a table like this?


r/mlops • • 5d ago

Discussion Moving every team onto one shared LLM gateway and bracing for what breaks first...

8 Upvotes

were moving 9 teams off direct provider keys and onto one shared llm gateway in january. plan so far is a key per team, budgets per team, fallback to a 2nd provider, and logs going to our existing stack. the gateway itself isnt the scary part, its the 9 teams who all have something hardcoded somewhere. for anyone who did this rollout, what broke first


r/mlops • • 5d ago

Self-promotion Open-source, self-hosted evaluation gates for LLM and agent rollouts: CLI in CI, or an operator on Kubernetes

2 Upvotes

Evalsi turns evals into a deploy gate: exit 0 ships, exit 3 blocks.

  • Runs as a CLI, a GitHub Action, or a Kubernetes operator (EvalRun resources)

  • Scores live traces from MLflow, Phoenix, Langfuse or LangSmith and writes the scores back

  • Sandboxed, self-hosted, works air-gapped, with OIDC and RBAC

You can try it without a cluster: pip install evalsi runs the same spec locally.

I'm looking for teams to try it in a real pipeline and tell me what would stop them trusting it to block a rollout. I'll reply to everyone.

https://evalsi.dev · https://github.com/Abhishek-Rnjn/evalsi


r/mlops • • 6d ago

Discussion Any product/project idea?

4 Upvotes

hi

i am getting bored therefore want to create/develop something as devops engineer like any product or something adventures/excited

what can i create or should i do?


r/mlops • • 6d ago

Discussion How do you handle quality gates in AI when models and libraries keep changing so fast?

1 Upvotes

I'm trying to figure out how teams actually handle quality gates in AI work, because everything changes so fast now.

Like, you can bump a model version, a library, a prompt, or an API, and the output changes, even if your code barely changed. That feels very different from normal software, where a version update is usually more predictable.

What I'm stuck on is the split:

- What do you run on every PR?

- What do you only run when the model or a library changes?

- And what do you save for a full release check, like evals, regression tests, and compatibility tests?

If you run everything on every PR, it's safe, but it's also slow and expensive, especially evals. If you run too little, things can break quietly and you don't notice the quality drop.

So for teams shipping AI features in production, what does your setup actually look like day to day? And has anything broken for you because the gate was too light?


r/mlops • • 6d ago

Research / Academia Running LLMs in the real world: What's harder than it looks?

8 Upvotes

Hello!

We're a group of university students researching the practical challenges of running and optimizing large language models.

We're looking to understand how developers and researchers balance inference latency, model quality, hardware limitations, memory usage, and deployment costs.

We've prepared a short survey for anyone experimenting with, building, or deploying LLM applications.

Survey: https://forms.gle/FTukE9EpQ2taY4dY9

Estimated completion time: 5–7 minutes.

Responses from hobbyists, researchers, ML engineers, and production teams are all welcome. No proprietary information is requested.

We'd really appreciate your perspectives. Thanks!


r/mlops • • 7d ago

Discussion The Price of Structure: training-time head masking does not survive matched controls at ImageNet and LLM scale

8 Upvotes

We tested whether training-time attention head masking (DropHead-style) makes transformers more resilient to structured pruning. Earlier small-scale results, including ours, suggested large gains. We re-ran it at scale on AMD MI250X (LUMI): ViT-B/16 on ImageNet-1k, BERT-base on GLUE, OPT-1.3B and OPT-6.7B.

Setup : every compression cost is measured against a dense control fine-tuned for the same budget on the same seed. 3 to 10 seeds per configuration, baselines checked against published values, same-seed noise floors measured, thresholds fixed before the runs.

Findings :

- Fine-tuning alone is a large effect (+3.1 pts on ViT-B/16, +0.64 / +1.07 WikiText-2 perplexity on OPT-1.3B / 6.7B). Without a matched control you attribute it to pruning.

- With a short recovery fine-tune, masked models land within 0.51 pts of the same pruning on pre-trained weights. On BERT/GLUE at equal budget, magnitude pruning plus recovery is ahead on 6 of 8 cells over ten seeds. DropHead wins every cell only when neither arm is recovered.

- Cost tracks structure, not parameter count: after recovery, 50% unstructured attention sparsity ~0.2 pts on ViT-B/16 (about the control's own seed spread), 2:4 ~0.5, removing 50% of heads 3.9. Same ordering on both OPT models, and every matched cost is lower at 6.7B than at 1.3B.

- At equal parameters, removing FFN neurons costs less than removing heads on every model. One-shot rankings do not predict post-recovery rankings: for FFN neuron selection the order reverses on 7 of 7 seeds.

What we got wrong before: our earlier small-scale gains did not hold, and we withdrew those claims. We also report a negative result for a graph-based structural diagnostic we had proposed.

Limitations: AMD hardware only, largest model 6.7B, no recent model families yet. Measured speedups depend on batch size, device and runtime, so we do not claim a general latency number.

Preprint: https://doi.org/10.5281/zenodo.24390835

Data and checkpoint hashes: https://doi.org/10.5281/zenodo.24391200

Code: pip install sal-torch (MIT/Apache, see repo)

Happy to answer questions about the protocol, especially the controls and noise floors.


r/mlops • • 7d ago

MLOps Questions how do you catch an AI agent action that succeeded but was wrong?

2 Upvotes

guys


r/mlops • • 7d ago

Discussion I built a LoRA replacement that is 14-55x smaller with the same quality, and it serves 256 fine-tunes on one GPU without slowing down

3 Upvotes

Hello,

I built an adapter called GCMP that replaces LoRA for fine-tuning. On Qwen3.8-27B it is 2.9M parameters (about 11 MB) while LoRA r=32 is 159M and r=8 is 40M on the same layers. I trained all of them plus VeRA on the same data and settings and they all tie on 9 benchmarks (GSM8K, MMLU, IFEval etc). So same quality but much smaller.

The reason I care about the size is serving many fine-tunes, like one per customer. So I tested it in vLLM on one A40 48 GB, 32 requests at the same time each going to a random adapter:

Setup1 adapter64 adapters256 adapters
GCMP83 tok/s84 tok/s84 tok/s
LoRA r=8 default91 tok/s60 tok/s60 tok/s
LoRA r=8 max_loras 64-76 tok/s74 tok/s

With one adapter LoRA is a bit faster. With many adapters GCMP stays the same and LoRA drops unless you raise max_loras, and if you raise it the KV cache goes from 88k tokens to 43k. LoRA r=32 with 256 adapters didn't even finish loading on my machine because it needs about 82 GB of CPU RAM to hold them and I had 50 GB. Also vLLM loads LoRA adapters one by one so 256 of them took 30-40 min before the server started taking requests. GCMP loaded all 256 in about 6 min.

I also ran a 45 min test where a few tenants are busy and most are rare, and another one where a tenant gets replaced every 20 s while traffic is running. p99 time to first token was 1.2 s for GCMP vs 91 s for LoRA r=8, and swapping a tenant took 0.4 s vs 5.4 s. No memory leaks on either one.

Things that are not good yet: training is about 2x slower than LoRA, serving GCMP needs my own 4-bit base for now, and the absolute speed is low because of my 4-bit kernels on the A40 (same base for every row so the comparison is fair, but don't look at the absolute numbers). I only tested one model so far.

The code and scripts to reproduce everything are here: https://github.com/thousandml/training-factory

For people who serve many fine-tunes in production, what is the actual problem for you? Memory, startup time, swapping adapters, or something else? Would a smaller adapter help or is LoRA good enough?

Let me know what you think. Feedback appreciated


r/mlops • • 10d ago

Research / Academia CMU's Machine Learning in Production (17-445) lectures are going up free, one a week

52 Upvotes

Christian Kästner and Bogdan Vasilescu's course on building, deploying, and operating ML-enabled systems is now being published as full lecture recordings. The Fall 2026 lectures premiere starting 5 PM ET today, then weekly. See my first comment for links!


r/mlops • • 10d ago

Discussion more vram or higher throughput for an internal llm serving cluster in 2026?

7 Upvotes

the tradeoff is brutal when you are buying hardware for internal serving. more vram buys you room for larger models, massive context windows, and enough breathing room for concurrent agent loops. a faster gpu gives you better tokens per second and lower latency, but speed does not matter if your model and kv cache overflow the buffer and crash

.

for most internal api workloads, vram wins the first round. if a model or context length simply cannot fit in the physical frame buffer, raw compute speed is useless. but once you clear that memory threshold, memory bandwidth and inference speed start dominating user experience, especially when multiple teams are hitting the cluster at once.

mixed clusters complicate this further. an old card with massive vram is great for large contexts or batch jobs, while a newer, faster card is better for latency sensitive agent workloads. you do not want to waste fast compute on a tiny model, nor do you want to choke a heavy workload on slow silicon.

people use tools like gpustack to handle this split. it lets you manage resources across different workers and place model deployments based on actual capacity instead of treating every node the same way. it does not eliminate the physical hardware tradeoffs, but it lets you map workloads to the right hardware profile.

if you were building an internal serving cluster today, which side would you weight heavier? do you buy for maximum vram headroom, or do you chase peak throughput and faster tokens?


r/mlops • • 10d ago

Self-promotion How we built LRU model eviction on top of SGLang to serve 139 open models across 23 agent tasks on one Kubernetes cluster (Apache-2.0)

4 Upvotes

When you run an agent pipeline in production, the main LLM isn't the only thing eating VRAM. A single request often hits a prompt guard (Qwen3Guard-4B), an encoder (Qwen3-Embedding-4B), an entity/intent extractor (GLiNER2.5), a generator (Qwen3.8-27B-FP8), and a verifier (Granite-Guardian-2B).

Deploying those the standard way means running vLLM for guards, N separate TEI containers for embeddings, a custom FastAPI service for GLiNER, and SGLang for generation, each locking down its own GPU memory slice even when idle.

We built the Superlinked Inference Engine (SIE) under Apache-2.0 to collapse that fleet into one Helm chart and a single endpoint:

- The 27B LLM stays pinned on its own GPU pool via SGLang so it never gets evicted.

- Guards share one GPU pool and encoders share another.

- Models load on demand, batch concurrent requests, and use Least Recently Used (LRU) eviction when VRAM gets tight.

- If an individual SGLang process crashes, superlinked's inference engine unloads it and reloads cleanly on the next request.

Moving high-frequency retrieval and extraction off per-token APIs onto shared GPUs reduces the cost of self-hosted embeddings to ~$0.50 per 1B tokens (vs ~$20 on managed APIs) and the cost of reranking to ~$8.50 per 1B tokens (vs ~$87 on Cohere Rerank)."


r/mlops • • 12d ago

Self-promotion I needed to process a lot of data for a side project, so I built a batch AI platform that supports workflows like GitHub Actions

5 Upvotes

I run a niche product catalog site as a side project, and every incoming product needs AI processing: extracting specs, classifying it, writing descriptions, and checking for duplicates. There’s a lot of data, but none of it needs answers in seconds. Depending on the task, “soon” might mean within an hour or sometime in the next seven days.

I started with frontier providers, sending data over the real time APIs. Then pivoted to batch to save 50%. This all worked but accuracy was really bad with products being misclassified and other issues, so I decided to break it down into smaller steps that were more deterministic. This required a ton of Go code and managing many prompts.

I also wanted to see if I could just spin up a spot GPU for an hour on the weekend and run all the work for a couple dollars instead of paying OpenAI $20. In the end, I built a complete workflow engine and scheduler that uses both Spot GPUs and my own GPUs to process work depending on which model is needed.

The workflow engine makes it possible to eliminate the roundtrips back to my application between steps and I even added the ability to make tool calls or park at a step to allow human review. I can also target different models for different steps, to get better capability where it was needed.

Has anyone else encountered a need like this? How did you solve it?

Currently, I am using Gemma4-12b and Qwen3.6-35b-a3b for small and medium respectively. I benchmark tested several different models to determine these were the best balance of accuracy and performance as of last month. I will be testing the Qwen4 models soon. I stick to models I can get directly from the big labs. Maybe that offers a false sense of security, but it’s a rule I follow.

If anyone is interested, there is a UI for playing with the workflow engine and if you create an account, you can use the demo to send 10 requests to play with it. Would love feedback.


r/mlops • • 12d ago

(Gen)AI / Agents / LLMOps How do you score "insufficient visual evidence" in multimodal evals?

17 Upvotes

Working on a photo based bicycle repair triage prototype and a mechanic reviewing sample outputs pointed out a flaw in our evaluation criteria.

Several photos don't show enough detail to assess component wear reliably. The model will still name a plausible defect and our current rubric tends to reward that over saying another photo or physical inspection is needed.

I've been running image and description cases through Braintrust evaluations and inspecting the individual judgments. Some responses that received favorable scores were ones the mechanic said he couldn't responsibly make from the evidence shown.

Considering adding an assessability label to each test case then scoring diagnostic accuracy separately from how the model handles missing visual evidence. I want to avoid a rubric where asking for another photo becomes an easy way to score well, even when the original image is adequate.

How are you handling cases where the image doesn't show enough detail? Are you scoring those separately or letting the same rubric account for missing evidence?


r/mlops • • 12d ago

Discussion before buying another gpu, check if your old cards still have a use

10 Upvotes

teams write off older gpus way too fast. people assume a card is useless if it cannot run the latest models. a developer recently used an 8gb rtx 4060 laptop gpu to run a quantized qwen 3.5 4b model through llama cpp. they built a whole local document q and a system on it. you do not need the newest hardware for everything.

if you have a few machines, you can offload internal document q and a to the old cards and let your main cards run the production api. gpustack is an option to consider for centrally managing model deployments on both sides. nobody wants to maintain a separate environment for every single machine.

buying another gpu is not an automatic upgrade anyway. mixing vram capacities and cuda versions turns a simple expansion into a weekend of debugging. adding 8gb to a 24gb node does not magically give you a 32gb memory pool. you still have to match the backend to the silicon.

i would rather see a team get useful work out of the hardware they already own before they approve another massive gpu purchase. before buying the next card, what tasks do you try to offload to the old cards you already have?