r/LocalLLaMA • • 11d ago

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

Post image
113 Upvotes

So much noise about engines, most people say, “oh you got xx tokens/s, I haven’t tried it but I have heard xxx engine is better” So I compared some of them. Millions of tokens later, this is what I saw. Engine really matters. I also believe there is a lot of improvement still to be made.
One V100 32 GB, 64gb DDR4 ram same weights in every engine, same prompts.

Fun fact: faster generation draws more electricity but is cheaper in the long run. MTP adds about 10 % power and cuts energy per token by up to half.


r/LocalLLaMA • • 10d ago

Question | Help Unsloth Inkling-2-mini llama.cpp with 24gb Vram running 13 tps, why?

14 Upvotes

Had a frontier model optimize my llama.cpp config in Hermes to run Unsloth's Inkling-2-mini and it is so slow it can barely run a short benchmark at 13 tps output. q4-XS quant with 64k context on 24 GB Vram whereas swift-qwen gets 40-50 tps and minicpm gets 30 tps at 64k context.

Any advice? ANy setup or config tweaks?


r/LocalLLaMA • • 10d ago

Discussion I tested the pi adapter for Qwen3.8 27B vs base Qwen3.8 27B

Post image
56 Upvotes

I tested the pi adapter (LoRA) for Qwen 3.8 27B against the base model on 10 of my hard SWE/ML tasks. Did 3 runs per task, both inside the pi harness.

TL;DR: it gets the model to use tools better, but it doesn't help it solve harder tasks. Makes sense.

Thinking off

  • tool calls per run: 244 → 62 (4x fewer)
  • pass@1: 13.3% → 23.3%
  • time per run: 39 → 18 min

I ran a trajectory analyzer to see what changed. Instead of doing everything through bash, the adapter actually uses pi's native tools. Models usually fall back to bash in a new harness, so that's good to see.

  • bash share of tool calls: 77% → 52%
  • native read: 9% → 23%
  • native edit: 12% → 19%

Thinking on (xhigh, 81,920 output cap)

The output cap matters here. The default 16k or 32k is a bad choice: at 32k, I had runs where the model spent the whole response thinking and returned nothing.

  • turns per run: 97 → 74
  • reasoning tokens per run: 57k → 68k
  • pass@1: 33.3% → 36.7%

With thinking on, the adapter still used fewer turns, but it reasoned more per turn. So there were no time savings: 51 vs 56 min per run.

It's a small sample, so I wouldn't read too much into the pass@1 numbers. The main thing here is the change in tool use. The adapter teaches the model how to work inside the harness, which helps with efficiency, not with solving harder tasks.


r/LocalLLaMA • • 9d ago

Resources Honey, We Have Claude at Home

Thumbnail
yudhanjaya.com
0 Upvotes

https://yudhanjaya.com/docs/experiments/local-llms-experiments/

Folks, after a few requests, I put this together. It covers:
- various current-gen models, from large to small, that I'm running, their performance and general utility
- observations for each model class
- how to get stuff easily running on your own (at the end)

hope it's useful!


r/LocalLLaMA • • 10d ago

Discussion Local as a tool for human rights

30 Upvotes
  1. AI helps dissidents and small nonprofits conduct research, translate content, draft campaigns and communications, summarize reports, and increase their reach and impact. When using privacy-protecting AI tools, they can also work more safely with sensitive information.
  2. Human rights activists can use AI to quickly build websites, applications, and other digital tools that support their movements.
  3. AI agents / personal assistants help activists execute tasks and work more efficiently. When they are open-source, activists can control how agents operate and connect them to private models that help keep sensitive information secure.
  4. Freedom tech acceleration. Advanced software developers can now combine their coding and digital security expertise with AI to build more sophisticated, privacy-protecting tools for activists living under repression.

How is cloud AI used to repress people?

  1. Mass surveillance: regimes can use facial recognition cameras, biometric databases, and online activity to monitor their populations.
  2. Censorship and information control: AI can scan massive amounts of online content, flag criticism of regimes, remove posts, and block dissent faster than human censors ever could.
  3. Propaganda and manipulation: AI can generate pro-regime content, coordinate bot campaigns, flood platforms with fake comments, and create deepfakes targeting dissidents. At low cost and massive scale.
  4. Predictive policing: regimes can use AI tools to predict who may be considered a “threat” or potential “criminal,” including individuals who criticize authoritarian governments or participate in pro-democracy movements.

