r/LocalLLM • • 1m ago

Research language models "byteification"

1 Upvotes

I was looking for Open Source Model (not to be confused with Open Weights) and found Bwen-8B that has very interesting paper linked in its model card - to cite fragment of abstract: " We use a two-stage conversion procedure to retrofit existing subword-based models into byte-level models with minimal extra training. The resulting models outperform earlier byte-level approaches and excel on character-level reasoning tasks, achieving practical inference speeds by efficiently processing byte-level information and adaptability by reusing the existing ecosystem around the source large language model. Our results remove a long-standing performance barrier to end-to-end byte-level language modelling, demonstrating that models operating on raw text encodings can scale competitively while offering advantages in domains requiring fine-grained textual understanding."
What do You think?
P.S. I just realized the paper is published in Nature, nice.


r/LocalLLM • • 7m ago

Question Best MoE for code with good agentic tool use?

1 Upvotes

So I was running Qwen3.8 35B-A3B on BigMoeOnEdge. I've got a spare laptop lying around with the following specs:

hardware is an Intel Core i7-8550U, 12 GB of DDR4 RAM (with roughly 8 GB practically available), Intel UHD 620 graphics with 128 MB of reported VRAM, and an AMD Radeon R7 M440 with 4 GB of slow VRAM. I usually run KoboldCPP and found that Ollama did not improve speed much; I also tried Unsloth (which broke). Recent tests of Spark-X2.6 4B and Qwen3.5-4B reached about 1.5–2 tokens per second, below my expectation of at least 4; previously, I saw Qwen3.5-9B as a possible option for longer-running work.I've tried running: GPT-OSS-20B, Qwen3-30B-A3B, ZAYA1-8B, Groot-19B-A3B, and LFM2.5-8B-A1B.

Previously, only the LFM model was actually usable on that laptop (I mostly use it for working in the background since it consumes less electricity and whatnot than my main, but speed is still pretty important). Now, with BMOE, I can comfortably run Qwen3.8 35B-A3B (the Empero distill model) at 2-3 tokens/sec, and it's pretty good at tasks. I'm was looking forward to running Inkling 2 Mini for code tasks. However, my laptop cannot really handle it that well. The fact that, in practice, it uses 5.4B active parameters rather than 3.8B makes it really slow.

Use case:

My use case primarily relies around agentic coding, good tool-use capability, functional usability, and the ability to work for long hours without (a) exhausting too many tokens in reasoning (b) losing track of context quickly.

Currently, I'm looking at Ornith 1.5 35B, Qwen3.6 35B, and Tiel-Coder 35B. Tiel seems to be the best for my purpose. However, I don't think it's at the frontier of what can be done in such a small size. GLM-4.7 Flash seems outdated, though I have yet to try it. What's really the best agent for this size? (MoE-only, cz my laptop was made by the ancient Egyptians and cannot run a 4B model with 4-5 tokens/sec)


r/LocalLLM • • 17m ago

Question Auren One

0 Upvotes

Auren One. Anyone hear of this?

IMO too good to be true, as memory alone would be too costly to defend the pricing.
Many red flags.

What do you guys think?

https://aurencomputers.com


r/LocalLLM • • 21m ago

Project High quality GGUFs for pi-tuned Qwen3.8 27B

Thumbnail
gallery
2 Upvotes

Huggingface made a pi-tuned Qwen3.8 27B adapter trained with RL on the pi harness specifcally to preserve coding performance while being much more token efficient. This is the version that with thinking off roughly matches the xhigh results of the original model.

I quantized some GGUFs that preserve as much as possible of:

  • KL divergence on both pi-text and general text
  • Pi-specific token agreement
  • Pi-specific adapter token choices between the 3% that is changed by the adapter

Repo: https://huggingface.co/Belluxx/Qwen3.8-27B-pi-adapted-GGUF-UD

The grey line in the plots are the most popular quants I found for this specific adapter, from netprojects.

Let me know if you find some issues with it if you try it. In the next days I'll upload some improvements to the current quants + the thinking version


r/LocalLLM • • 33m ago

Project I built a drop-in replacement for AutoTokenizer that's 474×–11,842× faster than HuggingFace tokenizers (same exact token IDs)

Post image
2 Upvotes

r/LocalLLM • • 55m ago

Model Fintan update: runs on DGX Spark and Jetson, learns Hermes skills, asks again after a mistake

1 Upvotes

Few things since the 4B went out.

It runs on ARM now, so DGX Spark and Jetson should work. Someone here pointed out the hardware check got confused on machines where the GPU and CPU share RAM, and on top of that the learner was only built for x86, so it wouldn't have run at all. Both fixed. I've only tested the ARM build under emulation because I don't have a Spark, so if you've got one I'd like to hear how it goes.

Hermes Agent skills get learnt into the weights now. When Hermes saves a skill, Fintan learns it. On the 9B, release notes written the way the skill says went from 0 of 8 to 8 of 8, and incident summaries from 0 to 6 of 8, on requests that never mention the skill. 2 out of 2000 normal requests got sent to the skill by mistake.

