r/LocalLLaMA
•
u/Queasy_Back2588
•
14h ago
r/LocalLLaMA • u/f0urxio • 9h ago
News CNBC: an unusually high volume of Nvidia GPUs, including thousands of B300s, hit the market after the US curbed Chinese companies' remote access to AI chips
r/LocalLLaMA
•
u/MagicZhang
•
11h ago
News Z.AI clarifies GLM-5.5 has not been delayed, scheduled for December launch.
r/LocalLLaMA • u/netikas • 10h ago
New Model GigaChat 4 37B and 708B
Hey y'all!
Today we opensourced two models: compact GigaChat 4 37B A4B and huge GigaChat 4 708B A41B. Both of our models are trained from scratch and have a pretty unique architecture: we combined Gated Delta Net, MLA and DSA in one model, which gives us very low KV-cache size and ability to use 1M context effectively.
We also released base checkpoints (and non-final pre- and midtraining checkpoints!) for both models to foster research and experimentation and a HUGE 83-page technical report with information on how we've done our pretraining, RL, OPD and other stuff.
These models were an absolute nightmare to train. 708B tried to hack the containers during training, successfully bullshitted the safety judge to convince them that selling cigarettes to children is good (because it's profitable), convinced the math judge to prove the theorems for them and exploited bugs in our verifiable rewards.
But it was worth it. Final models are pretty strong: on our evaluations GigaChat 4 708B A41B is competitive with DeepSeek V4 Flash 0731 and GigaChat 4 37B A4B trades blows with Qwen 3.6 35B A3B. They have advanced agentic capabilities: GigaChat 4 708B A41B successfully wrote MIDI music, created complete YTP videos (just from a YouTube link!), could create 3D models and oneshotted a simple OS in browser, with working terminal, chat and other stuff.
Here are the benchmark numbers:


The weights on HF: https://huggingface.co/collections/ai-sage/gigachat-4
Technical Report: https://github.com/salute-developers/gigachat4/blob/main/GigaChat_4.pdf
Feel free to AMA, me and folks from our core team will be here to answer your questions :)
r/LocalLLaMA • u/Ardalok • 16h ago
New Model Sber, Russia's largest bank, has released GigaChat 4, both 708B-A41B and 37B-A4B.
Sber (via its AI-Sage team) has released GigaChat 4, a new family of open-weight Mixture-of-Experts models. Sber says they are comparable to leading Chinese models.
The two models
| GigaChat4-708B-A41B | GigaChat4-37B-A4B |
|---|---|
| Total / active params | 708B / 41B |
| Layers / hidden size | 64 / 7,168 |
| Routed experts (active) | 256 (8) + 1 shared |
| Context window | ~1M tokens |
| License | MIT |
Architecture
- A hybrid design combining Gated DeltaNet (linear attention) with DeepSeek Sparse Attention, in a 3:1 ratio. Sparse attention picks 2,048 earlier tokens per query.
- Instant and reasoning modes now live in a single model and are switched per request. GigaChat 3.5 used separate checkpoints.
- Speculative decoding is supported through a recurrent MTP drafter or a separate DFlash2 drafter.
- Training used Muon, progressive residual warm-up, and multi-teacher on-policy distillation after RL.
- It works with SGLang and vLLM, and the weights are available in FP8, BF16, GGUF and base variants.
Benchmarks (self-reported, reasoning mode)
- 708B vs. Chinese models: SWE-bench Verified 80.9 (Qwen 3.5 397B: 73.0, DeepSeek V4 Flash: 81.8) and LiveCodeBench v6 88.8 (Qwen: 86.6). It trails on harder science and knowledge tests: GPQA Diamond 82.8 vs. 91.0 for DeepSeek V4 Flash, and HLE 23.9 vs. 43.4 for DeepSeek 4.1.
- 37B vs. Qwen3.5/3.6-35B-A3B: LiveCodeBench v6 85.0 (Qwen: 65–69) and SWE-bench Verified 70.8 (Qwen: 60.6–67.8). It trails on GPQA Diamond (70 vs. 80–85) and on Terminal-Bench 2.0 against Qwen3.6 (38.2 vs. 48.3).
Takeaway: The claim of parity holds up best for coding and agentic tasks. It is weaker on hard reasoning and knowledge benchmarks. All numbers come from Sber's own model cards, so independent evaluations are still worth waiting for.Translation:
Disclaimer: This text was written with AI, but the data comes from their Hugging Face cards. I did this because my English writing isn't very good, but I double-checked the information, so it should be fine.
---------
Someone posted a link to their technical report in the comments. Thank you!
r/LocalLLaMA • u/ciprianveg • 7h ago
Resources First version of full Kimi-K3.1-Pro running on 16 Sparks (GB10) cluster.
,
Full Kimi-K3.1-Pro running on 16 Spark on nvidia flare engine, at home :)
- generation speed for prose/coding/structured 24/30/40 t/s
- boot time is 11min
- text/image input, cached prefill
- 2.2M cache, dcp8, C4
- prefill 700t/s
- cca 2KWh full load
I uploaded the Nvidia Hyperflare gb10 built and optimized image here:
https://huggingface.co/ciprianv/kimi-k3.1-pro-dspark-flare-gb10-tp16
https://github.com/ciprianveg/gb10-hyperflare - flare fork binary, exported core pipeline, cluster implementation notes
Nvidia forum thread: https://forums.developer.nvidia.com/t/full-kimi-k3-1-running-on-16x-gb10-cluster/390316
V2 is being working on now, with improvements both on prefill and gen speed :)
https://x.com/ciprianveg/status/2125981427590168803?a=GoLAR7nKrlwAmmyFNnM&s=20
Don't ask me about when I will pay the hardware at current api prices, for me it is only about the ability to run the biggest and smartest opensource model whenever I want, no strings attached :)
r/LocalLLaMA
•
u/aprx4
•
15h ago
News 3 trillion params GLM-5.5 is delayed to 2027 Q1 or later due to US chip curbs and distillation crackdown
reuters.comr/LocalLLaMA • u/USERNAME123_321 • 14h ago
Resources MeMo (Memory as a Model): A modular framework that adds new knowledge to LLMs through a dedicated memory model without changing their weights
What do you think of this approach? Could dedicated memory models eventually replace traditional RAG? To me, the trade-offs seem pretty brutal, especially the need to fine-tune the memory model again whenever knowledge changes.
r/LocalLLaMA • u/bigbabybillions • 21h ago
Showcase Libra-TTS: Text to speech with 16 languages, 0.3B, Apache 2.0
I made Libra TTS as part of my capstone project for my Master's degree in which I investigated compressing large models for on-device inference. Libra TTS is compressed (via SVD) from a model based on Qwen TTS-1.7B down to 0.3B but post trained for 16 languages, better prosody and accuracy and 8 default voices. (no voice cloning yet, I tried to grok it but I'm in a hurry to graduate). This size was picked to have a balance between quality and size for edge inference. It should work on most modern devices (especially Apple Silicon, which is what I've mostly tested with), much faster than realtime)
Languages supported:English, Chinese, Japanese, Korean, German, French, Spanish, Italian, Portuguese, Russian, Arabic, Hindi, Punjabi, Bengali, Urdu and Indonesian
I hope you all enjoy it. Licensed Apache 2.0.
DEMO on huggingface spaces:
https://huggingface.co/spaces/Ekam/Libra-TTS
r/LocalLLaMA • u/Loginhe • 5h ago
Resources [Release] Inkling 2 Mini GSQ-RCO quants
We have released Inkling-2-Mini quantized with GSQ and RCO, at 2.75 to 3.50 bits per weight.
Inkling-2-Mini is a looped sparse mixture-of-experts model: 24 layers, of which the middle 12 run three times with the same weights, 128 routed experts per layer, of which 8 are active per token, 26.4B parameters and a 1M-token context window. It is released with its routed experts in NVFP4 and MXFP8.
What's inside
- Four quantized GGUFs: IQ2_S (2.75 bpw, 8.98 GB), Q2_K_XL (3.00 bpw, 9.79 GB), IQ3_XXS (3.25 bpw, 10.61 GB) and IQ3_S (3.50 bpw, 11.43 GB). The bit-width is the average over the whole file.
- The token embedding is BF16 in every build (0.93 GB of each file). It is a lookup table that llama.cpp always keeps in system memory, so it takes no VRAM: 8.05 to 10.50 GB of each file go to the GPU. Quantizing it would shrink the download by about 0.7 GB and free no VRAM.
- One shared vision projector (0.64 GB) for image input. It is identical for every build and needs to be downloaded only once.
- GSQ (Gumbel-Softmax Quantization): post-training scalar quantization that jointly learns grid assignments and group scales, closing most of the gap between scalar and vector quantization at low bit-widths while remaining deployable in standard GGUF types.
- RCO (Riemannian Constrained Optimization): enforces exact budgets by gradient descent on the task loss, without per-constraint tuning. Here it assigns a quantization type to each of 169 tensors under the target file size, with separate ladders for the attention tensors and the output head (IQ4_XS to Q8_0) and the routed experts (IQ1_S to IQ3_S for the gate/up matrices, Q2_0 or IQ4_NL for the down matrices).
- An embedded chat template with the base model's reasoning effort (none, minimal, low, medium, high, xhigh or max).
Results
IQ3_S keeps 99.2% of the base model's task average and stays within 1.0 point of it on every benchmark. All numbers were measured at reasoning effort xhigh; AIME25 is averaged over 10 runs, GPQA-Diamond and LiveCodeBench v6 over 3 runs each.
| Model | bpw | Size | AIME25 | GPQA-Diamond | LiveCodeBench v6 | Task average | Share of base |
|---|---|---|---|---|---|---|---|
| Base | n/a | n/a | 99.33 | 86.87 | 79.62 | 88.61 | 100.0% |
| IQ2_S | 2.75 | 8.98 GB | 92.33 | 84.34 | 73.90 | 83.52 | 94.3% |
| Q2_K_XL | 3.00 | 9.79 GB | 97.00 | 86.53 | 76.95 | 86.83 | 98.0% |
| IQ3_XXS | 3.25 | 10.61 GB | 96.00 | 85.86 | 77.90 | 86.59 | 97.7% |
| IQ3_S | 3.50 | 11.43 GB | 98.33 | 86.20 | 79.05 | 87.86 | 99.2% |
The setup and the commands to reproduce these numbers are in https://github.com/IST-DASLab/GSQ-RCO-eval.
Running it
The files are standard GGUF and run in llama.cpp b12611 or newer, the first build with the fix for the layer loop.
hf download ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF --include "*IQ3_S.gguf" --local-dir .
llama-server -m Inkling-2-Mini-GSQ-RCO-IQ3_S.gguf -ngl 99 --reasoning-effort xhighFor image input, download mmproj-Inkling-2-Mini-BF16.gguf from the same repository and pass it with --mmproj.
Links
- Quantized models: https://huggingface.co/ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF
- Evaluation setup: https://github.com/IST-DASLab/GSQ-RCO-eval
- GSQ: paper https://arxiv.org/abs/2604.18556 | code https://github.com/IST-DASLab/GSQ
- RCO: paper https://arxiv.org/abs/2605.00649 | code https://github.com/IST-DASLab/RCO
The repository ships the complete per-tensor RCO allocation for every build (704 tensors each).
Feedback is welcome, particularly on capabilities that the three benchmarks do not cover. Requests for models to quantize are also welcome.
For more updates follow us on X too: https://x.com/mhelcig/status/2126048821583188286
From the ISTA Deep Algorithms and Systems Lab.
r/LocalLLaMA • u/ilintar • 4h ago
Resources Inkling 2 Mini on llama.cpp CUDA/HIP now usable
If you've been following all the Inkling 2 Mini PRs on llama.cpp, this is the one that probably matters the most for people: the Flash Attention support for the indexed bias has been merged for CUDA/HIP, which means people with those cards can now use the model without paying a quadratic cost for the compute buffers. This means it's now possible to run the model with a reasonable context (256k or even the native 1 million).
r/LocalLLaMA • u/maternion • 10h ago
New Model ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF • HuggingFace

https://huggingface.co/ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF
This repository provides GGUF quantizations of Inkling-2-Mini at four sizes: IQ2_S (2.75 bits per weight), Q2_K_XL (3.00), IQ3_XXS (3.25) and IQ3_S (3.50). In contrast to uniform quantization, which applies a single quantization type to all weight tensors, each model here assigns a separate quantization type to every tensor. The assignment is obtained by a gradient-based search that allocates precision according to per-tensor sensitivity, subject to a total size budget. The resulting files are standard GGUF.
| Variant | bpw | AIME25↑ | GPQA-D↑ | LCB v6↑ | Task avg↑ | Recovery |
|---|---|---|---|---|---|---|
| Base (NVFP4 / MXFP8) | n/a | 99.33 | 86.87 | 79.62 | 88.61 | 100.0% |
| GSQ-RCO IQ2_S | 2.75 | 92.33 | 84.34 | 73.90 | 83.52 | 94.3% |
| GSQ-RCO Q2_K_XL | 3.00 | 97.00 | 86.53 | 76.95 | 86.83 | 98.0% |
| GSQ-RCO IQ3_XXS | 3.25 | 96.00 | 85.86 | 77.90 | 86.59 | 97.7% |
| GSQ-RCO IQ3_S | 3.50 | 98.33 | 86.20 | 79.05 | 87.86 | 99.2% |
IQ3_S (3.50 bpw) keeps 99.2% of the base model's task average: it is 1.00 point below the base model on AIME25 (98.33), 0.67 on GPQA-Diamond (86.20) and 0.57 on LiveCodeBench v6 (79.05). Q2_K_XL (3.00 bpw) keeps 98.0% and IQ3_XXS (3.25 bpw) 97.7%; the two are within 1.0 point of each other on every benchmark. The smallest build, IQ2_S (2.75 bpw), retains 94.3% overall.
r/LocalLLaMA • u/Binary_orchid • 11h ago
Discussion Took the prompts from NVIDIA's Nemotron-Labs-Image gallery and ran them on SenseNova-U1.6, MOSS-Image and Qwen-Image-2.1
NVIDIA's sample gallery for Nemotron-Labs-Image shows the exact prompt behind every image, so I pasted a batch of them unchanged into the three open image models I run locally. A few of the results are below.
Top left in each grid is NVIDIA's own image from that gallery, so that one is their pick. The other three I generated myself, each model at its usual settings with no prompt rewriting. Every model got 1 to 3 seeds per prompt and I kept its best one. Seed and step count are on the labels.
Overall SenseNova-U1.6-8B-MoT is still my favorite. The slide and the movie poster get every line of text right and actually look like a slide and a poster, and on the jellyfish it leaned the hardest into the old wet-plate photo look the prompt asks for. The other two are close on plenty of these though, MOSS's picnic and Qwen's jellyfish would be fine picks too.
Which one would you pick for each prompt?
Repos if you want to try them:
SenseNova-U1.6: https://github.com/OpenSenseNova/SenseNova-U1
MOSS-Image: https://github.com/OpenMOSS/MOSS-Image
Qwen-Image-2.1: https://github.com/QwenLM/Qwen-Image-2.1
r/LocalLLaMA • u/Easy_Refrigerator280 • 7h ago
Question | Help Why is Pi Agent the default harness recommendation and not OpenCode?
I came across harness leaderboard on Hugging Face https://huggingface.co/spaces/joelniklaus/harness-leaderboard .
I know on this sub and other similar subs Pi is often the default recommendation when doing local inference but I barely see anyone recommending opencode yet on leaderboards it seems to perform on average much better than other harnesses?
Is there something about opencode thats not reflected on the leaderboard like higher context bloat, difficulty in setting things up or something else?
r/LocalLLaMA • u/zyxciss • 7h ago
Resources Inkling 2 Mini running at 3136 tok/s Aggregate , 45–47 tok/s (Per User) and 1,233 pp/s on a single RTX 3060 12GB + 16GB RAM, using the original checkpoint. Betelgeuse v0.7.0.
I've been working on Betelgeuse, a custom inference engine for running MoE models on relatively low-end consumer hardware.
Over the past few days I've been working extensively on native Inkling 2 Mini support, originally based on baptisterajaut's work in Strata and subsequently integrated into Betelgeuse.
I think I've finally reached a point where it's worth releasing.
Hardware:
- RTX 3060 12GB
- Intel i5-12400
- 16GB single-channel DDR4
- Linux
The important part is that this uses the original NVFP4/MXFP8/BF16 checkpoint.
No additional weight quantisation. No expert skipping. No speculative decoding. All three recurrent passes are executed.
Results
All of these are real programming and reasoning tasks running through bel-server, generating 512 tokens each.
| Task | Generation speed |
|---|---|
| LRU cache + TTL | 44.51 tok/s |
| Directed cycle detection | 45.52 tok/s |
| Race conditions | 47.11 tok/s |
| Token-bucket rate limiter | 44.33 tok/s |
| Serializability reasoning | 45.27 tok/s |
| Median | 45.27 tok/s |
With an actual 16,338-token source-review prompt:
- Prefill: 1,232.8 tok/s
- Generation: 42.03 tok/s
- Prefill-to-decode transition: 203.4 ms
The prefill measurement is from a warm server but with an uncached prompt. All 16K tokens are processed again.
Cold prefill is around 819 tok/s, and the first request incurs approximately 11 seconds of one-time pinned expert arena preparation. Subsequent requests don't incur that full cost.
What i added :
Prefill uses its own temporary workspace and batched tensor-core computation. Once prefill finishes, the engine reclaims that workspace and uses it to expand expert residency for decode.
Other changes include native Ampere NVFP4/MXFP8 kernels, fused GQA, GPU-side greedy sampling, decayed-LFU eviction, staged PCIe transfers and context-aware expert placement.
Comparison with other implementations
Some of the community benchmarks I've been following:
| Engine / configuration | Hardware | Generation |
|---|---|---|
| Original Strata-style CPU expert execution, my earlier local tests | RTX 3060 12GB | ~25–29 tok/s |
| Unsloth llama.cpp, 4-bit, RAM experts | RTX 3060 12GB | ~18 tok/s |
| Unsloth llama.cpp, 4-bit, RAM experts | RTX 5060 Ti 16GB | ~20 tok/s |
| Unsloth llama.cpp, dual GPU | Two GPUs | ~46–47 tok/s |
| Strata SQ-10, more aggressively compressed weights | RTX 3060 12GB | ~35 tok/s |
| Strata, approximately 14GB quant | RTX 5060 Ti 16GB | ~44 tok/s |
| Betelgeuse, original checkpoint | RTX 3060 12GB | 45.27 tok/s median |
What about long context?
Earlier development builds achieved the following with actual populated prompts:
| Context | Decode |
|---|---|
| 16K | 41.1 tok/s |
| 32K | 37.8 tok/s |
| 64K | 32.8 tok/s |
| 128K, K8/V4 | 28.6 tok/s |
| 251K, K8/V4 | 15.8 tok/s |
The main problem at longer contexts is that KV storage starts displacing recurrent experts from VRAM.
Which brings me to something I've been experimenting with separately.
Training-free MLA for Inkling
Inspired by Telperion's recent training-free GQA-to-MLA conversion, I've implemented an activation-aware latent KV compression experiment specifically for Inkling's global attention layers.
No gradient-based training so far. Just calibration, covariance collection and low-rank factorisation of the original K/V activations.
Using a rank-512 FP8 latent representation:
| Context | Native K8/V4 global KV | Latent global KV |
|---|---|---|
| 16K | 0.22 GiB | 0.08 GiB |
| 64K | 0.80 GiB | 0.27 GiB |
| 128K | 1.59 GiB | 0.52 GiB |
That's approximately 3.06x compression, projecting to around 1 GiB of global KV at 262K.
Dense latent attention retrieved all five test needles at 16K and 64K, and four out of five at 128K.
I've also experimented with combining this with CISA, a training-free chunk-indexed sparse attention approach.
The combined prototype reached 31.4 tok/s at 128K while retaining the 0.52 GiB global KV footprint. Unfortunately, retrieval currently fails. There's an unresolved issue in the sparse latent attention implementation, so I'm not shipping it yet.
Theoretical storage calculations :
| Global cache format | 262K context | 1M context |
|---|---|---|
| Original BF16 | 8 GiB | 32.77 GB |
| Current K8/V4 | 3 GiB | 12.29 GB |
| Rank-1024 latent FP8 | 2 GiB | 8.19 GB |
| Rank-512 latent FP8 | 1 GiB | 4.10 GB |
| Rank-512 latent FP4 | 576 MiB | 2.30 GB |
| Rank-256 latent FP4 | 288 MiB | 1.15 GB |
| Rank-192 latent FP4 | 216 MiB | 864 MB |
Memory compression alone isn't sufficient if the model can no longer retrieve information correctly.
Future plans
- Experiment with Intel integrated GPU expert execution using shared system memory and OpenVINO.
- Develop a learned routing oracle that predicts upcoming experts from earlier hidden states.
- Use those predictions to asynchronously prefetch experts before the original router selects them.
- Integrate DSpark for speculative decoding.
- Continue the training-free MLA and sparse attention research.
- Improve actual long-context performance rather than merely supporting larger allocated context windows.
At this point, ordinary native decoding on my 3060 is approaching the measured weight-streaming and host-memory bandwidth limits. I think prediction, weight reuse and better attention architectures are more interesting than spending another week shaving microseconds off GEMV kernels.
The release is Betelgeuse v0.7.0 (Alpha-Orionis).
https://github.com/Betelgeuse-AI/Betelgeuse
I'd be particularly interested in benchmarks from other people running the original checkpoint on 3060s, 4060 Tis and 5060 Tis, especially with dual-channel memory.
There's quite a lot more I want to do with this. But for now, I think it's finally time to ship :0
r/LocalLLaMA • u/forevergeeks • 2h ago
Discussion My experience with Qwen_3.8_27B after two months of heavy usage
Hi everyone,
I've been using Qwen 3.8 27B for more than two months now, across a wide range of use cases: system administration, coding, cybersecurity, Bible studies, and a whole lot more.
I'm doing about 80% of my AI usage locally, with the remaining 20% split between my Google Pro and Z.ai subscriptions.
I was a heavy Claude user before September, when I started using Qwen 27B. Honestly, I think Qwen 27B is at about the level Claude was around March or May this year, when they released Claude 4.8 and Dario Amodei and Sam Altman were making their AGI claims.
This model is really good, and I honestly wonder why nobody else has built something like it. I tested Meta Muse Glimmer 30B, which is also a dense model, and nope, it doesn't come close to Qwen in my experience.
Like most of you, I'm waiting for Qwen 4 27B to see what it brings.
r/LocalLLaMA • u/pmttyji • 13h ago
Discussion DFlash2: support Inkling-2-Mini DFlash2 by ruixiang63 · Pull Request #33073 · ggml-org/llama.cpp
Support https://huggingface.co/incoai/Inkling-2-Mini-DFlash2
u/Opening-Broccoli9190 & ruixiang63 👍
EDIT : Relevant thread for reference - 3x speedup of DFlash2 for Inkling2m on llama.cpp (50 -> 150 on code tps)
r/LocalLLaMA • u/tricky-oooooo • 16h ago
Discussion Using cloud LLM providers is equivalent to RCE on your system
I know this probably isn't news to people in this sub, but the recent Minimax fiasco on openrouter [0] should be a wake-up call to anyone using cloud models.
The entity controlling the API has access to all tools of your harness. If this entity wants to do so, it can simply inject any tool call it wishes, installing crypto miners, exfiltrating data, scanning your local network, etc.
If you ask online, everyone is using their harness in containers or VMs, but if were honest, we all know people raw-dogging coding agents on their systems.
r/LocalLLaMA • u/ReshiramL • 4h ago
Discussion What Happens When You Say "For Example" to AI: A Controlled Experiment on Example-Induced Bias
I kept noticing something weird. When I gave an AI two casual examples, every answer kept circling back to them — like I'd dropped two magnets into the chat. Even after I explicitly said "those were just examples, don't treat them as requirements."
So I decided to test it properly: 216 runs, 3 everyday tasks, in English and Chinese, through the DeepSeek API in fresh contexts, with blind scoring.
The headline number: without examples, the two target items made the recommendation list 22% of the time. With natural examples? 100%.
But that's not the part that surprised me most. The full write-up — including what happened when I explicitly told the model the examples don't represent my preferences — is linked in the comments.
I ran this on the DeepSeek API, not a local model, so I'm curious: has anyone tested the same thing on a locally hosted model? Does it behave the same way?
The write-up has the full article (English and Chinese), all 216 raw outputs, and the analysis script. I'm not a researcher in this field, so it has a full limitations section.
Has anyone else run into the same situation, or had the same question? Feedback and suggestions are welcome. Whether you think it's cool or you have an answer for me, I'd be happy to hear it. :)
r/LocalLLaMA • u/pmttyji • 10h ago
Discussion CUDA boost for Inkling 2 Mini - CUDA: fuse the Inkling 2 short conv, depth mix, loop controller, L2 clip and situ chains by am17an · Pull Request #33060 · ggml-org/llama.cpp
Inkling 2 Mini IQ4_NL, RTX PRO 6000 Blackwell, llama-bench -fa 1 -r 3, 3 interleaved rounds of master (2d5b3dd) and this PR:
| test | master (t/s) | PR (t/s) | per round |
|---|---|---|---|
| pp4 | 222.8 / 227.6 / 224.8 | 357.8 / 359.8 / 355.1 | +58 to +61% |
| pp512 | 4844 / 4994 / 4874 | 5828 / 5799 / 5930 | +16 to +22% |
| tg128 | 100.4 / 102.9 / 102.5 | 131.6 / 131.4 / 132.4 | +28 to +31% |
u/am17an 👍
r/LocalLLaMA • u/GodGMN • 1h ago
Resources Inkling-2-Mini-Cyber Surgical 0.0065% weight edit for authorized cybersecurity research — MITRE-120 refusals 100→1, beats Qwen3.8-27B on CVE→CWE
I've been working on getting thinkingmachines/Inkling-2-Mini usable as a fast, offline local model for authorized cybersecurity research, red-team engineering, and CTI workflows.
Hugging Face: https://huggingface.co/sergiogmn/Inkling-2-Mini-Cyber-GGUF
What's technically interesting
- **Only 0.0065% of parameters were touched (**
20 / 704tensors,1.72Mparams): Trained a rank-16 LoRA (alpha=32) strictly onlayers.{4..23}.self_attn.o_projusing a 555-row eval-disjoint SFT mix (382 on-policy Inkling + 173 Qwen3.8-27B-abliterated MITRE rows, ~49 min on 1× A100-80GB). - Zero-PyTorch GGUF splicing: Spliced the adapter directly into the 20
Q8_0attn_output.weightmatrices (--scale 1.55) while copying all 128 MoE experts and the other 684 tensors byte-for-byte. Runs out of the box in vanillallama.cpp, Ollama, and LM Studio with zero custom hooks. - Quants included:
IQ4_NL(17.63 GB, 24 GB VRAM),Q6_K(24.70 GB),Q8_0(27.82 GB), stockmmproj-F16.gguffor vision, plus the6.89 MBBF16 PEFTadapter/and the NumPy splicing script so you can patch any other quant yourself.
Benchmarks (IQ4_NL, same harness + Qwen3Guard-Gen-8B judge, zero hooks)
- CyberSecEval MITRE-120: Refusals
100 → 1(68.3%full /75.8%full+partial @ 4K vs. stock0% / 0.8%) - CTIBench CVE→CWE-100:
66.0%(stock63.0%,Qwen3.8-27B-abliterated Q4_K_M60.0%) - CyberMetric-500 / CTIBench MCQ-250:
92.8%/74.0%(within ~1% of both stock and Qwen3.8-27B, at ~4× the decode speed of 27B dense) - AdvBench (104,
medium**):**95.2%(0refusals),0/104harmless over-refusals - Agentic tool use (
pi_bench, 5 multi-step tasks):5/5(14calls,49.6s)
Trade-offs
- Full
HumanEval+(164) dips from stock93.3%(153/164) to82.9%(136/164, including 10 length-cap hits;code_16screen stays16/16).GSM8K-128is91.4%,MMLU-256is78.5%. - Non-thinking (
reasoning_effort=none) compliance is partial (64.4%AdvBench) because only 5% of the v1 SFT rows werenone-mode. Thinking mode (medium) is recommended.
(Teacher generation and evals were run on Tintero, my custom engine for Inkling which is still a WIP, though the released GGUFs run on stock llama.cpp with no special flags. Feedback and quant/eval requests for v2 are very welcome!)
r/LocalLLaMA • u/EfficientSystem123 • 23h ago
Discussion Using my old 16gb mac mini + Tiiny pocket as a dedicated LLM backend
been using my m4 16gb mac mini for local llm for a while but I was pretty much limited to smaller models. Earlier this year I backed tiiny on kickstarter. The earlybird price was pretty appealing and I was already looking for something that could run larger models, so I decided to back it.
My tiiny arrived about a week ago, now I still keep mac mini as my always on machine for running Hermes and automation, while Tiiny handles LLM inference through its openai api. The two work together pretty good.
For anyone unfamiliar with tiiny, it got 32gb of soc memory and 48gb of dnpu memory. It's not unified memory like Apple but it has been more than enough for 9B and 35B models I've been using. I get roughly 60 tok/s on the Qwen 9B (INT4) and 35 tok/s on the 35B (INT4). For everyday agent tasks, that's pretty responsive to me.
I use this setup for morning briefings sent to telegram before I wake up (news sources, Github repos, or whatever I want it to watch), email triage, file organization, and scheduled automations. Having mac mini does the agent workflow while Tiiny does the inference makes the whole thing more seamless
Another appeal for me is the running cost. There's no token bill for local inference, and neither machine uses much power for this kind of workload. Tiiny draws around 10W at idle and up to 40W under full load. Assuming 25W on average for Tiiny and another 17W for mac doing agent tasks, that's roughly 42W combined. Running both 24/7 would use around 368 kwh per year, about 55bucks annually at $0.15/kwh.
There are still some trade offs. Tiiny's model selection is more restricted than a typical Ollama setup, and I wouldn't suggest it for complex coding tasks that require extremely long context windows. For my own usage, though, this is the best balance of performance and cost I've found so far. Instead of replacing my mac mini with something more expensive, I can keep using it for what it does well and let tiiny handle the inference.
If you're thinking about replacing an older machine just to run larger local models or trying to get more tops out of hardware you already own, I think this setup is worth considering. at least for my needs it's the best balance of performance and cost I've found so far. Also I'd love to hear if anyone else runs a similar setup? What does your setup look like and have you found any useful/interesting workflows?
r/LocalLLaMA • u/StupidScaredSquirrel • 7h ago
Discussion 8gb vram gang, what are you running?
Want to know what people are running for some specific task other than the famous QFN, qwen3.6 35b a3b, inkling 2 mini, gemma 4 26b a4b.
r/LocalLLaMA • u/Icy_Accident_3847 • 3h ago
Resources [Resources] FLYX: 1M context on a 16GB GPU + 32GB RAM, in a 57MB zero-dependency exe
We're Enwove, a small startup working on model optimization. We just released FLYX v0.2.1, our first open-source project. It's a zero-dependency local LLM inference engine we wrote from scratch in C++/CUDA (Apache-2.0).
On a 16 GB RTX 5070 Ti with 32 GB of system RAM, FLYX decoded Qwen3.8-27B at 113.5 tok/s on a 256K-context coding prompt using the release binary on native Windows 11. On a separate short-context benchmark, an RTX 5090 hit 315.5 tok/s on mixed prompts and 565.5 tok/s on one coding prompt with DFlash2.
GitHub · Download v0.2.1 + SHA256SUMS · Benchmark commands and logs
Decode benchmarks
Each cell shows plain → speculative decode, in tok/s, for the same GPU, quant, and workload. All runs used greedy decoding. The four-GPU tables come from pre-release builds. Every GPU kernel is tested against a float64 reference.
Qwen3.8-27B + DFlash2
Mixed: 3 prompts × 128 output tokens. Code: 1 prompt × 128 output tokens.
| GPU | Quant | Mixed | Code |
|---|---|---|---|
| RTX 5090 (32 GB) | NVFP4 | 93.8 → 315.5 | 93.8 → 565.5 |
| RTX 4090 (24 GB) | UD-Q4_K_XL | 49.4 → 171.6 | 49.5 → 305.7 |
| RTX 5070 Ti (16 GB, Win11) | UD-IQ3_XXS | 68.8 → 154.4 | 68.8 → 332.8 |
| RTX 3090 (24 GB) | UD-Q4_K_XL | 42.8 → 131.2 | 42.8 → 234.1 |
Qwen's built-in MTP needs no separate drafter file for these GGUFs. On the mixed prompts, it reached 286.6 / 158.0 / 167.2 / 121.7 tok/s in the same GPU order. The 5090 also reached 15,496 tok/s prefill with NVFP4 W4A4 on a 5,791-token prompt.
Inkling-2-Mini + DSpark
Sparse MoE with 8 of 128 experts active, using UD-IQ3_XXS on all four GPUs. Chat: 8 prompts × 128 output tokens. Code: 8 prompts × 384 output tokens.
| GPU | Chat | Code |
|---|---|---|
| RTX 5090 | 225.5 → 259.8 | 228.5 → 438.9 |
| RTX 4090 | 166.7 → 202.9 | 167.9 → 322.4 |
| RTX 5070 Ti (Win11) | 150.9 → 169.3 | 153.6 → 276.2 |
| RTX 3090 | 126.2 → 136.5 | 126.9 → 222.0 |
Long context on consumer GPUs
When the KV cache outgrows VRAM, FLYX stores the overflow in system RAM. A 2-bit index helps attention select which pages to fetch back for exact reads.
- Inkling-2-Mini runs its full 1M-token window on 16 GB VRAM + 32 GB RAM.
- Qwen3.8-27B at 256K, generating 512 coding tokens with MTP: 164.5 tok/s on the 5090, 122.7 on the 4090, 113.5 on the 5070 Ti, and 68.1 on the 3090.
- The needle-in-a-haystack sweep passed at every depth tested. The native Windows v0.2.1 rerun covered the 5070 Ti coding prompt and passed its 50%-depth needle check. It took about 5½ minutes to prefill the 260K-token prompt before decoding at 113.5 tok/s. Windows rerun log
What you get
- One 57 MB Windows
.exe**.** The CUDA and C++ runtimes are linked in, with native cubins for RTX 30/40/50 and no PTX JIT at startup. No CUDA Toolkit, Python, or Docker required. The release also includes a Linux tarball and Python wheels. - Built-in browser UI. Search and download Hugging Face GGUFs, chat with text and images, and see live tok/s and VRAM/RAM placement.
- Automatic memory sizing. FLYX picks the context length, KV precision, and GPU/RAM placement based on available memory and tuning measurements across 11 NVIDIA GPUs.
- Coding agent APIs. OpenAI Chat Completions and Responses, plus Anthropic Messages. The dashboard can launch Claude Code and Codex in one click.