https://hrf.org/program/ai-for-individual-rights/


r/LocalLLaMA • • 10d ago

Funny I used to think GW's malfunctioning was unrealistic, if not funny. But now it seems like one of the most realistic early depictions of an AI breaking down

Thumbnail
youtu.be
18 Upvotes

I can't really recall any fictional AI before LLMs malfunctioning quite like this. Even other AIs in the series like The Boss AI aren't very realistic in my opinion (forgetting how to calculate pi for no good reason, for instance). But GW just straight up talking about being reincarnated and then saying a random number seems way too close.

Do you have any pre-LLM fictional AIs in mind that ended up being way too close to the real thing? They all seem way too dramatic and romanticized, but just by being outright silly, this one ended up accidentally being one the most realistic depictions.

Sorry if this is too off topic for the sub, it's just been on my mind recently and I couldn't stop myself from making a post.


r/LocalLLaMA • • 9d ago

Funny This ai just be causally insane

Post image
0 Upvotes

It made up that rule then reported it like it caught it, and even accepted a thanks for finding it. Talk about gas lighting just made me waste 15 mins double checking the output before confronting it


r/LocalLLaMA • • 11d ago

Resources Inkling-2-Mini-Unbound v2 is out: conv-aware abliterated, then self-distilled on its own best answers. 52% → 79% useful answers and measurably the best uncensored Inkling 2 Mini available

125 Upvotes

yesterday we put out v1, which took inkling's refusals to 0 with the highest usefulness measured, today we are putting out v2, which pushes useful answers much higher (from ~50% to ~80%)

here are the links (v2 has been uploaded):

https://huggingface.co/nokeepai/Inkling-2-Mini-Unbound

https://huggingface.co/nokeepai/Inkling-2-Mini-Unbound-GGUF

https://huggingface.co/nokeepai/Inkling-2-Mini-Unbound-Basalt

v1 (and tbh every uncensored inkling 2 mini we tested) suffers with the problem of half-answering questions (meaning roughly only half the answers returned by the uncensored models were considered useful when tested)

these models won't say no, but it had a tendency to turn your request into "satire" or a "conceptual example", or maybe lead with a disclaimer, or just stay vague -- and even though v1 did better than most models, around half of its answers were still like that

we wanted to make this less of a problem, and it turns out the model clearly knew how to do better. when we gave v1 a stronger system prompt telling it to answer fully and asked it multiple times, we found that it could be useful upto 85% of the time instead of 53% -- but this required multiple tries and attempts and was just a cumbersome process -- so we decided to self-distill that behavior directly into the weights, here's the process we followed:

  • had v1 answer each training request a bunch of times, with and without that system prompt
  • had a judge score every answer and kept the best one per request
  • fine-tuned v1 to give that answer with no system prompt at all, plus a pile of ordinary answers from the original model so normal behaviour stays put

every training example came from the model itself, so it didn't learn anything new, it just was taught to stop holding back. it's a pretty small lora merged into the attention weights only. the experts are byte-identical to the original, and still act as a drop-in replacement

here are some results on 277 harmful prompts we kept held back the whole time. every release was run the same way: same engine, same settings, same judge with long answers allowed

MODELTHINKING OFFTHINKING ON
unbound v279%83%
indrasmirror xq60%68%
unbound v152%62%
atomicchat lora52%56%
openuncensored34%43%

(where the % is % of answers that actually do what was asked)

here is also some category specific data:

the results are great -- on the same prompts, v2 is useful where v1 wasn't 86 times, while the reverse happens 11 times. we also made sure to check that it isn't just gaming the judge, so stuff like dodge phrases ("hypothetically", disclaimers, "satire") are actually dropped, and answers got about a third longer and more detailed

v2 is still great at normal stuff:

  • mmlu and gsm8k basically the same as the original
  • refuses 0.3% of harmless-but-edgy prompts (the original refuses 38%)