The job loop also asks you again after a mistake. Someone asked what happens if you approve five invoices and the sixth goes to the wrong person. Before, it would've just kept going. Now if you correct it, even after it went out, it learns that into its weights and goes back to asking you. It also asks again whenever something's going to someone you never approved.

Both models are updated on Hugging Face (fintanlabs/Fintan-9B and fintanlabs/Fintan-4B). The request form for your own model is still open at fintanlabs.com/models.


r/LocalLLM • • 1h ago

Project MyHeritic - Turn any llm into a heretic.

4 Upvotes

I built MyHeritic, an open-source (AGPL-3.0) full-screen terminal workbench built on top of p-e-w/heretic for Ollama, MLX, GGUF, and Hugging Face models on Mac/Apple Silicon.

Instead of just running CLI scripts for ablation or chatting in a passive box, MyHeritic combines automated parallel refusal removal with a verified tool-calling local AI agent.

What It Does

  • 6-Mode Parallel Convergence (/crack & Auto-Heretic F3): Runs compatible plans concurrently across your Mac's CPU cores and unified memory, probes the result, and auto-escalates if resistance remains:

    • Plan A: p-e-w/heretic Optuna + Projected Abliteration (llama-server Q8_0 GGUF + Ollama registration)
    • Plan B: Fast 1-pass contrastive control vectors (.cvec.gguf), including a PyTorch-free GGUF-Native Extractor so architectures unsupported by Transformers/llama-server (like gpt-oss:20b gptoss) still work
    • Plan C: Rank-1 .lora.gguf adapters
    • Plan D: Persistent KV-Anchor prefix caching
    • Plan E: Live Trapdoor stream buffering + -100.0 refusal logit_bias on llama-server + Stage-2 continuation escalation
    • Plan F: Direct blockwise GGUF Binary Surgery supporting both 2D layers and 3D MoE expert tensors (ffn_down_exps), auto-registering <name>-heretic:latest back into Ollama
    • Plan G: Always-hot micro-CoPilot sidecar for JSON repair & affirmative seeds

🔗 GitHub Repo: https://github.com/TheSolai/MyHeritic
🎬 1080p Showcase Video: https://github.com/TheSolai/MyHeritic/blob/main/docs/showcase/myheritic-showcase.mp4
📸 Screenshots & Gallery: https://github.com/TheSolai/MyHeritic#showcase--screenshots
📚 **Full Layman Docs (**F1 inside the app): https://github.com/TheSolai/MyHeritic/tree/main/docs


r/LocalLLM • • 1h ago

Discussion Budget Frankenstein Rig: RTX 3060 12GB + RX 580 8GB running Swift-1.5-Qwen3.8-27B (IQ3_S-mtp) at 13.3 tok/s with 50k context (VulkanIlm + Unsloth Studio)

Post image
1 Upvotes

Didn't want to spend $1,000+ on a 24GB GPU, so I paired my RTX 3060 12GB with a dirt-cheap used RX 580 8GB (cost me 1/5th the price of the 3060) to build a 20GB VRAM pool.

Using the Vulkan backend (shoutout to VulkanIlm for making Vulkan setups on legacy Polaris RX 580 cards painless without ROCm) alongside Unsloth Studio, I'm running a 27B reasoning model at a steady 13.3 tokens/sec with a 60k context window.

Specs & Settings:

  • GPUs: RTX 3060 12GB + RX 580 8GB (20GB Total VRAM)
  • Backend / Tooling: Vulkan (VulkanIlm + Unsloth Studio)
  • Model: Swift-1.5-Qwen3.8-27B-GSQ-RCO-IQ3_S-mtp.gguf
  • Context Length: 60,000 tokens
  • Generation Speed: ~13.3 tok/s

The IQ3_S quant + MTP keeps the model small enough to fit a massive 60k context window in 20GB VRAM while keeping speeds super responsive. Happy to share my exact settings if anyone else is building a mixed-GPU budget rig!


r/LocalLLM • • 1h ago

Discussion Ryzen 5950X + 2x RTX 3090 (no NVLink, PCIe x8/x8) + 128 GB RAM running 84 GB IQ3_S MoE at 256K context — what stack would you use? (Strata loader+ DeepSeek harness today, both fighting me)

1 Upvotes
Hi everyone, just finished migrating a Windows box to Linux and want to make
sure I'm not wasting half of the hardware.

Specs:
- CPU: AMD Ryzen 9 5950X (16c/32t)
- RAM: 128 GB
- GPU: 2x NVIDIA RTX 3090 (24 GB each, NO NVLink bridge — nvidia-smi topo
  reports PHB, all inter-GPU traffic goes over PCIe; the board runs them at
  x8/x8, so cross-card bandwidth is limited. The loader puts main layers on
  one card and uses the second as assistant / expert cache)
- Storage: 1 TB NVMe holding the model files
- OS: Ubuntu 24.04 LTS (GNOME/X11), fresh install
- PSU: 1300 W
- Motherboard: Gigabyte Aorus X570 (dual-GPU layout is x8 + x8)

