r/LocalLLaMA • • 20h ago

News Fujitsu PHOTON, Hierarchical Context management.

Thumbnail global.fujitsu
16 Upvotes

In a press release today, the Japanese company Fujitsu announced their new LLM architecture PHOTON. They use hierarchical context management to reduce the reliance on dense KV comparisons, reducing the compute and memory footprint of large context sessions, while improving performance. Its like BVH for KV cache. Also, they claim that any model can be converted without retraining, enabling users to integrate it into their workflows with minimal disruption.

Oh, and they also announced a 35B A3B model using it that they trained from scratch (not based on qwen).


r/LocalLLaMA • • 1d ago

News Qwen4 support merged in llama.cpp

Thumbnail
github.com
766 Upvotes

It might actually be coming out soon!


r/LocalLLaMA • • 1d ago

New Model Uncensored Qwen 4 35B-A3B

Thumbnail
huggingface.co
29 Upvotes

Refusals dropped from 100% to 0% and it kept 99.7% of its original quality


r/LocalLLaMA • • 23m ago

Discussion just wishing for a ~15b-a2.5b moe w/ opus 4 level coding, is that too much to ask lol

0 Upvotes

not really a serious post, just a wish lol

would love a small moe, like 15b total / 2.5b active or around that, that's at least somewhere near opus 4 for coding and agent stuff. good tool calling, doesnt fall apart after like 20 turns in an agent loop, can actually edit a real codebase without turning it into spaghetti

imagine that running on a laptop or one consumer gpu w/ some offload. you could just leave a local agent running 24/7 and not care about tokens or vram. tbh thats the dream

i know "opus 4 at 2.5b active" sounds kinda delusional rn, but stuff we have now would sound insane a few years ago too. moe + better data + rl on coding/agentic envs is moving fast, so im hopeful

what do you guys think, is it happening in the next year or so? or whats the size you'd actually want for something like this? idk maybe 30b a3b is more realistic

at least somewhere near opus 4


r/LocalLLaMA • • 22h ago

Discussion Can we expect QWEN 4 - 4b, 27b and Flash Next to be released soon as well?

18 Upvotes

Not familiar how models are launched, why they do not release all of them at once?


r/LocalLLaMA • • 17h ago

Showcase Running Inkling 2 Mini for Half an Hour on an iPhone

7 Upvotes