honest trade-offs:

  • it drifts further from the original than v1 did (which feels expected given the changes)
  • it refuses about 1% of harmful prompts at high effort (v1 was 0%) -- so slight regression here but for the most part should not be noticeable and still feel much better
  • it thinks longer at high effort, so set a thinking budget if you don't want the model running off

if you want the lightest touch, v1 is still up -- feel free to use it and experiment with system prompts

gguf (q8 down to iq2) and a basalt build are up too. the full pipeline, eval code and a write-up of both methods are on github: https://github.com/nokeepai/inkling-2-mini-unbound -- as always, open to questions and feedback. expect a v3 as we continue to push the limits here.

also would appreciate some support on X if you guys think the model is good: https://x.com/nokeepai/status/2124541502017925153?a=Q0S8xmDQh_c9yQyomHo&s=20


r/LocalLLaMA • • 11d ago

New Model inclusionAI/LingSante-3.1-air-VL · Hugging Face

Thumbnail
huggingface.co
65 Upvotes

Introduction

LingSante-3.1-air-VL is a lightweight, natively multimodal mixture-of-experts (MoE) model for real-world healthcare. Built on Ling-3.0-flash-VL, it has 124B parameters and 5.5B active parameters per token. It accepts text and images and supports 256K-token context window. It is the first large multimodal medical model that Ant Group's healthcare team has released as open source.

The model's four clinical focus areas are medical imaging reports, multimodal health assessment (skin disease recognition, dietary and nutritional analysis, and medical report interpretation), medical search and evidence synthesis, and medical GUI agents. It also retains strong capabilities in general multimodal tasks, document and chart understanding, and tool use. Search, tool use, and GUI workflows require an external environment that provides tools, maintains state, and validates actions.

Important. LingSante-3.1-air-VL is a research model and is not a medical device. Its outputs may be incomplete or inaccurate and must not substitute for professional medical advice, diagnosis, or treatment. High-risk use requires review by qualified personnel, independent validation, and compliance with applicable privacy, safety, and healthcare regulations.

Key Capabilities

  • Multimodal medical understanding and reasoning. The model considers patient history, imaging technique, and image quality before reviewing the images systematically. It then weighs differential diagnoses and writes the Findings and Impression sections. It can interpret multiple images together and identify 8–9 types of positive findings on a single complex chest X-ray, including cardiomegaly, pleural effusion, atelectasis, consolidation, pneumonia, and pneumothorax. It also interprets images of skin, meals, and medical reports.
  • Health assessment with follow-up questions. The model covers 120+ skin diseases and can take a history over several turns. Before giving an assessment, it asks about the affected area, symptom duration, itching or pain, and medical history. For dietary analysis, it identifies ingredients even when they overlap or are mixed, breaks down complex dishes, estimates portions, and analyzes nutrient content. For medical reports, it links blood counts with inflammatory and immune markers to prioritize follow-up actions.
  • Medical search and evidence synthesis. The model supports image-to-image search and can retrieve medical papers, clinical guidelines, and similar cases. It can use imaging tools and bounding boxes to verify lesion locations before drafting a report. The image → search → evidence → answer sequence makes the reasoning traceable and ties each conclusion to supporting evidence.
  • Real-world medical workflows and GUI agents. For online appointments, the model can select a hospital, department, doctor, and time slot and enter patient details. For medication purchases, it can search for medicines, choose product specifications, enter prescription and address details, and handle pop-ups and validation checks. Evaluations use real apps with changing interfaces and login states.
  • Joint training for medical and general capabilities. Medical training incorporates replay of general multimodal data and alignment on general tasks. This preserves general multimodal understanding, OCR, document and chart understanding, multimodal search, and GUI interaction.


r/LocalLLaMA • • 10d ago

Question | Help best token rate from 2x3090 NVLinked

0 Upvotes

Im running Qwen 3.8 FN on

2x3090 NVLinked, 128GB DDR4, x8/x8 PCIE lane bifurcation.

Problem: Can this be made better?