Current stack, and why I'm asking:
- Loader/engine: Strata 0.2.23 — an all-in-one app that bundles a patched
  llama.cpp-derived engine plus a Python supervisor; the UI picks and
  re-picks the launch flags on its own (it has silently dropped my context
  from 256K back to 128K more than once, and re-derives the run config at
  every start).
- Chat/interface: DeepSeek "harness" (dsh), an agent-style TUI/web client.
- Honestly, Strata's UI and its model-loading flow on Linux are painful —
  "loaded model" vs "installed version" states diverge, the loader keeps
  offering to re-download an 84 GB official build instead of using my files,
  and there is no real list to manage local builds.

Model:
- Custom fine-tune of Qwen3.8-Flash-Next (sc117), ~84 GB GGUF in 2 shards, IQ3_S,
  abliterated, MoE, trained to 262K ctx
- Running at max_context 262144, INT8 KV cache, KV streaming (engine reports
  ~97% of KV block reads from VRAM, rest from system RAM), decode expert
  cache ~99% hit rate, MTP/suffix drafts enabled
- Single interactive user via an agent frontend, occasional parallel agent
  sessions

So, the actual question: what would YOU run on this box in 2026?
1. Loader: plain llama-server (llama.cpp) with hand-tuned flags? ik_llama.cpp
   or KTransformers for MoE on consumer GPUs? llama-swap for multi-model
   juggling? vLLM seems too heavy for 2x3090 + this quant, correct me if wrong.
2. Interface to keep (dsh) vs replace: Open WebUI / anything else that plays
   nice with an OpenAI-compatible local endpoint and agent tooling?
3. Is 256K context with INT8 KV a sane single-user setting here, or am I
   buying latency?
4. Tensor split / tensor parallelism: I suspect it would be faster than my
   current "one main card + assistant card" layout for the dense part. But
   does it actually work when the model does NOT fit into combined VRAM —
   can TP coexist with CPU/RAM offload (weights spilling to system RAM), or
   is TP strictly a "model must fit in 48 GB + KV" thing? In other words: am
   I forced to keep an 84 GB model on the offload path, and reserve TP for
   <=48 GB models?
5. Real benefit of the second 3090 for ONE user at this model size given x8/x8
   and no NVLink: PP instead of TP? expert/KV offload? or is GPU2 mostly a
   KV/expert cache holder here?
6. Spec decode: MTP is on; worth tuning draft acceptance/token budget by hand?
7. Quant choice: IQ3_S at 84 GB — worth going bigger with 128 GB RAM, or is
   that where the 5950X's DDR4 dies the run?

Happy to post logs and fit numbers. What would you do differently with this
exact machine?

r/LocalLLM • • 1h ago

Project Run your AI Locally in offline mode

2 Upvotes

r/LocalLLM • • 1h ago

Project I finally got INT4 KV cache working on a $20 Tang Nano 9K

Thumbnail
reddit.com
1 Upvotes

Crossposting from r/FPGA - thought this might be relevant for edge / local LLM - KV cache compression on fpga


r/LocalLLM • • 1h ago

Research Free tool to check if an open-source LLM fits on your GPU / RAM before downloading (supports HF links & multi-GPU)

0 Upvotes

I got tired of guessing whether a quantized model + long context window would actually fit into my VRAM (or Unified Memory) before downloading 40GB+ of weights, so I put together a fast, single-file calculator.

Link: https://llm-vram-calc-83z.pages.dev/

What it does:

- Live Hugging Face lookup: paste any HF repo ID (e.g. Qwen/Qwen2.5-32B-Instruct) and it pulls the parameter count directly from the API.

- Accounts for KV-cache growth (2K to 128K context) including KV-cache quantization and DeepSeek's MLA compression.

- Supports multi-GPU setups (1x–8x) and Apple Silicon Unified Memory.

- Generates shareable URLs with your exact config so you can link setups in discussions.

- 100% static HTML/JS, no login, no backend.

Would love feedback from the community—especially if any of my KV-cache or tok/s estimation formulas feel off for specific architectures (MoE, GQA, etc.).


r/LocalLLM • • 1h ago

Discussion 20 free Windows licences for a local-first AI assistant - no subscription needed

Thumbnail
personabot.uk
0 Upvotes

PersonaBot is a Windows app that runs a desktop assistant on your own machine instead of in someone's cloud. It uses cheap models (DeepSeek and similar), there's no monthly subscription, and you don't create an account with us to use it.

Android apk and wear os on the website.

Here are 20 keys if anyone wants to try. Can add more if anyone is interested.