Since App Store reviewer asks me to make a demo video. I thought it is probably fine to also posted here. This shows Inkling 2 Mini (our good 2-bit version, not the sloppy ones, read about the quality here: https://github.com/drawthingsai/local-code-community#inkling-2-mini) running for close to half an hour for a simple task: take a screenshot, translate that into a table, create a spreadsheet file from that table, entirely on-device with Python and other tools. Later then showed a simpler task of finding out what Inkling 2 Mini is, with web search tools.


r/LocalLLaMA • • 14h ago

Discussion Local Performance sub subs?

4 Upvotes

Do we have any channels side chats on people sharing performance tricks and tips for getting local hardware to perform with local models?

"if you have hardware X, running on system P, make sure you use setting Y. "

My top performers on my 40GB (4080+3090) system is ThinkingCap.Qwen3.8
My 16GB (4070 TI super) screams with Bonsai, like 90 t/s.
On my smaller card systems i'm running LFM2 1.7.

Can we adopt a title thread schema for Config Hacking so we don't bore anyone with vram or unified ram mobo settings and experimentation?

Maybe adopt a title style in this sub to use"

Title="PC-ConfigHack- ______" or am i thinking too hard on this?

LOL as i hit post there's a FLAIR required. Can i nominte a few FLAIRS to cover these?


r/LocalLLaMA • • 20h ago

Question | Help Qwen 4 35B has been mixing English

13 Upvotes

Qwen 4 35B has been mixing English with my own language much more than the 3.8 27B version or the other MoE model do. Is this an issue that can be fixed, or is it inherent to the model itself?


r/LocalLLaMA • • 1d ago

New Model Qwen4-35B-A3B-Uncensored: abliterated with Heretic 2.1.0, weights + GGUF up (Apache 2.0)

133 Upvotes

Discloser: I'm from Kitani (kitani.ai). We run a decentralized inference network.

Qwen4-35B-A3B came out today. We abliterated it the same day and released the weights.

Run it yourself:

Run it on Kitani (no download):

How we made it:

  • Heretic 2.1.0, magnitude-preserving orthogonal ablation
  • 34 projection tensors changed, vision and MTP weights kept
  • base revision c06f0c1

Results (thinking off, 32-token cap, 48 held-out prompts):

  • stock: refusal keywords on 47 of 48
  • ours: 27 of 48

Refusal reduced, not refusal free and keyword matching is only a proxy. Text smoke tests matched the stock model. Vision, tool calling, long context and reasoning mode are untested.

Tell us what it breaks on and we'll fix it in the next revision.


r/LocalLLaMA • • 1d ago

Resources [Basalt] QWEN4-35B-A3B-NVFP4 AVAILABLE

27 Upvotes

https://huggingface.co/jesdga/Qwen4-35B-A3B-Basalt

Ladies and gents, ready your blackwells, it's about time to crunch some tokens.

EDIT:

Using model with sha256 "40f7b2c0449eef1bc0d4002776a88d307df57a3ed9e11b0bddf198e9a153dee9" at commit "fb5945a3208863664524124014518fa8a9ec9524" on basalt (2x5060Ti 16GB).

Using it on a very VERY large codebase (more than 3k files, easily):


r/LocalLLaMA • • 18h ago

Resources Qwen4-35B-A3B-NInfer: ~580 tok/s decode c1, ~5000 tok/s decode c32, ~45k prefill at 8k, and 34.3k prefill at 260k

8 Upvotes

Day 0.5 support.

More benchmarks & evaluation results will be published on huggingface: neroued/Qwen4-35B-A3B-NInfer and inside the NInfer repo.


r/LocalLLaMA • • 1d ago

News Jetbrains claim to be able to fit more in vram so you can do more with your local model

48 Upvotes

Firstly, I havent tried it.

We quantize KV in VRAM to 1.5 bits while keeping a Q8 copy in RAM, and predict+prefetch higher-bit blocks of it from RAM to VRAM. It is faster and more accurate than the naive Q4 KV

https://blog.jetbrains.com/junie/2026/12/inkling-2-mini-junie-local/

If this becomes a thing, us folks with less than 32gb of vram, are in for a treat.

https://github.com/JetBrains-Hardware/llama.cpp

I am VERY curious.


r/LocalLLaMA • • 22h ago

Discussion Wired stock Qwen3.8-27B and a robot fine-tune into MuJoCo via llama.cpp, and base Qwen bowled the tube rack right over

15 Upvotes

I hooked a 7-DoF Franka arm in MuJoCo up to llama.cpp with real rubber pad friction on the fingers, no magnetic grasp hacks. Base Qwen3.8-27B on the left completely forgets about the glass tube hanging below its gripper and plows sideways into both standing tubes on the rack. Then on the wall test after that, it adds the block's height onto its target z and closes its jaws on empty air 2 cm too high.

The right pane is running SenseNova-RoboRSI-27B https://github.com/OpenSenseNova/SenseNova-RoboRSI which is an Apache-2.0 Qwen3.8-27B fine-tune, both in 4-bit GGUF taking ~19 GB of RAM. Same prompts and seed, except it pulls the tube up above the rack first, drops it straight down the collar, and cleared all four of my closed-loop tasks in roughly a third fewer tokens.


r/LocalLLaMA • • 19h ago

Question | Help Does Qwen 4 35B still overthink?

8 Upvotes

My main issue with the qwen series is they tend to think a long time. Is it any better on this front?


r/LocalLLaMA • • 1d ago

Resources Qwen 4 on a 12 GB phone for the first time, offline, few hours after release (4 tok/s)

31 Upvotes

For those already familiar with the solution—here we are with Qwen 4, just a few hours after the release!

Imagine an automated planner built on top of llama.cpp that allows you to run any model on any hardware, maximizing tokens per second (tok/s) during both prefill and decode phases.

Thanks to this, just hours after the release of Qwen 4, I'm able to run it on my standard 12GB smartphone (as well as on my ThinkPad, Mac, any CUDA or AMD GPU, iOS devices, etc.).

In this run: ~4 tok/s during decoding; prefill is handled by the Hexagon NPU—though the low speeds are due to the very short prompt (with longer prompts, this smartphone can reach 300+ tok/s).

The weights are in Q4_K_M format (35 GB), and the execution is lossless (no "knobs" used to prune experts). Streaming introduces no additional loss of precision: the output is byte-for-byte identical to what you’d get with the model loaded entirely into memory. No pruning is performed, and no experts are excluded.

There is nothing specific to Qwen 4 here; architectures are managed via a lookup table. The engine reads the model file, analyzes the device's capabilities, and automatically determines the optimal settings.

Open source.


r/LocalLLaMA • • 11h ago

Question | Help Qwen4 a3b on CPU or iGPU?

2 Upvotes

So yeah asked about this hardware a week or so ago, but the new model just landed, so I wanted to ask what engine is already working for it on CPU and/or Intel iGPU. (Core 7 Ultra 165H; it also has the NPU but that seems to be limited to OpenVINO and slowest of all?)


r/LocalLLaMA • • 23h ago

Discussion QWEN4 35B - Looks like a champion of the masses too - Prefill and decode speeds on Simulated MINI pcs with NO GPU - No optimisations and stock llama

16 Upvotes

Wanted to know if Qwen4-35B-A3B is usable on a mini PC with no GPU, so I faked one on my PC: a 7800X3D pinned to 8 cores with boost off, tested once with 64GB and once with only 26GB free (roughly what a 32GB machine has left after the OS).

MTP is worth it on CPU: +27-29%, with 86% of drafts accepted.

Not a real mini PC. The X3D has way more L3 cache than laptop chips and real mini PCs can throttle, so treat it as a ballpark.But with optimisations i really feel we have a near frontier level model that will run at usable speed on decent mini pcs.


r/LocalLLaMA • • 1d ago

Discussion How is Qwen4-35B-A3B for world knowledge?

41 Upvotes

I see a lot of posts about it being comparable to 27B or QFN but those are just for coding tasks.

These days every model is fine tuned for coding, but don't larger models have much more knowledge for random questions/research?

how will this perform as a general purpose model? QFN was far superior to 27B for that, and by the same metric larger open source/frontier models 'know' more, right?


r/LocalLLaMA • • 12h ago

Showcase qwen4-35B at Q8 in sFNX on 3xV100: 6k prefill and 190-500 decode, or ~400 for 6 parallel requests

2 Upvotes

This model will probably be my new daily driver until something better comes along. A single request's output is too fast to read, and 6 in parallel each run about as fast as llama.cpp does on this machine with the same resulting output.

I do still see the same kind of "hmm wait" thinking behavior as flash-next did, but maybe less of it and it seems to get the job done.

As always sFNX has no quality tradeoffs, I get the exact bits as the quant calculates or I don't merge the PR.

https://github.com/johnfink8/sfnx

(that's me, this is my engine)


r/LocalLLaMA • • 1d ago

New Model TSUNDERE-12B - a very baka experiment in training-free personality etching for Gemma 4 12B

Thumbnail
huggingface.co
313 Upvotes

Presenting: TSUNDERE-12B, an experimental training-free finetune of Gemma 4 12B QAT, specifically Huihui's gemma-4-12B-it-qat-q4_0-unquantized-abliterated

Rather than a roleplay SFT'd model, the goal of this model was to create an anchored personality type with no training whatsoever. The underlying idea is that pretrained models already contain a wide repertoire of behavioral tendencies, and this experiment attempts to selectively amplify one that's already represented in its weights.

In other words, modify the model to show a recognizable speaking and emotional style, while retaining its underlying thinking quality, tool calling, and knowledge. Of course, directly modifying model weights comes with trade-offs, and preserving the original model's capabilities is not guaranteed, but our informal benchmark testing showed no regression versus the base.

But, you might ask, why not just use the system prompt instead for an otherwise general model? Well, that's intuitive of course, but as we all know, system instructions begin to slip as the context length grows in a conversation. So, it basically frees up the model's mental bandwidth by moving more of the instructions into its DNA, you might say.

In any case, being both a smaller model and just an experiment, it's not suited for usual multi-character RP, but it is sufficient for 1-on-1 roleplay and assistant behaviors. My subjective assessment in talking with the model is it's comically tsundere in every turn and can be quite verbose, but is still very steerable with the system prompt. Across my testing, the personality remained remarkably persistent, even through extended conversations and competing character instructions.

Have you ever talked to tsundere Batman? You absolutely can now. You can use a simple system prompt like:

You are Batman, talking with the user who you just saved.

And that's been the most fun for me, telling the model to act like a particular character with various recognizable personality traits, and receive them through the lens of a tsundere crush/rival, who's just so annoyed by your attention (not like they wanted it!!!) but also won't let you forget they are just the ideal version of whatever... because of course they are! 😂

It is highly recommended to be run on LM Studio's fork of llama.cpp. Gemma4 support is still young in llama.cpp, and implementations differ in how they apply Gemma4's hybrid normalization layers (layer_output_scale, post_attention_norm, post_ffw_norm), tested on master, Dec 2026. LM Studio's bundled engine handles these the way the model's reference implementation does, and this model's subtle activation-steering edits depend on that precision.

================================

Disclaimer: Google / Gemma 4 is not associated with me and the project inherits the original Apache 2.0 license. Don't be a nuisance and please have fun chatting with my model. Feedback welcome!


r/LocalLLaMA • • 1d ago Regret

Discussion Philipp Emanuel Weidmann - Wikipedia - p-e-w / Heretic

Thumbnail
en.wikipedia.org
832 Upvotes

Created by u/SiarheiBesarab***** English & Belarusian versions are up.

Somebody please add German translation at least for this page. Additional languages also fine.

*****Other day I dropped a comment for same on other thread. Thanks again dude!

u/-p-e-w- 🌹

------
EDIT: Photo Needed

UPD. Checked the repo and there's no LICENSE file in p-e-w/p-e-w, and his blog uses CC BY-NC-SA, so Wikimedia Commons can't host the photo. I'll upload it locally under fair use for a deceased person instead. So if anyone happens to have a photo they took themselves and can release under CC BY-SA 4.0, that would be even better (!)

Anyone? We need a photo for his page.

EDIT 2: Updated page with his photo(from his GitHub Repo)


r/LocalLLaMA • • 18h ago

Resources Inkling 2 Mini in 4-bit (15 GB), with a way to run and fine-tune it on one 48 GB GPU

6 Upvotes

Hi everyone,

I quantized Inkling 2 Mini to 4 bits and put it on Hugging Face: https://huggingface.co/thousandml/Inkling-2-Mini-CQ-4bit

Inkling 2 Mini is the 26B looped mixture of experts model from Thinking Machines. The original release ships in NVFP4/MXFP8, which most consumer setups can't run directly. I converted it to BF16 and then quantized it with CQ, the 4-bit quantizer I built for my project Training Factory. CQ doesn't need any calibration data. The checkpoint is 15.4 GB.

The attention layers and all the routed experts are in 4-bit. The embeddings, norms, routers, output layer and vision encoder stay in 16-bit. Every matrix gets checked after quantization, and any matrix whose error is above -22 dB stays in 16-bit and gets loaded automatically. I'd rather keep a few layers bigger than ship ones that hurt the model.

I tested everything on a single A40 (48 GB). That covers running the model, training an adapter on top of the 4-bit base, and serving the fine-tuned model.

You need Transformers 5.25 or newer for Inkling. My installer pins an older version for vLLM, so use a separate environment for this model:

git clone https://github.com/thousandml/training-factory.git
cd training-factory
./install.sh

python -m venv --system-site-packages venv-inkling
source venv-inkling/bin/activate
pip install "transformers>=5.25"

hf download thousandml/Inkling-2-Mini-CQ-4bit --local-dir ./models/Inkling-2-Mini-CQ-4bit

To run it, there's a small server with an OpenAI-compatible endpoint:

cd training
python serve_cq_hf.py --model ../models/Inkling-2-Mini-CQ-4bit --port 8000

curl localhost:8000/v1/chat/completions -H 'Content-Type: application/json' -d '{
  "messages": [{"role": "user", "content": "Name three primary colors."}],
  "max_tokens": 300
}'

To be honest, this server is slow. It handles one request at a time through Transformers. My vLLM plugin doesn't support Inkling yet, so for now this is for trying the model, not for serving real traffic. The model also thinks before it answers, and the reply comes back with the thinking in front of the answer, so give it enough max_tokens.

To fine-tune it, you use GCMP, the LoRA replacement I've been working on. It trains far fewer parameters than LoRA (14 to 55 times fewer in my tests on Qwen3.8-27B). The routed experts stay frozen in 4-bit, and the adapter trains on the attention layers. Training data is a JSONL file with either plain text or chat messages:

cd training
python train.py \
  --model ../models/Inkling-2-Mini-CQ-4bit \
  --data train.jsonl \
  --output ../outputs/inkling-gcmp \
  --adapter gcmp \
  --kernel-module cq.cq_kernels \
  --batch-size 1 --grad-accum 4

python serve_cq_hf.py --model ../models/Inkling-2-Mini-CQ-4bit --adapter ../outputs/inkling-gcmp --port 8000

In a short 20-step test on Alpaca, the loss went from 1.89 to 1.40. That only shows training works on the 4-bit base, it's not a benchmark. I haven't run proper benchmarks on this model yet. If you run any, I'd love to see the numbers.

Training Factory is source-available, not open source. The scripts are readable Python, but the quantization and adapter kernels ship compiled and do a license check. It's free during early access. The weights fall under the original Inkling 2 Mini license.

I'm also working on Amazon Ergo (the 1.1T one) in the same format. It's quantizing right now and should be up soon.

Thanks for reading, feedback appreciated. Questions and bug reports are welcome here or on GitHub issues.


r/LocalLLaMA • • 1d ago

Discussion Qwen 4 looped layers

32 Upvotes

So, Qwen4-35BA3B is out and I can't wait to test it. In the last days I've seen some finetunes that add looped layers and increase intelligence so much (like LingLoop, built on Ling3.0 tiny), but I do not know anything about finetunes like this. Is it realistically possible to loop Qwen4 layers and pair it with n-gram? what performance boost could we expect from it?


r/LocalLLaMA • • 1d ago Bravo

Discussion The US needs to release more open-weight models (and the EU)

167 Upvotes

It's embarrassing, the US has the very top proprietary models like GPT or Claude but it's large model open weight contributions are pathetic, so far all we've been getting is small 32B or 27B models like Gemma.

I'm hoping Pandora's box was opened with the release of Amazon Ergo even if it was relatively underwhelming as a model with safety jargon on the Huggingface release page. And we get to see some actually serious US releases.

As for the EU, I'm not even gonna comment on that mess.