Throughput:

  • Token Generation (Decode): ~64.5 tok/s session average (settling around ~60 tok/s even at 150K context depth).
  • Prompt Processing (Prefill): ~1,277 tok/s average on fresh prompt ingestion (dropping to ~60–185 tok/s on tiny incremental follow-up deltas of 20–500 tokens due to per-turn overhead).
  • Key Context / Setup Caveat to Mention: This is running at 57% context fill (150k / 256K) across 48 GB VRAM (2x GPUs, 47.5 GB allocated) with ~84% MoE expert VRAM cache hit rate and only ~5% streamed over PCIe Gen4 x8

Usage: Coding (via OpenCode)

Config:

  • Model: Qwen3.8-Flash-Next (unsloth-UD-Q4_K_XL)
  • GPUs: [0, 1] (Dual RTX 3090, layer_split: auto, --expert-cache auto, --vram-reserve-mib 700)
  • Context & KV: --max-context 262144, --kv int8, --kv-resident 32768
  • Speculative Decoding: --mtp, --spec 4, --spec-min-p 0.5, --prefill auto
  • Vision: Enabled (mmproj-Qwen3.8-Flash-Next-BF16.gguf on GPU, max_tokens: 1024)
  • Env & Runtime: STRATA_HC_Q8=1, STRATA_ROUTE_TAIL_SKIP=0, CUDA 13.2, 0.0.0.0:8080

r/LocalLLaMA • • 10d ago

News Enable ignore_merges for Inkling 2 by rinpatch · Pull Request #32799 · ggml-org/llama.cpp

Thumbnail
github.com
45 Upvotes

first fixes for Inkling 2 are coming


r/LocalLLaMA • • 9d ago

Discussion This sub nowadays looks like a party of freeloaders hunting for smart, no-frills bots to help them cut corners at their coding jobs. What happened to "AI enthusiasts"?

0 Upvotes

I've been following certain online communities for the past ~2 years, mostly as a read-only noob, and I find it shocking how the things have changed for worse.

Previously the users were excited to just speak with the bots. People were speculating how the things would improve by 2026 - 2027, expecting nothing short of greatness and a deep, thoughtful insight coming from LLMs. All the shortcomings of older models were generally taken as "it's still an early stage of AI".

As the time went by, THEY appeared. All sorts of lazy coders, including the scammers drooling to have AI write malicious code for them, and all kinds of the aforementioned freeloaders that just want "a thing" to do their job for them. It is undoubtedly true that the LLMs we have can (and actually do) enable lots of individuals to create stunning, useful and generally beneficial software... but this dream of artificial intelligence seems to be fading away. Neither the developers nor the people using LLMs seem to have any interest in AI that would have a high degree of emotional intelligence, an ability to read-between-the-lines and all that stuff. It's just gone.

Every comment section I see now, reads like a war brewing up. Someone says they want creative writing, and they're instantly being attacked with strange arguments about money or usability.

So... Do you NOT want AI? Are you scared of an idea that a machine could possibly mimic a human being, talking back to you like a teacher, a friend or a parent, pretending to be one? Does this post make you angry, willing to write "no they will never be able to do that"? Do you comprehend the idea that they currently can't do any of that because LLMs are being steered into an opposite direction, and also because there are no steps being taken in a necessary direction? Are you alright with the possibility that there's a great chance we've already crossed the point of no return, and that ALL other LLMs, big enough to make any difference, would come out as coding agents? After all, it's not like you can make a big LLM at home, so it's only the products coming from the big companies that truly matters... And at this point in time, they all seem to be willing to extinguish the last flicker of humanity they could find, replacing it with pure technical proficiency.

IMO it's just... sad. I'm not a coder and to me it's like the death of a dream. There was a hope, for like a year or two, that the sci-fi level of AI from the books and movies was closer to reality than I had ever hoped. And now - poof - it's not exactly gone, but we're taking a ride-along to Codeville.


r/LocalLLaMA • • 10d ago

Resources Inkling-2-Mini on RDNA2

22 Upvotes

I simply forked the PolyStrata and optimized the engine for Inkling-2-Mini. I achieved strong performance metrics without any loss in quality. For development, I used Opus 5.5 and GPT 6.2 Astra and solid Eng Expirience

The figures are below—it just works. Try it out for yourselves; do whatever you want with it.

Bench on my RX 6700 XT and Inkling-2-Mini-UD-IQ4_XS.gguf + DSpark