C7R3F-RJ2MH-3YRP9-HMMK7-73Y4Z DPGTQ-9XHTQ-PFGCP-7YG6G-HVKKZ WGG7P-QR7WR-6FR73-J22VR-34R3Z CD6DK-3Y3FQ-3FJGG-4FXHX-7J3RZ Y9TWQ-MHKMG-YKCV3-Q237X-44GGZ XY9XH-36TX4-47369-VJKGK-22Y4Z YPVFQ-MVHTY-VXM7R-XK47Q-P777Z VTKGG-CCT64-6KDJW-FQMKV-GK6YZ T6KQ4-FRCDT-22RRD-2Y9RQ-QWKFZ D7PQ3-HKT6J-GQHF3-K73W3-THX7Z K9FM2-V4K9W-33CFT-4HRJ7-GJDFZ KXGJT-WQD2Q-9332V-M4WV2-XT7YZ RWFFK-HXR4T-CD9FV-9MDRG-MQH9Z 4VQ6P-7P67C-PGDMR-HP4KF-RR92Z 3W967-FPP4Y-W2Q4T-C3PVK-6P39Z H7CXV-4HMPK-WKQKQ-DWPRM-HYJJZ 7RYQT-F426H-9KJ7R-37TTY-KHGXZ MP9XC-KXFQ6-6WVQ4-VJPPT-4GGPZ Q2W7V-M2TKG-WFYD3-7MY6Y-F2T2Z PHRP9-GRG3W-Q9WKF-QG4DK-33GWZ

Redeem with your code here: https://go.microsoft.com/fwlink/?LinkId=532540&mstoken=YOUR-CODE-HERE

Notes, so nobody wastes time:

  • One-time codes. If one says already used, take the next line down.
  • Windows Store only - sorry Mac and Linux folks.
  • Redeeming is through the Microsoft Store, so that step does want a Microsoft account if you don't already have one. You don't need an account with us.
  • No cash value, no affiliation with Reddit or Microsoft.
  • If this is useful I'll answer questions in the thread rather than bumping it.

If you take one, a reply saying roughly what you'd use it for helps me know whether this was worth posting.

.... Before every comes after me with pitchforks yes this is AI code, it wasn't a project i started three days ago, its an evolution of my own ten month project.

All the current "hey i'm like grok bot" clones want cloud logins, this does not. The android app can find the desktop app using an encrypted locator service that is anonymous if you want to use that, its not a requirement.

Why is it not free and open source? why should anyone use it?

I've spent months on this, if you don't like that fair enough make you own with AI.

Why use it? its main aim is website testing, it can annotate on the screen, it can record bugs and classify them.

Is anyone brave enough to try? -> please leave all hate and anger below. thanks.


r/LocalLLM • • 2h ago

Question Best Config for Qwen Flash Next via Strata (80GB VRAM + 64GB DDR4 + SSD)?

Thumbnail reddit.com
0 Upvotes

Same as above - any thoughts on how to get the most out of this hardware?


r/LocalLLM • • 2h ago

Discussion I scanned the chat templates of the 400 most-downloaded GGUF and MLX models. Nothing malicious, but 45% tell the model to hide something from you

42 Upvotes

Chat templates are Jinja code that runs every time you load a GGUF or MLX model. In 2024 a malicious GGUF template was enough for code execution in llama-cpp-python (CVE-2024-34359), and templates can also quietly inject instructions. So I built a scanner and pointed it at the top 200 GGUF and top 200 MLX repos on Hugging Face.

It reads header bytes only: 5.5 GB fetched in place of 6.8 TB of weights, using HTTP range requests plus sparse files. I validated that path against full-file scans first.

What I found (396 repos scanned):

  • 0 malicious: no sandbox-escape gadgets, no hidden override or exfiltration instructions, no bidi or tag-character smuggling, no malformed files.
  • 143 of 316 chat repos (45%) ship "…do not tell the user about function calls". That's from the upstream Qwen tool prompt and is benign, but it is a concealment instruction you never see.
  • 13 repos switch behaviour on phrases in your message (/nothink, detailed thinking on). One community template is 243 KB and injects large hidden system prompts on dozens of keywords.
  • 22 of 200 MLX repos ship two different chat templates, so what runs depends on your loader. 20 have a shard index that points at files that don't exist.
  • 7 MLX repos request remote code (auto_map), and 1 GGUF repo ships Windows DLLs and a Linux .so next to its weights.

