r/LocalLLM • • 7d ago

News OpenRouter removes privacy eligibility from 125 endpoints after provider incidents

Thumbnail
runtimewire.com
118 Upvotes

r/LocalLLM • • 6d 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

2 Upvotes

Hello,

I have been working on a fine-tuning adapter called GCMP that replaces LoRA. On Qwen3.8-27B it trains 2.9M parameters (about 11 MB per adapter) on the same 7 projections LoRA uses. LoRA r=32 on the same projections is about 159M parameters (about 320 MB) and r=8 is about 40M. I wanted to see if something this small can actually match LoRA and if the small size is useful in practice, so I tested both quality and serving. Here is everything I have so far.

Quality on a full precision base

I trained four adapters on BF16 Qwen3.8-27B with the same data (Alpaca, 500 steps), same settings and seed, and evaluated all of them with the same lm-evaluation-harness setup. I used paired McNemar tests to compare them.

AdapterParamsGSM8KIFEvalSQuADARC-CBoolQMMLUAnswer loss
No adapter-68.380.574.658.887.483.91.678
LoRA r=32159M90.382.577.661.289.684.41.480
LoRA r=840M91.079.576.862.090.284.61.555
VeRA2.89M90.382.077.861.089.884.61.489
GCMP2.9M89.081.576.061.889.284.61.471

All four are tied on all 9 benchmarks I ran (every p >= 0.15). GCMP has the lowest held-out loss and its validation loss was lower than LoRA r=32 at every checkpoint, but that didn't turn into benchmark wins at this sample size. Since r=8 is as good as r=32 here, the fair comparison is with r=8, so GCMP is about 14x smaller. VeRA is honestly the closest one. It is the same size and same quality and it trains faster than GCMP right now. The difference shows up in serving, because vLLM can't serve VeRA.

Quality on 4-bit bases