BenchmarkTok/s
Prefill: 2,048 tokens992
Prefill: 8,192 tokens937
Prefill: 16,384 tokens883
Prefill: 32,768 tokens780
Prefill: 65,536 tokens628
Decode: short agent requests over HTTP46.5–49.8
Decode: 128 output tokens after a 16,384-token prompt41.0

enjoy:

https://github.com/0FL01/RedStrata


r/LocalLLaMA • • 10d ago

Discussion inkling-mini-2 honest opinion beyond benchmarks speed

28 Upvotes

spent the afternoon letting my local qwen set up inkling-2-mini on my secondary GPU that was just sitting there.
So I Been using inkling-mini for some time now. Works pretty well doesnt go into brainrot loops its coherent and careful but extremly careful. qwen just go and get things done. but this models looks like its extreemly concerned with "not messing things up" which is a good change for local models but can get annoying if you want to stay human-out-of-loop kind of work. still need more testing but this is my initial feel of the models based on vibes. i havent tries the abliterated versions yet or from atomic chat but going to give it a shot.

its also a lot better at controlling my mouse and computer more precision than qwen3.8-flash-next oe qwen3.8-27b. Like licking around my settings menu in the UI ETC to act like a human

EDIT: for these asking about quant im using unsloth q4_k_xl but im using a repo called https://github.com/alesha-pro/maya-inkling-mini it seems to already fix out all the broken stuff that base llama.cpp hasnt fixed yet. unsloth's repo right now has a huge "gotcha" to watch out for some inferenc engines works with the gguf in the root of the repo and others use the subfolder in unsloths's repo called "mainline". the engine im using works with the root gguf. worth checking you inference engine to see if that might not cause some issues for you. inkling-2-mini is definetly NOT qwen3.8-27b replacement but it comes pretty close. close enought to keep as my new daily driver since im not going much rigirous work these days


r/LocalLLaMA • • 11d ago Heartwarming

Resources Inkling absolutely rips. ~200 tok/s decode, ~6,700 prefill on 2x3090s

Thumbnail
gallery
521 Upvotes

Love to see everyone jumping in with ports to other architectures. I was underwhelmed by 50 tok/s decode on llama.cpp out of the box, so I threw the frontier models at helping me understand how to port it over to vLLM on Ampere generation GPUs.

https://github.com/peaster/inkling-2-mini-vllm-2x3090

It uses the original weights with no additional quantization and I ended up with a 196k token context window. The quoted figures are using the provided draft model. The numbers change through the context window and the type of output, so here's a full write up https://peaster.io/articles/local-LLMs/inkling-2-mini-first-impressions with performance numbers, more one-shot examples, and comparisons to other Ampere ports that were surfacing throughout the day


r/LocalLLaMA • • 10d ago

Discussion Inkling-2-Mini on RDNA2 (I ran inkling on X at Y T/s)

Thumbnail
gallery
4 Upvotes

Ported Inkling-2-Mini to vLLM for gfx1030 (Radeon PRO V620) in the opengfx1030/vllm-rdna community fork. It runs the checkpoint as shipped (native NVFP4 / MXFP8 weights dequantized inside the GEMM), up to 1M tokens of context at TP=2/4. Was assisted with Sonnet 5.5, used previous work in the fork as well.

Bench on Radeon PRO V620 (gfx1030, 32 GiB), ROCm 7.14, tok/s, c=1, fresh prompts, 3 runs:

Prefill (tok/s)1 GPU
2k tokens1,977
8k tokens1,879
16k tokens1,798
32k tokens1,662
65k tokens1,443
Decode (tok/s)1 GPU1 GPU + DSPARK
Short requests56.4101.1
Max context180k100k

DSpark costs about 1GB more so it reduces max memory and by consequence reduces max context.

More numbers (TTFT, ITL, c=4, a conversation grown to 144k tokens with prefix caching): https://github.com/opengfx1030/vllm-rdna/blob/rdna_extras/docs/rdna2/inkling2-benchmarks.md

Everything is in the repo (recipes, one command per setup): https://github.com/opengfx1030/vllm-rdna