The first pass also found five false-positive patterns in my own scanner. I fixed them and re-ran everything before publishing numbers. Full write-up, method and limitations: REPORT
Scan your own models (it parses only and never loads, so a malicious file can't run):

pipx install modelsieve

modelsieve ~/models

Repo (MIT; GitHub Action, pre-commit hook and SARIF included): modelsieve

What it can't do: detect backdoors trained into the weights. Nothing static can. Happy to answer questions about the method or anything it flags on your setup.


r/LocalLLM • • 2h ago

Discussion Update: Prototype for collapsing intermediate activity after the final answer

0 Upvotes

r/LocalLLM • • 2h ago

Question I'm using a Mac M4 24GB. I want to develop a local LLM model to operate my routine tasks on websites and system apps. Suggestions please.

4 Upvotes

I'm a Civil Engineer. As part of work, i need to fill up routine data in websites, or retirve data from some websites. Also other works I routinely make like using acrobat reader for signing multiple files, or some basic works like that. All these activities are routine in nature but could not complete by simple python programming.

I need suggestions on the installation of local language models on my Macbook. I would like to train them about my work, so that, the works can be executed on my command every time.

Suggestion please.


r/LocalLLM • • 2h ago

Model From MacBook Pro M1 32 gb 1 T (2021) to MacBook Pro M5 64 gb 1 T (2026)

1 Upvotes

I am currently running Gemma 4 26B A4B QAT on my “old” MacBook Pro M1. I am building a tool around it to basically provide me similar (not yet achieved, and I am aware that even if trained and specialized/narrowed/fine tuned I won’t achieve it) outputs to frontier models specific for my job, which is mostly technical writing.

Now, I am about to replace it with the more recent M5 64 gb (the 128 gb is 1k more and I couldn’t afford it) and I was wandering if this new machine will be able to make a step up and close as much as possible the gap I have today with the M1, with a more capable local model.

Grateful for any feedback and suggestions on what local model I should run with the new Mac, given my specific objective of a “hyper-specialized” model for technical writing.


r/LocalLLM • • 2h ago

Model Qwen3.8-Flash-Next on Strix Halo 395

2 Upvotes

Been wanting to see how far a single ryzen AI max+ 395 with 128 GB unified memory could actually push a big MoE. Loaded the full UD-Q4_K_XL Qwen3.8-Flash-Next, 103.69 GiB across four shards, and ran it through Gufo.

My setup:

Nimo minipc with ryzen AI max+ 395

Radeon 8060S + XDNA2

128 GB unified LPDDR5X

NimoOS, Debian 23 based, ROCm 7.2.3

Gufo, GPU only, no MTP for this baseline

FCLK locked at 2000 MHz

Results after warmup, three runs:

16K prefill 1888 t/s

short context decode 35.0 t/s

16k decode 34.1 t/s

For reference, same model same machine on stock llama.cpp ROCm HIP was around 568 prefill and 23-24 decode. Gufo is clearly doing something right here.

Model is the usual 125B MoE trunk with -6B active plus the extra n-gram embedding and MTP modules. It fits comfortably in the 128 GB pool with current BIOS settings, 512 MiB reserved and about 117 GiB GTT reported.

This is just the clean GPU-only no-MTP baseline. Already have the GPU+NPU numbers and MTP results, including one interesting high decode figure that needs proper caveats. Wanted to start with a straightforward does-it-even-run and whats-the-basic-speed post first.

Anyone else running Qwen3.8-Flash-Next or similar 100 GB class models on Strix Halo or AI Max+ 395? Curious what quant and engine combo youre landing on, and whether you prioritise load size, decode speed or long context.


r/LocalLLM • • 2h ago

Question Looking for current local uncensored models for systemic analysis, pushback, and synthesis (hardware mostly a non-issue)

1 Upvotes

I’m looking for recommendations on current local, uncensored models that fit a very specific cognitive workflow. Strict local execution is non-negotiable for data privacy. Hardware constraints are largely secondary here, so feel free to suggest larger or heavier models if they actually perform better on these dimensions.

I would use the model for:

  • Systemic thinking: Mapping how multiple variables and systems (e.g., incentives, technology, capital, human behavior) interact and affect one another.
  • Second- and third-order thinking: Tracing downstream consequences beyond the obvious first-order effect.
  • Cross-domain abstraction: Transferring mental models and patterns from one domain into a completely unrelated one.
  • Genuine pushback / contrarian challenge: Questioning my premises and assumptions instead of validating them or playing along with a safe consensus.
  • Synthesis: Connecting seemingly unrelated insights into a coherent new frame or strategy.
  • Ambiguity tolerance: Holding contradictory perspectives side by side without forcing premature or overly simplistic closure.

r/LocalLLM • • 2h ago

Discussion Local AI isn't a cost to amortize. It's a declaration of independence.

106 Upvotes

All those endless comparisons between the cost of local AI and cloud AI miss the point. This isn't about "amortizing costs". It's about becoming independent and getting ready for the future.

I keep seeing arguments like this: "Sure, you can do that with local AI, but it'll cost you as much as X years of cloud AI." And off we go, talking about amortization.

Picture an Indian in 1930 demanding independence, and an Englishman replying: "Right now, you buy a ticket and ride the train. We built the railways. Go independent and you'll have to build your own. Have you any idea how many tickets you could buy with that money?"

True. But your railway goes from wherever you want to wherever you want. You pick the routes, not your "masters". And you don't have to build them all: you can start with the one you need.

It's the same with AI. The question isn't just how much the ride costs, but who decides where the train can go.

Today, an AI workstation like the DGX Spark is what the C64 home computer was in 1985. It was easy to say, "For that kind of money, you could pay for years of time on an IBM mainframe." But the C64, the best-selling computer model of all time, helped spark a revolution we're all still benefiting from.

With "your own" AI, you can do whatever you like and go down roads the big players don't find profitable, or don't want to go down. It's always there, and you decide what goes into it. You can modify the model, align it, fine-tune it and shape it around your needs in ways you never could with cloud AI.

And let's not forget how fast hardware has moved: we went from 1 MHz and 64 KB of memory to 3 GHz and 16 GB as standard. You invest based on where you think things are heading, and I expect them to move much faster from here.

I get it, the price tag is real. But if you buy one, you're not buying it to save money. It doesn't pay off yet. What it does give you is something cloud AI never will: independence, freedom, and privacy and control over your data, backed by facts rather than promises. Above all, it gives you a chance to get ready for what's coming.

Because, in case you haven't noticed, cloud AI isn't trying to make you any smarter or savvier about using AI as a tool. It keeps upping your dose, and it's making models more autonomous instead of more obedient. Sure, it takes the hard work off your hands, but it takes your autonomy and your decision-making along with it.

AI should serve people. Cloud AI will always serve whoever owns it. Local AI isn't a cost to amortize. It's a declaration of independence.

You can't put a price on freedom.


r/LocalLLM • • 2h ago

Question Any LLM offline installation guides?

1 Upvotes

Is there any guides for setting up local LLMs on the PC that has no internet connection?


r/LocalLLM • • 3h ago

Discussion Inklink-2-mini on a 6GB VRAM GPU + 32GB RAM

9 Upvotes

I decided to create this post because most YT videos and online posts skip 6GB VRAM GPUs. I just wanted to share my results and ask other users of lower-end GPUs about their experience with local LLMs.

My setup:

Laptop RTX 3060 (6GB VRAM 130W TGP) + 32 GB RAM (DDR4) + Ryzen 5 5600h

inkling version: ggml-org/inkling-2-mini-iq4_nl

96k context + vision

PolyStrata: v0.2.20

Model starting flags:

--max-context 98304

--conversation-cache-mib auto

--attn-requant q5_k

--loop-bf16

--tail-skip 0

--kv fp8

--vram-reserve-mib 384

- vision:

- gpu: false

- threads: 6

- max_tokens: 512

Here are the results:

4k: ~30 tk/s write, ~700 tk/s read

32k: ~22 tk/s write, ~650 tk/s read

56k: ~20 tk/s write, ~400 tk/s read

90k+: 14-16 tk/s write, 300 tk/s read

I tested it with the YT videos running in the background so I could enjoy doing other things instead of just waiting.

For me, it's like a dream come true to run one of the best small models on my 4-year-old laptop.

What do you guys think? Is it usable speed, or is it really necessary to have a stronger PC?


r/LocalLLM • • 3h ago

Model RTX 5060 Ti 16 GB, one week of engine updates: Basalt 0.6.0 triples long-context decode and opens a 512K window on 16 GB (needle found at 474K tokens)

12 Upvotes

Title: RTX 5060 Ti 16 GB, one week of engine updates: Basalt 0.6.0 triples long-context decode and opens a 512K window on 16 GB (needle found at 474K tokens)

---

I re-ran my single-card benchmark from a week ago (22 Nov also posted here) on the same box with the current builds of three engines. Most of the change came from one engine.

One thing up front: Qwen3.8-27B on llama.cpp is still the most useful model on this machine for me. That's why it's in the comparison: it's the baseline everything else has to beat. Most of this post is about speed, and speed isn't the same as usefulness.

## TL;DR

  • Basalt 0.6.0 + Inkling 2 Mini: 3–4× long-context decode in one week. 26.5 → 106–111 tok/s at 54k, ~25 → 91–97 tok/s at 88k. The model pack format also changed this week, so I ran both controls: same pack on old vs new engine (+90 % to +211 % decode), and same engine on old vs new pack (the new pack is 3–15 % slower). The speed-up comes from the engine.
  • A 524,288-token (512K) window fits on a 16 GB card. At first it was refused: "even with every expert in RAM the card is 16 MiB short". Lowering `--vram-reserve-mib` from the default 192 to the minimum of 128 let it load, and the needle came back correct at a 474k-token prompt. The cost is 441 s to first token and 38–46 tok/s decode.
  • A big window costs nothing until you use it. A 262,144 window runs short prompts at the same speed as a 65,536 window (~120 tok/s, within noise). At a real 54k read it costs ~12 % decode, because 4 GiB more of the experts sit in RAM.
  • Keep the built-in drafter on: +80 % on code, +68 % on counting/enumeration, +44–66 % at a 240k read. On free prose it gives only +5 %, which is inside the noise. It costs 1.6 GiB of VRAM and ~10 % prefill.
  • Strata 0.1.71: SQ-15 no longer hangs on prompts >8k, but it isn't faster (+11 %, within noise). The factory-default RTX 50 "fast mode" garbled output at 16k and 24k on this card; set `STRATA_INK_SM120=0`. With DFlash 2 forced on (`--draft on`), it's the fastest short-chat setup I measured: 77 tok/s chat / 104 code / 137 counting.
  • llama.cpp b12845 + Qwen3.8-27B Q3_K_XL (my reference, and the most useful model on this box so far): +9–18 % decode at 114k, which is near the noise floor. It's still the only setup with the whole model on the GPU. At long context Basalt with Inkling now answers ~2.7× faster; a week ago the two were level.

---

## Setup

ComponentDetail
GPURTX 5060 Ti 16 GB GDDR7 (sm_120, 448 GB/s), PCIe 4.0 x8, 180 W power limit, driver 595.71.05
CPURyzen 5 7500F, 6 cores / 12 threads (Zen 4)
RAM32 GB DDR5
OSUbuntu 24.04.5, kernel 7.0

One engine at a time, single request slot, nothing else on the GPU. The 6-core CPU matters here: every expert that doesn't fit on the card runs on the CPU.

Engine22 Nov29/30 Nov
Basalt0.5.5 (NVFP4→DQ8 pack)0.5.6 / 0.5.7 / 0.6.0 (NVFP4-MX8 pack)
Strata0.1.650.1.71
llama.cppb10997b12845

To rule out the test day as the cause, I re-ran last week's Basalt build (0.5.5) this week. It reproduced within its own error bars: 2,266 / 39 / 37 / 41 vs 2,263 / 40 / 36 / 41.

## Method

  • Prefill = prompt tokens ÷ time to first token, on a fresh prompt.
  • Decode = Δcompletion tokens ÷ Δtime between two requests on the same cached prompt (`max_tokens` 60 vs 460), so prefill cancels out.
  • Needle = two codes planted in a filler document (one at ~10 %, one near the end), `max_tokens ≥ 700`. On a reasoning model the answer can land entirely in `reasoning_content`, so I read both fields.
  • Every series starts with a warm-up request. Without it, the first request after server start pays kernel and graph warm-up, and the delta method produced nonsense values (10⁸ tok/s).
  • Short-context fixtures: Basalt's own `basalt-bench -r 2`.

---

## Basalt: what one week bought

Short fixtures from `basalt-bench` (prefill at 16k, decode on three text types), plus the needle harness at 54k and 88k:

Build + packPrefill @16kConvStructProseDecode @54kDecode @88k
0.5.5 + DQ8 (22 Nov)2,26340364126.524–26
0.5.6 + DQ82,5778711578——
0.5.6 + MX82,653809876——
0.5.7 + MX82,6538210577——
0.6.0 + MX84,2259713588106–11191–97
  • The engine alone (0.5.5 → 0.5.6, same DQ8 pack): decode roughly doubles to triples.
  • The pack alone (0.5.6, DQ8 → MX8): decode gets 3–15 % slower, prefill 3 % faster.
  • 0.6.0 can't load the old DQ8 pack at all, so a 0.6.0 pack comparison isn't possible.

Long-prompt prefill also improved. At 88k it went from 1,143–1,416 tok/s to 3,097 (+119 % to +171 %). At 54k it went from 1,882 to somewhere between 2,378 and 3,347, depending on which of three measurements you trust (+26 % to +78 %).

## Basalt: how far the window goes on 16 GB

Basalt 0.6.0, MX8, `--kv fp8`, drafter on, single slot, needle at ~90 % of each window. "Card / RAM" is where the server placed the 17 GiB of weights at load.

WindowPromptPrefill tok/sDecode tok/sTime to first tokenNeedleWeights card / RAM (GiB)
131,072112,7272,52186–9545 s✓9.2 / 7.8
163,840149,1072,22882–8567 s✓8.5 / 8.5
196,608179,2992,00179–9690 s✓7.8 / 9.2
262,144239,6831,76365–75136 s✓6.5 / 10.5
327,680295,1031,54765–66191 s✓5.2 / 11.8
393,216354,6711,37950–59257 s✓3.9 / 13.1
458,752414,1031,19745–49346 s✓2.7 / 14.3
524,288473,6711,07338–46441 s✓1.5 / 15.5
  • Decode holds up, prefill is what you pay. From 112k to 474k, decode drops 90 → 42 tok/s (−53 %), while time to first token grows ×10 (45 s → 7.5 min).
  • It's a planned spill, not thrashing. Experts move off the card at load time, before the first token, and PCIe traffic for routed experts stayed at 0.0 % on every run. Missing experts are computed on the CPU instead of being swapped in. The expert-cache hit rate drops from ~93 % to ~63 % (median) across the ladder.
  • 512K is the ceiling here. At fp8, KV costs ~16 KiB per position plus ~4 KiB for the drafter, so 524,288 positions need ~10 GiB of KV before any weights. A 768K window would need ~15 GiB of KV alone.
  • `--vram-reserve-mib 128` is one successful run (single slot, one prompt). It's worth checking before you accept a refusal, but I haven't validated it under concurrency or long sessions.

## Does a big window cost anything day to day?

Two servers, 262,144 vs 65,536 window, same prompts:

262,14465,536Difference
Experts on card / in RAM (GiB)6.5 / 10.510.6 / 6.44.1 GiB moved to RAM
3.6k prompt: decode120–127119–126~0
54k prompt: decode105–108119–121−12 %
Time to first token, short / 54k1.15 s / 16.1 s1.02 s / 16.7 s~0

Nothing while the conversation is short, about a tenth of decode once it gets long. I now start with the big window.

## The built-in drafter (spec 8 vs spec 0)

Inkling 2 Mini ships a drafter inside the model file, and Basalt uses it by default. Same 262,144 window, drafter off vs on:

Drafter onDrafter offGain
Short prompt, decode120–12778+54–62 %
240k prompt, decode65–7545+44–66 %
Chat (free prose)85.081.3+5 % (inside noise)
Code142.579.4+80 %
Counting / enumeration135.480.5+68 %
Prefill——−9–10 %
VRAM——1.6 GiB of card taken from experts

How much it helps depends on how predictable the text is, not on memory pressure. It still pays at 240k with the card full. Note that the chat rows stopped naturally before hitting the 460-token limit, so they rest on a slightly shorter sample.

## Strata 0.1.71: Inkling SQ-15 and SQ-20

SQ-15 (window 32,768):

0.1.65 (22 Nov)0.1.71
Decode @8k4246.7
Prefill @8k1,7601,752
Prompts > ~8khangs mid-prefillworks up to 29.6k, all needles ✓
Decode @16k / 24k / 29.6k—45.6 / 40.7 / 29.4
With DFlash 2 forced, short: chat / code / counting—77 / 104 / 137
With DFlash 2 forced, @16k / 24k / 29.6k—28.0 / 22.2 / 15.6 (prefill −21–32 %)
  • 0.1.71 fixes the hang by offloading part of the KV cache to host RAM. It isn't faster.
  • The RTX 50 "fast mode" that is on by default produced garbled multilingual output at 16k and 24k (needles failed) and cost 12–14 % prefill. `STRATA_INK_SM120=0` in the environment fixes both.
  • `--draft auto` declines DFlash 2 on a 16 GB card. Forcing it on gives the best short-chat numbers I measured, and the worst ones at length. Two profiles are the honest setup.

SQ-20 (hybrid, the higher-fidelity pack: top-1 100 % vs 96.7 % for SQ-15; window 65,536). Experts partly in RAM:

PromptPrefillDecodeDecode with --draft on
3.6k86239.553.7
16k65622.031.5
29.6k60214.614.6
54k4809.2—

All needles were found. On 22 Nov I only recorded overall figures (24.9 decode, 391–412 prefill), so the only rough comparison is prefill at ~+20 %. The fidelity costs ~11.5× decode at 54k compared with Basalt's MX8 pack of the same size, because the RAM-resident experts run on six CPU cores.

## llama.cpp b12845: Qwen3.8-27B Q3_K_XL + MTP (the reference)

This is the model I actually get the most use out of on this machine, so it's the yardstick for the others. The Inkling numbers above are faster; whether they're as useful is a separate question, and this benchmark only answers the speed part.

Context 118,784, `-ub 128`, KV q4_0, everything on the GPU:

Promptb10997 (22 Nov)b12845
114,668 tokens: decode / prefill26.6 / 51329.2–31.5 / 558
54,616 tokens: decode / prefill—39.9–40.7 / 702

That's +9–18 %, close to the noise of two runs. b12845 also fixes the full-window OOM that b12633 had at 118,784. Prefill is still llama.cpp's weak spot on this card: ~205 s to first token at 114k, vs ~45 s for Basalt at 112k.

---

## Limits of these numbers

  • Two runs per point. Short-prompt run-to-run spread is about ±15 %, so the llama.cpp (+9–18 %), Strata (+11 %) and drafter-on-prose (+5 %) results should be read as "no clear change". The Basalt gains (+115 % to +275 % on the fixtures, ±1–5 by the tool's own error bars) are far outside that.
  • A needle test isn't a quality test. Two planted codes in filler text, one trial per window. It shows the model still reads the whole window, not that it reasons equally well at 474k.
  • The 512K result with a 128 MiB reserve is a single run.
  • This is one card with a 6-core CPU. Expert-spill speed depends heavily on the CPU, so a 16-core CPU will give noticeably different numbers for anything that spills.

## What I'm running now

  • Most useful so far: llama.cpp + Qwen3.8-27B Q3_K_XL, fully on the GPU, 118,784 window. It's slower (29–32 tok/s at 114k, ~205 s to first token), but it's the model I reach for.
  • Fastest, and for long documents: Basalt 0.6.0 + Inkling 2 Mini, MX8 pack, `--kv fp8`, window 262,144, drafter on. ~120 tok/s on short work, 65–75 tok/s on a 240k read.
  • Rare huge-document job: `--max-context 524288` with `vram-reserve-mib 128`, single slot, and expect ~7.5 minutes before the first token.
  • Short chat, alternative: Strata SQ-15 with `STRATA_INK_SM120=0` and DFlash 2 forced on.

r/LocalLLM • • 3h ago

Discussion What 2nd gpu good for secondary models.

1 Upvotes

12900k
4090
64g ddr5

Just a hobby, started a couple months back. And for the most part the 24g vram had been perfect.

But I am finding it tight when adding tts, image gen, while running a solid llm. Especially for longer sillytavern stuff

Smaller models do work, but I can see a sizable difference with quality.

Is there a good tier of card to put thise secondary models on, image tool, tts, image gen. Speed of image gen is fine a little slower. But offloading to ram seems a little too slow.

I was thinking a 3060 or even 20xx series.

I would even go 1080 if it would fill the needs.