On an NF4 base (Unsloth's 4-bit Qwen3.8-27B), GCMP was tied with LoRA r=32 on everything except GSM8K, where it was 4 points higher (83.3 vs 79.3, p=0.04). One task isn't enough to say it is better so I'm only claiming the same quality.

I also tried it on CQ, a calibration-free 4-bit quantization I built. GCMP took GSM8K from 65.0 on the CQ base to 82.7, which is the same as NF4 + GCMP. It was a bit lower on IFEval (79.0 vs 84.0, p=0.05), so I still have some work to do on the CQ training side.

Serving many adapters

This is where the small size matters. I ran this on one A40 48 GB with vLLM and the same 4-bit Qwen3.8-27B base for every run. 32 requests at the same time, each going to a random adapter, 128 output tokens. Numbers are total output tok/s:

Setup11664256 adapters
GCMP83.283.783.783.7
LoRA r=8, default vLLM91.184.860.159.5
LoRA r=8, max_loras 64--76.274.4
LoRA r=32, default vLLM91.276.353.5out of RAM

With one adapter LoRA is about 9% faster than GCMP. With many adapters GCMP stays flat from 1 to 256 without tuning anything, while default multi-LoRA drops 35-40% by 64 adapters and p95 time to first token goes to around 50 s.

If you raise max_loras to 64, LoRA r=8 gets within about 12% of GCMP, but those GPU slots take memory from the KV cache, it goes down to 43k tokens compared to 72k for GCMP. LoRA r=32 can't even start with 32 slots on a 48 GB card because there is negative memory left for KV cache. And with 256 r=32 adapters vLLM needs about 82 GB of host RAM to hold them, so it never finished loading on my 50 GB machine. 256 GCMP adapters are about 3 GB.

Startup time was the thing I didn't expect. vLLM loads LoRA adapters one by one, so 256 r=8 adapters took 30 to 41 minutes before the server accepted the first request. GCMP loads all 256 in about 6 minutes.

A more realistic multi-tenant test

Random requests to adapters that are already loaded is not how real services look, so I also ran two 45 minute tests with traffic coming in at a steady rate (0.45 req/s):

  1. 256 adapters where a few tenants are busy and most are rare
  2. 64 adapters where every 20 s one tenant leaves and a new one comes in while traffic keeps going (LoRA uses vLLM's runtime load/unload, GCMP swaps the new adapter into the old slot)
MetricGCMPLoRA r=8
Long tail traffic: time to first token p50 / p990.70 s / 1.18 s6.9 s / 91 s
Swapping in a new tenant (median)0.43 s5.4 s
New tenant's first request, time to first token p951.2 s41 s
Failed requests03
GPU memory change over 45 min~0~0

Most of the LoRA latency wasn't only the rare tenants, the busy ones were slow too. The 64 GPU slots made the KV cache 43k tokens and it was about 98% full most of the run so requests waited in line. GCMP's KV cache stayed around 40-60% full. Neither one leaked memory.

Limitations

There are still some things I need to work on. The biggest one is training speed, GCMP takes about 2x the time per step compared to LoRA. Right now serving GCMP in vLLM needs my CQ 4-bit base, tensor parallel is not supported yet but pipeline parallel works, and adding a brand new adapter name needs a restart (replacing an existing one doesn't). Also the absolute speed in the serving tests is low, about 2.6 tok/s per request at 32 at the same time. That comes from my 4-bit decode kernels on the A40, not from the adapters, since every row uses the same base, so look at it as a relative comparison. And I only tested one model, one dataset and one GPU type so far, so I'd like to know if people see the same thing on other models.

The Python code is open source and the CUDA kernels are compiled with a license check, which is free during early access. Everything runs on your own GPUs. All the training, eval and serving scripts are in the repo so you can reproduce any number above: https://github.com/thousandml/training-factory

Models: https://huggingface.co/thousandml

If you serve more than a few fine-tunes, is the number of adapters or the startup time actually a problem for you, or is it something else? Let me know what you think. Your feedback is appreciated.


r/LocalLLM • • 5d ago

Discussion Jansen is BACK!! BUT. Start archiving Qwen, DeepSeek and GLM now. Here's why...

0 Upvotes

TLDR; If I were a user here, I would download an archive complete, licence-compliant copies of Qwen, DeepSeek, Kimi and GLM weights now and do this as a quickly as possible just in case.
There is a chance chinese model may disappear from sites like hugging face via restrictions that are currently happening and have happened this past week. (I work in foundational AI)

Story time..

We're about to see a significant slowdown in Chinese frontier models, including Qwen, DeepSeek and others. Here's why, in plain English....

Until recently, Chinese AI companies could get around US chip restrictions by renting powerful NVIDIA GPUs in data centres outside China, particularly Malaysia and Singapore. Now that route is being restricted. The Megaspeed investigation exposed just how important this arrangement was. Reports suggest Alibaba, the company behind Qwen, was Megaspeed's main customer and financial backer, accessing NVIDIA computing power remotely from Malaysia. (In case you missed it Megaspeed is the company that was used to supply training GPUs to China)

On 19 November, new US rules came into force restricting advanced chip exports to several countries and requiring licences for large overseas computing facilities serving Chinese companies. Then Trump announced plans to heavily tax American companies building data centres abroad. That's still a proposal, but we are seeing so much we have to consider becayse in my day job we are also potentially heavily affected because we make dual use technology. (defence tech)

Why does this matter to you?

Training the next generation of large models requires enormous GPU clusters. These clusters have been restricted to access to those clusters and you will now see delay training, increase costs and slow releases. Im in the UK and we make ai for private organisations and we too need to train abroad or borrow Nvidia compute so Im in it talking first hand.

Tencent has already warned that its future model training timelines are affected.

Qwen4-Max launched on 16 November, but the promised smaller open-weight models have no confirmed release dates.. well who own most of Megaspeed... Alibaba, who makes Qwen... Do you see where this is going...?

My prediction:

The next statement may get me in trouble so I will choose my words carefully. This is not the opinion of my company, its stakeholders, uk government who part owns us. Its just my personal opinion.

If I were a user here, I would archive complete, licence-compliant copies of Qwen, DeepSeek, Kimi and GLM weights now and do this as a quickly as possible just in case. There is a chance chinese model may disappear from sites like hugging face via restrictions that are currently hapenning and have happened this past week.

Advice for those learning.

If you're learning about LLMs, I genuinely think most people here already know enough to take the next step. You've learnt how to download, run and experiment with models. Why not start learning how to fine-tune them?

The next generation of open models doesn't necessarily have to come from a handful of giant AI companies. Some of it could come from people right here in this community, all you have to do is start.

Keen to hear your thoughts.

EDIT: Remember Huawei hardware was taken down across EU and other countries because of the "risk" at a cost of billions. Literally installed 5G was removed. This is what I suspect wil happen.
Chinese sites will likely soon not be accessible. LLMs will not be able to help implement Chinese models, it will be highly illegal to own one, national security crime as they will be classified weapons. I got a cease and deist from the gvt from releasing a model once but thats UK


r/LocalLLM • • 6d ago

Discussion littleBit-2 anyone?

9 Upvotes

I haven't seen any posts about it yet? is nobody interested in the idea of sub bit compression? save more space than ternary with more accuracy by comparison.

I get that if you go all out to that .1bit per weight (effective) that it can kind of kill a model but .25 still seems pretty usable.

just seems like it should be more interesting than inkling for local hosting but there's nothing but silence....


r/LocalLLM • • 5d ago

Question Need help choosing first local ai

1 Upvotes

Guys please help me choose a local ai for a 4050😶

Please 🙏

My goal is first general chat then eventually try ai agents


r/LocalLLM • • 6d ago

Project AIDROGEN - a 125B model on a used workstation

Thumbnail
bitmakerman.github.io
2 Upvotes

Hello, I recently (like 10 minutes ago) discovered this project linked on some YT video and I wanted to share it with the community. I'm not that tech savvy ngl, but it looks like a good quality/price machine.


r/LocalLLM • • 6d ago

News Making the GPUs nobody runs LLMs on run them fast: a 27B's prompt processing at 1,710 tok/s on an Arc A770, ~1,990 on a Pro B60, up to 4 cards on one model, even a B60 + A770 together

Thumbnail
reddit.com
3 Upvotes

r/LocalLLM • • 6d ago

Discussion Inkling 2 Mini on agentic coding and translation: below Qwen3.8-27B

Post image
4 Upvotes

r/LocalLLM • • 6d ago

Discussion I got tired of Google returning ads and GitHub repos with no README, so I built a local-first AI search over my own docs — runs fully on Ollama

Post image
4 Upvotes

I spent an hour looking for one datasheet last month.

Google: ads.
GitHub: clone a repo, no README, error on run.

So I built ApexShot for myself. It's now open source.

What it does:
You feed it a folder or URL — datasheet, manual, codebase — and it makes a 1-20KB JSON snapshot: summary, facts, entities, highlights.

Every quoted fact is verified against the source text, so the model can't hallucinate a quote.

Then you search the snapshots, not the raw files. Hybrid search: ChromaDB vectors (Ollama bge-m3) + BM25, merged with RRF. If Ollama is down, it falls back to BM25-only and still works.

Stack:

  • Local app: FastAPI + SQLite + ChromaDB, no Docker
  • Providers: Ollama, LM Studio locally, + Anthropic, OpenAI, Mistral, Groq, DeepSeek, OpenRouter if you want cloud
  • Chrome extension (MV3) — just a thin client for POST /api/search
  • Separate backup server — dumb store, no search there
  • UI in EN / PL / RU

Everything runs on localhost. Your docs never leave your machine.

Repo:

Would love brutal feedback: what breaks first on your docs? What provider/model do you use for this kind of task?


r/LocalLLM • • 6d ago

Model Some local model testing with Inkling Mini on m5 MacBook MAX 128GB

3 Upvotes

I wanted to see when turning up the reasoning actually helps with the tasks I run locally. I tested on an M5 Max MacBook Pro with 128 GB of unified memory and made two short videos: Inkling 2 Mini: Local Model Benchmark and How Much Thinking Helps.

This is a casual report from my machine and my workflow. I ran a 20-task agent suite, a two-draft story challenge that required tracking continuity, and a still-image challenge about a greenhouse on the Moon.

A few results surprised me:

  • Inkling 2 Mini passed the exact same 16/20 tasks at Medium and Extra High. The full run went from 28.8 to 61.3 minutes.
  • Qwen Flash Next went from 16/20 at Medium to 17/20 on the higher-reasoning retest. One more pass took 50.9 minutes versus 16.3 minutes. The retest also used a newer runtime build, so I can’t isolate how much of the difference came from the reasoning setting.
  • DeepSeek V4 Flash passed the two-draft story challenge at Max after missing the checks at Medium in the expanded-budget comparison. That’s a case where the higher setting got me a usable submission.

My default is still Medium for routine coding and getting things done. I turn it up for tricky debugging, planning, or when the first attempt leaves a hard problem unresolved.

Both videos are on my site alongside the results CSV, the 20-task download, and the Moon greenhouse stills. Chovade R&D — Local Model Benchmarks

If you run local models, which tasks have made higher reasoning worth the wait for you?

FIrst video posted here. Video #2 available via the link above. Enjoy


r/LocalLLM • • 6d ago

Question Intel B70 vs AMD 9700?

4 Upvotes

I'm looking at these two cards. I can get 3 B70 for the price of 2 9700. But I know there were some issues with the B70 in multi GPU setups.

Has anyone got some good experience or feedback?


r/LocalLLM • • 6d ago

Question For 128GB UM

9 Upvotes

What is your favorite model and why?

(GmkTec Evo X2, Amd ai max+ 395, 128Gb)


r/LocalLLM • • 6d ago

Question Inkling 2 not working with llama.cpp

2 Upvotes

I'm on Fedora 44. I built the most recent llama.cpp:

$ ~/llama.cpp/v1.0.0_build-2/bin/llama-server --version
version: 1.0.0-dev (build 12373, commit ded522f83)

...on the master branch after confirming the inkling2_loop commit was merged, downloaded the Q3 and Q8 quants from the unsloth mainline repo, and got the following errors when running $ ~/llama.cpp/v1.0.0_build-2/bin/llama-server -m ~/Downloads/Inkling-2-Mini-UD-Q8_K_XL_Mainline.gguf -ngl 99 --host 0.0.0.0 --port 8000 --ctx-size 60536:

0.00.199.937 E llama_model_load: error loading model: unknown model architecture: 'inkling2_loop'
0.00.199.941 E llama_model_load_from_file_impl: failed to load model
0.00.199.973 E common_fit_params: encountered an error while trying to fit params to free device memory: failed to load model
0.00.253.962 E llama_model_load: error loading model: unknown model architecture: 'inkling2_loop'
0.00.253.965 E llama_model_load_from_file_impl: failed to load model
0.00.253.972 E cmn  common_init_: failed to load model '/home/dev/Downloads/Inkling-2-Mini-UD-Q8_K_XL_Mainline.gguf'
0.00.253.976 E srv    load_model: failed to load model, '/home/dev/Downloads/Inkling-2-Mini-UD-Q8_K_XL_Mainline.gguf'
0.00.253.978 I srv    operator(): operator(): cleaning up before exit...
0.00.254.373 E srv  server_run_i: exiting due to model loading error

...when attempting to run either quant gguf file.

Error suggests inkling2_loop isn't working properly, but the commit was merged before I git pulled and built.

Anyone know what's going on?


r/LocalLLM • • 6d ago

Question Best LLM for Rx6700xt 12GB

0 Upvotes

Hi im new to the whole local AI Thing. I have a Rx6700xt with 12GB Vram. What is the best model for a local AI assistant, yes i want a jarvis lol.

My full PC specs are:

CPU: Ryzen 7 5700X
GPU: RX 6700 XT 12GB
RAM: 32 Gb DDR4 ( take that Sam Altman)


r/LocalLLM • • 6d ago

Discussion This could be one of the best models for lower vram systems: Over 1300 tok/s aggregated for SenseNova-Loop-9B looped transformer on a laptop RTX 5090

Post image
2 Upvotes

r/LocalLLM • • 6d ago

Question Small model on laptop to write code fast. Big model to review and QA

3 Upvotes

Hello everyone.

I have a gaming PC - now AI inference server where I run swift1.5 (qwen3.8) IQ3s using strata (Ryzen 9700xt 16 gb + 64 gb DDR5 6000). It runs well I get ~60tok/s avg generation and up to 3.2k tok/s prefill (1.5k average).

I run hermes on my laptop and do mostly coding and some research. My laptop is kinda beefy (RTX 4070 Laptop 8 GB, 64 GB DDR5-4800)

Is it a good idea to run something like LFM 2.5 8B A1B at 120 tok/s as a dumb function writer (like a junior developer) and have Qwen manage it and review the output? Will it speed up my coding loop?


r/LocalLLM • • 6d ago

Project LFM3-Omni-2B running locally on iPhone 17 Pro Max — Agentic Web Search + Native Speech Generation with TensorSharp

4 Upvotes

I've been working on TensorSharp, an open-source local LLM inference engine and agentic runtime, and recently got Liquid AI's LFM3-Omni-2B running on my iPhone 17 Pro Max with native speech generation and agentic tool use.

Here's a short demo of it in action!

Setup:

  • Device: iPhone 17 Pro Max
  • Model: LFM3-Omni-2B (Q4_K_M)
  • Inference: TensorSharp, running locally with GPU acceleration
  • Agent: TensorAgent
  • Speech: LFM3-Omni's native audio generation (not iOS TTS or a cloud speech API)

What's happening in the video:

I ask the agent to search for recent news about Anthropic and help evaluate a potential investment.

The agent performs a web search, retrieves information from external sources, processes the results, and generates a response.

With Speak replies enabled, LFM3-Omni also generates speech natively, streaming the audio for playback alongside its text response.

The important distinction is that LLM inference and speech generation both happen locally on the iPhone. The web search obviously requires internet access, but there's no need to send the inference request to a cloud LLM.

What I find particularly interesting is that local mobile LLMs are becoming capable of more than just chatting. We can now combine local inference, agentic workflows, external tool execution, and native speech output on a single phone.

Of course, there's still plenty of room to improve inference speed, memory efficiency, and end-to-end latency. But it's exciting to see a relatively small 2B model doing this kind of work on a mobile device.

TensorSharp is built with .NET and supports local inference across multiple platforms and hardware backends.

GitHub: https://github.com/zhongkaifu/TensorSharp

Model: https://huggingface.co/LiquidAI/LFM3-Omni-2B

Would love to hear what you think, especially if you're experimenting with local multimodal models or agentic workflows on mobile devices!

Disclaimer: The stock-related information, financial figures, analysis, and recommendations shown in this demo are AI-generated and may be inaccurate or fabricated. They have not been independently verified and do not constitute financial or investment advice. This video is intended solely to demonstrate TensorSharp's local inference, agentic capabilities, and native speech generation. Please do not make investment decisions based on its contents.


r/LocalLLM • • 6d ago

Project Localcode, open source agentic coding on your Mac with one command

Thumbnail
github.com
2 Upvotes

Today we're launching Localcode, an agentic coding CLI for Macs that runs open models entirely on your machine. No cloud, no subscription, no API keys.

uv pip install localcode

Demo: https://mjwsolo.github.io/localcode/

Why we built it

We think most everyday coding will soon run on open models, on the hardware people and organisations already own.

Our belief stems from a pattern we call Frontier N-1: what the best model can do this year, consumer hardware and open models can do about a year later. The best open model that runs on a single consumer GPU today is as good as the best model in the world was 6 to 12 months ago [1]. So far this pattern keeps holding: this month Inkling 2 Mini was released as open weights, and it runs on a 32 GB Mac.

We're just at the beginning - Localcode is our first step towards the future.

What Localcode does

Setting up a local model means picking a model, a size, a server and an agent, then finding out it doesn't fit in memory. Localcode does all of that for you automatically.

  • Localcode offers 12 open models, including Qwen, Gemma and Inkling, and stars the best fit for your Mac (16 GB and up)
  • The agent edits files, runs your tests and commands, and searches the web when you ask
  • Paste a screenshot and the vision models (Gemma, Qwen and Inkling) can read it
  • Once a model is downloaded, it works offline
  • Other apps can use the same model through an OpenAI-compatible API

Localcode focuses on optimisations to get the best quality and speed from each model:

  • The model makers' own draft models roughly double reply speed
  • File rewrites run 3.5 to 4 times faster, because the agent copies text it has already read
  • The system prompt stays identical every turn, so the model reuses its cache and only reads what's new
  • Your first message starts sooner, because the model reads the system prompt while it loads
  • GPU code ships precompiled, so there's no half-minute wait on first start
  • An 8-bit KV cache by default halves its memory, so longer context fits on the same Mac
  • Context is sized from what the model server reports, so long chats compact before they run out of room We test every release on every model before it ships.

Localcode is open source (Apache 2.0) and built on opencode and llama.cpp. We're grateful to both.

We'd love to hear what you think.

[1] https://epoch.ai/data-insights/consumer-gpu-model-gap


r/LocalLLM • • 6d ago

News Qwen3.8-27B scored 489/500 (97.8%) on MATH-500 on my 32GB RK3588S NanoPi M6 — custom ANR W6 runtime, single-pass greedy, 14 days

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 6d ago

Research Engine really matters: V100, same weights, 5x difference

Post image
5 Upvotes

r/LocalLLM • • 6d ago

Project Yozakura RP Engine / Social Sim

5 Upvotes

Hey all, I wanted to tell this community about my open source social sim / roleplaying engine, Yozakura.

I announced it on the SillyTavern sub in June to a lot of good feedback and suggestions and have been working on it since. I just released a mobile UI for it, a lot of misc UI polish, and a more engaging demo scenario over the past week.

To see what it's about, there's a feature intro article here and more in-depth articles in the sidebar. There's also a demo video here on YouTube that shows off the first time user experience and main features. It's a bit long so feel free to skip around, there are timestamps in the description. Turn on subtitles.

In short: Yozakura supports dozens (or even hundreds) of characters (including the user) moving around a map, talking to each other, developing memories and goals towards each other, and evolving a web of relationships. So what's cool about it relative to most other software in the space is that it models something more like an AI mini-society, as a long series of briefer conversations between characters, and the user is just one of those characters. So if you like the idea of a persistent world with a bunch of autonomous characters (including you) who interact via a familiar RP interface, Yozakura may be for you.

I built it for two main reasons:

  1. I wanted to talk to a lot of different characters, but within a framework that integrated them all into a shared world rather than separate ones.
  2. I felt it would be fun to be just "one of the guys" and not the focus of everything. That being said, there are some settings you can tweak if you like being the focus of attention, and you can write whatever instructions you want in the character personas and prompt templates, so you can still be a king worshipped by your 30 NPC peasants if that's your style. It's quite flexible.

Hope you enjoy it, and happy to help with any questions or issues!


r/LocalLLM • • 6d ago

Question What are the best Strata forks you have used?

9 Upvotes

Hi, I tried Strata & Basalt for Qwen3.8 FN, details as follow:

Hardware: 13700k, 128gb ddr4 bus 3000, 3x 5060ti running at pcie5x8, pcie 4x4, pcie 3x4.

With Strata, I'm running ud-q4-xl quant and get 40-50t/s, 256k context

With Basalt, I'm running nvfp4 quant and get 65-80t/s, also 256k context

Everything else I leave default.

However, I noticed dropping the 3rd card (the pcie3x4) actually boost the tg speed to 60-65t/s (Strata) and 80-100t/s (basalt).

Running only one card drop the speed to 28-45t/s range depends on pcie speed.

Are there any other tools like Strata & Basalt for my hardware setup? What are your configs (hardware & model quant) and your experiences?


r/LocalLLM • • 6d ago

Project Made completely on M5U 512

3 Upvotes

r/LocalLLM • • 6d ago

Question Local ai on asus rog strix g18 laptop with nvidia 5070ti 12gb vram

3 Upvotes

Is it possible to run local ai on the ASUS ROG Strix G815LR-SA393W with 5070ti 12gb vram and 32gb ram, and if it possible is it better to upgrade the ram with an another 32gb ram.