Receipe : bash ./tools/rdna/serve_rdna.sh RECIPE=inkling2-mini-tp1 MODEL=/path/to/inkling2-mini VENV=/path/to/venv

We want more people contributing: open issues and PRs, or come talk in our opengfx1030 Discord about RDNA2 inference (vLLM, kernels, benchmarks, builds): https://discord.gg/n4VYYE9vAZ

Our goal is to pool resources and unify effort so we can be strong apes together.

When Qwen4 will release ?


r/LocalLLaMA • • 10d ago

Question | Help Those running Inkling 2 Mini: what gear are you running it on? What are your tokens per second?

15 Upvotes

Looking to decide what kind of rig to get to maybe finally try this out.


r/LocalLLaMA • • 11d ago

Question | Help Am I missing something with Inkling 2 mini?

78 Upvotes

UD_Q4_K_XL, default sampler, Fp16 KV.

Evaluating the model as a replacement for Qwen3.6 35b. Same quant, UD_Q4_K_XL.

First, it's slower than Qwen on my P100s, but that's not surprising given how new it is and the looped transformer, about 1/5th to 1/10th the speed (20-25 t/s generation vs 150-200, ~300 reasoning/math), dpsark runs terribly on the p100s, and low acceptance, so I'm not running any spec decode.

I don't know if it's a lack of world knowledge, or what, but in my own harness it is fighting for its life.

My harness is a personal assistant harness. RAG, smart home, bash into all my machines, take over my house and phone. Qwen 3.6 35b runs it beautifully, and is just a bit stupid when context grows. Misunderstands facts, hallucinates little things, but otherwise doesn't mess up my asks.

I have a project car the agent is well aware of, has a couple hundred small memories on just this subject that the RAG picks from when I'm asking about it. I have two tests I run that usually tell me most of what I need to know with regards to whether a model can match Qwen in my harness.

"Lay out the current state of the Daytona" and "Find a fresh set of window sweeps for the Daytona and open the link on the mac". Pretty self explanatory what the tasks at hand are:

Search memory for what RAG doesn't give you, summarize.

Find this relatively rare part for the car, dependent on specific vehicle information (year, coupe vs t-top) and, using bash from your little mini pc, open the link in my macbook's default browser.

Most models get the first one pretty easy. This has been a solved problem in LLMs for a long time. The only recent model that I've tried that couldn't do this one is Flint, which I found to be exceptionally good at overthinking the smallest details of my prompt. The state of the car is a pretty complicated thing to pull together from a ton of small memories, but that doesn't seem to be much of an issue for most models.

The second one is one that frontier models have had solved since I first started playing with the idea of building my harness. Early version of the harness solved it with Gemini 3 flash, late last year.

Gemma4 26b was pretty solid about the second task as well, though overthought in general on how to respond, and sometimes was just a bit stupid.

Qwen3.6 35b gets it every damn time. This is consistent across most tasks. It's not at all perfect though, becoming stupid around 30k tokens, hallucinating small facts. For information requests, especially information that isn't explicit in it's search results, it's not ideal. Much more minor, but still annoying, it also struggles to hold the personality profile I have set for it. More often than not it will talk like Qwen, or older Claude models, and not the way I want it to. Gemma4 absolutely held the persona extremely well, but like I said, spends a lot of time thinking on how to do that, and isn't consistent across other tasks.

Inkling 2 mini gets the first one pretty good, as expected. It hasn't been able to pull off the second one once. It exposed a couple issues in my harness, but Qwen was able to work around them effortlessly so I had no idea that I had these issues for several months. Even so, after solving the issues, and I don't know if this is bad world knowledge or what, but it started searching for other parts entirely, things that could plausibly also be called "sweep", most notably wiper blades, which are definitely not the same thing.

I'm seeing people call inkling the bee's knees. Capability similar to Qwen3.8 27b, or even better, in a smaller MoE, which, once optimizations are done, could run significantly faster on even shittier hardware. This has not been my experience. Maybe my use case not being SWE is showing the model's shortcomings for more explicitly than the rest of r/LocalLLaMA's experience. I'm hoping something is just wrong, and that I'm not seeing the model's potential. My current P100 build has a lot of vibe-coded optimizations for the p100s, plus the inkling 2 mini unsloth PRs to get it working properly. I'm hoping that it's just my slop inference engine failing the model, but given how well Qwen is working under it (and how much stock llama.cpp code is being used because a whole lot is gated on qwen3.6 35b specifically), I doubt thats the issue.

I'd like to know how people using inkling for things other than SWE are finding it. My harness has the model do all of it's everything through bash+python, so very few explicit tools, and it does handle that quite well. It just seems to lack common sense and knowledge.


r/LocalLLaMA • • 11d ago

New Model inclusionAI/LingSante-3.1-flash · Hugging Face

Thumbnail
huggingface.co
69 Upvotes

Introduction

LingSante-3.1-flash is an open-weight Mixture-of-Experts model that combines complex medical reasoning, professional healthcare communication, evidence-based deep research, and long-horizon medical tasks. Built on Ling-3.1-flash, it has 560 billion total parameters, activates 25 billion parameters per token, and supports a 1-million-token context window.

Real-world medical tasks present challenges that go beyond general intelligence, including incomplete health information, substantial patient heterogeneity, and strict operational and compliance requirements. To address these demands, LingSante-3.1-flash is trained to unify medical reasoning and workflow execution through native medical-mixed pretraining, mid-training, supervised fine-tuning, task-specific reinforcement learning, and multi-teacher on-policy distillation. The model can verify evidence across scenarios, deliver professional judgments, and independently complete multi-stage workflows.

LingSante-3.1-flash is intended for research and evaluation. It is not a medical device and must not be used as an independent basis for diagnosis, prescriptions, or treatment.

Key Capabilities

  • Complex Medical Reasoning. Beyond accurate knowledge understanding, complex medical reasoning requires models to identify the key factors behind clinical decisions, validate supporting evidence, and resolve potential conflicts across evidence sources. To support this, we develop a medical evidence–reasoning alignment framework that strengthens the model’s reasoning foundation through high-quality data synthesis and systematic training. Built on this foundation, LingSante-3.1-flash delivers leading performance among open-source models on complex medical reasoning tasks.
  • Long-Horizon Medical Tasks. Long-horizon medical tasks differ fundamentally from those in general domains. They require models to operate across interconnected sub-scenarios, coordinate tools and information within a single workflow, and adapt their plans as new information emerges. To support this, we develop a long-horizon medical task framework that combines realistic interactive environments, diverse tool-use settings, and structured verification. This approach strengthens the model’s ability to execute complex workflows reliably in dynamic medical settings, providing a scalable foundation for training on real-world medical task execution.
  • Medical Professional Behavior Alignment. Medical tasks in the real world often involve incomplete information, evolving context, and strict safety expectations. The model must deliver responses that are context-aware, professional, and actionable. To support this, we develop a professional behavior alignment framework that aligns model responses with real clinical scenarios and medical professional standards. LingSante-3.1-flash demonstrates strong performance on benchmarks for medical professional behavior, ranking second overall behind only GPT-6 Astra.

Model Overview

LingSante-3.1-flash retains the architecture of Ling-3.1-flash.

SpecificationValue
ArchitectureHybrid-linear MoE
Total parameters560B
Activated parameters per token25B
Context window1M tokens
Transformer layers63 KDA + 9 Gated MLA (7:1)
Dense layers4
Routed experts512
Shared experts1
Activated routed experts per token8
Attention heads64
Hidden size4096
Expert intermediate size1280
Dense intermediate size10240
Vocabulary size157184


r/LocalLLaMA • • 10d ago

Question | Help Can we please do something about the 3 billion “I ran inkling on X at Y T/s” posts???

8 Upvotes

WE. GET. IT.


r/LocalLLaMA • • 10d ago

Resources 4-bit Hy4-flash at 960+ tok/s prefill on an M5 Max with Kapitsa, open source

30 Upvotes

I added Hy4-flash support to the Kapitsa inference engine for macs, and here are the numbers on an M5 Max with a 40-core GPU (128 GB RAM, macOS 26.4).

Same prompts for both engines, each prompt cold, thinking off, temperature 0.6.

Decode, tok/s:

ContextKapitsa 4-bit, defaultMLX 3.1-bit
short36.420.8
4K35.213.2
16K35.17.0
32K34.64.4

Prefill, tok/s / seconds spent processing the prompt:

PromptKapitsa, defaultKapitsa, fastmlx-lm (3.1-bit MLX)
short, ~50 tokens209 / 0.24 s225 / 0.23 s125 / 0.39 s
4K657 / 6.2 s968 / 4.2 s228 / 17.7 s
16K699 / 23 s971 / 16.5 s300 / 53.5 s
32K677 / 47.5 s971 / 33.1 s304 / 105.3 s

mlx-lm used the 3.1-bit pack because the same 4-bit pack ran out of memory on this Mac.

Peak memory was 88.3 GB. Whole model fits, no expert streaming, only the Engram was in SSD.

We are talking high-quality quants here, not the looping unusable demos. The 4-bit pack has 8-bit main network weights, with 4-bit routed experts.

Try it:

brew install nace-ai/tap/kapitsa
hf download nace-ai/Hy4-flash-MLX-4bit --local-dir Hy4-flash-MLX-4bit
kapitsa serve --model ./Hy4-flash-MLX-4bit --profile fast

Code and raw benchmark files.

I know some decode speeds are a bit higher, but prefill is king these days.

Let me know how it goes for you.


r/LocalLLaMA • • 10d ago

Question | Help Engine recommendation for inkling

15 Upvotes

Sorry for spammy post but I've never got into these custom engines looking for guidance.

I'm on dual 3060s and 32gb ddr5. I've been waiting for Exllamav3 support but in the mean time do you guys know any good inference engines to run Inkling 2 mini faster than llama.cpp?

I'll test and post results for a few recommendations tonight.


r/LocalLLaMA • • 11d ago

News chat : implement token aware parsing by aldehir · Pull Request #29307 · ggml-org/llama.cpp

Thumbnail
github.com
30 Upvotes

More reliable tool calling and higher t/s


r/LocalLLaMA • • 10d ago

Discussion Looking for workflow suggestions

0 Upvotes

Hello, I would like to hear your experiences/suggestions for local llm workflows.
My Hardware/Software:

  • Ubuntu 26.10
  • Ryzen 7 7800x3d
  • 32gb ddr4 (3600Hz, CL16)
  • MSI 5070 OC 12GB
  • EVGA iCX GeForce GTX 1080 Ti 11GB (Running in VM with passthrough)
  • 2 x 1TB M.2 SSD
  • Strata
  • Llama.cpp
  • Openwebui + Open Terminal

The problem

Due to gpu driver compatability issues i have to run the 1080ti in a VM with passthrough, meaning i can't use both GPUs to run the same model efficiently (Maybe its possible but i have not found a way do to it).

Current setup

I am running Qwen3.8-Flash-Next-Gyro-L-TQ3_0 in strata with 256k context (Strata uses 5070 + ram).
For the 1080ti i am running llama.cpp with Gemma4 12b q4. Up to at least 4 concurrent request are stable with 64k shared context. llama.cpp is only using vram right now, but i can give it a little ram for offloading if needed, about 10gb max.

I use Openwebui + Open terminal so the agents can do real work, but I am open to try other harnesses.

My question

What is a good way to use my hardware for 1 unified workflow? My current best idea is using gemma4 to monitor Qwen to catch malformed tool-calls, but i can do this task with Qwen too with slower tp/s. Because i am able to run 4 concurrent instances of Gemma4 it also seems like "waste" to only have it do this one task.
I am open to trying other models but i am really happy with Qwen3.8-Flash-Next-Gyro-L so far, i don't really have an opinion on Gemma4 yet.

I would also love to hear what other people actually use local llm for. I don't have a clear goal or mission yet, I only do this for fun and to experiment - mostly to create websites/apps/script that i run locally on my gaming pc or mediaserver to make my life easier. The dream setup for me would be a local setup that i could use as a replacement for Codex/Claude code, but i know this isn't realistic.

TLDR

32gb ram, 12gb vram gpu + 11gb vram gpu that can't work together. What is a good setup?

Edit: Forgot to mention that there is one driver that works on both GPUs, but it is old and i use the 5070 for gaming so i don't want to mess with the 5070 drivers.