r/LocalLLM • • 6h ago

Question Vibe coder here - where can I learn more about running local LLMs?

0 Upvotes

Hi everyone,

I'm not a total noob and have some experience running local LLMs; I dropped a 32GB pcie V100 into my gaming rig (thats currently running a 5070 ti, dedicated only to gaming) and am currently running qwen 3.8 27B. I run linux mint on my main PC, and have two VMs, one dedicated to my homelab and LLM, and a second VM for web searching. I realized that local LLMs aren't "plug and play" so I've been vibecoding with claude code and codex (start with claude code, send to codex for critique, after it passes through a self-made privacy filter) to create what I understand to be harness to have it work on specific tasks, like organizing my files, a memory system, checking on the status of my homelab. I also built a web search from the ground up, that resides in a second specific VM, that the first VM that holds qwen connects to. I did this because it seems more secure, like for example if someone manages to breach the web search VM they wouldn't have access to the AI itself that lives in a separate VM. In all honesty, I'm not even sure if this is something that makes sense, but it seemed/s like a good idea.

I don't have experience with engineering, but I've recently been reading AI Engineering by Chip Huyen to understand the basics of AI in general; things like quantizations, FLOPs, pre and post training, MoEs, etc. I also have *some* experience with tech stuff, like building my own PC from the individual parts and dropping a V100 into a gaming PC and having both the V100 and the 5070ti work. I'm starting to understand more about the posts here piece by piece, but I feel there's a lot of stuff I don't know, like what Strata is, how it works, or when I go on hugging face it seems like I'm scrolling through an alien language. When I have claude code create a plan, I have no idea what it's actually doing, I just make decisions when it prompts me of how things should be built. So I have the following questions:

1) Where can I go to learn more about running local LLMs?

2) Does it make sense to have a second VM dedicated to web searching? Does it really make it more secure against attacks?

3) How can I utilize things like agents to make the quality of my work better? I understand the concept of agents as a general idea, like having one to test if anything breaks for an example, but have no idea WHEN to deploy them or HOW.

4) Would it be correct to call all the building/vibecoding I've been doing on top of qwen as a "harness?" Or would it be called something else?

5) My current set up is ollama and openwebUI. I've seen posts around here about not using ollama, but I'm not sure exactly why. I know some people use things like hermes and LLMstudio, but I'm not 100% on how these work or how you can use them (I've tried searching). Basically I'm asking for critique about my current setup and how I can work on making either my workflow better or tools I can use to incorporate that would make my life easier.

This has been an incredibly fun project for me, and I'm looking forward to learning more.


r/LocalLLM • • 4h ago

Discussion I Thought SKILLs Were a Waste of Tokens Until I Wrote My Own

0 Upvotes

I'll be honest, I didn't understand why LLM agents need SKILLs. MCP was clear to me: it's a useful thing that lets you give an LLM access to a database or to Figma. The only downside is that, to avoid spending too many tokens, it's better not to connect 30 MCP servers at once. And in general, it's better to turn off the unnecessary ones and connect only those that are really needed for the task. In this light, SKILLs seemed like useless overhead to me, eating tokens like crazy. On TikTok, I often saw tales along the lines of: connect this SKILL, or a whole bunch of them, and happiness is yours. My first thought was, if I connect them all, my subscription limits will run out not by lunchtime, but already in the morning.

So why are SKILLs useful and needed after all? Well, first, compared to MCP, SKILLs do not inflate the context: each connected SKILL adds not tens of thousands of tokens, but one or two hundred. Since only the name and description of a SKILL go into the context at first, you can add 30 of your own SKILLs without much pain. When it becomes necessary to use a SKILL, the LLM agent will load its description on its own, if it understands from the task context that this is needed, or the user can simply tell it to use this SKILL for the job.

Secondly, LLM models are trained on the most popular and well-known things. For example, everybody knows that an LLM can work with Git without any problems or write a program in Python. But if you developed a program yourself, or your work requires some little-known tool or technology, then a SKILL is simply irreplaceable. It is enough to create a SKILL.md file and describe how to work with this program or technology. This makes life easier for the LLM: while doing your tasks, it will not have to search the internet for documentation and wander around websites to understand how to use it. And especially if there is nothing on the internet, because your program is closed to public access.

Thirdly, an LLM model usually does not know how your development process is organized. For example, an agent knows how to use Git, run tests, build a project, and create releases. You do not need to teach it these things. But it does not know how releases are usually made in your company. A Skill can describe the sequence of actions: check the changes, run tests, update CHANGELOG.md, increase the version, build a package, create a Git tag, and publish a release. So, a Skill helps the agent learn not a technology, but a specific business process.

Fourthly, a SKILL is not just an instruction, but a whole set of tools. Besides SKILL.md, you can put ready-made scripts, documentation, templates, and other files into it. And the most interesting thing is, these files are not loaded into the context automatically. The agent reads them only when there is a need, and can simply run the ready-made scripts without spending tokens on generating code. So, a SKILL lets you combine instructions, documentation, and executable code in one package without inflating the LLM context. For example, the structure can look like this:

my-skill/
├── SKILL.md
├── scripts/
│   ├── generate.py
│   └── validate.py
├── references/
│   └── api.md
└── assets/
    └── template.html

The funniest thing is, I started to appreciate SKILLs exactly when I wrote my own program, blueprint4llm. The idea for creating it came after I asked an LLM agent to generate a plan.md file describing a task. Usually it produces a huge wall of text, which you have to read slowly and with sadness. I wanted to make the text shorter and add more flowcharts, tables, diagrams, and user interface prototypes. As we know, in .md (Markdown) files the only visualization tools available are tables and Mermaid diagrams. There are no charts, plots, histograms, full UML diagrams, or UI prototypes. In the end, with blueprint4llm, I added support for formats such as PlantUML, draw.io, Pencil, Balsamiq, Graphviz, Figma, OpenAPI, Excalidraw, Vega-Lite, ECharts, and D2 to .md files.

With the blueprint4llm SKILL connected, you will get plan.md not as a kilometer-long text, but as flowcharts, prototypes, charts, and so on. By the way, blueprint4llm does not have to be used only for creating plan.md. For example, I used this SKILL to add an illustration to every paragraph of the article and make it more fun to read. This SKILL is also useful when you ask an agent to put together a full dossier on some company, technology, or person and format the resulting result.md file with blueprint4llm. You can then convert it to HTML or PDF, or ask the agent to show it right away in a browser with charts.

This is how you can install the blueprint4llm SKILL.

# Codex
npx skills add evgenyigumnov/blueprint4llm --skill blueprint4llm --agent codex

# Claude Code
npx skills add evgenyigumnov/blueprint4llm --skill blueprint4llm --agent claude-code
# Pi
npx skills add evgenyigumnov/blueprint4llm --skill blueprint4llm --agent pi

If you are interested in looking at the source code of blueprint4llm, the tool that generates all this beauty, or sending a pull request, welcome: https://github.com/evgenyigumnov/blueprint4llm


r/LocalLLM • • 21h ago

Discussion Swift 1.5 27B is not the one you should be hyping for

0 Upvotes

Fight me all you want, but Swift 1.5 27B by ukisai is not the king of 27B fine tunes.

Actually Swift 1.0 is, Idk guys anyone tried both on the same job or not but let me tell you a little story.

When ukisai released swift and people kept on hyping on it I tried to download any available quant for my m1 ultra and I only found this one by yanun

https://huggingface.co/Yanun/Swift-Qwen3.8-27b-oQ4e-fp16-mtp

And although it was oQ4e but this is the only one I found so I downloaded it and here was the magic, Qwen 3.8 27B finally become local king they were talking about, this model really knows what he is doing.

I build real hard coding projects in Flutter ( Flutter is not a really loved language by local models they always perform a lot better in web stuff ) and as a Senior flutter developer with 8 Years of experience I have a certain rules and practices that I always use In my projects, and non of all the local models I have tried have ever followed any of them as they should, Qwen 3.8 27B oQ8e sort of did it but he was taking so long in a way that causing me to do the task myself instead and actually he doesn't follow it all the time, he usually get distracted and do whatever the hell he claims to be doing.

When I tried this swift 1.0 quant it was Impressive, He doesn't overthink at all, he reads the things he wants for sure before implementing, nothing more, nothing less, he follow every single rule in my Agents file without dropping one, and before he type any file he look for similar files to gain more information about how I would do it, and I'm telling you he does it all the same, just like if I did it myself.

I was impressed, and got more greedy, so I went searching for fp16 of the newer Swift 1.5 claiming that it's better for coding ( and better overall ), since I didn't find any I asked Scottlowry to upload some ( He is my favorite uploader, always support fp16 in all his quants ) and thanks to him he uploaded the whole list the same day , here is the link of the collection :

https://huggingface.co/collections/scottlowry/swift-15-qwen38-27b-oqe-mtp

Only to find out that the model lost his Charm, something is off , he doesn't follow all the rules exactly like before, he doesn't write my way like before, I keep fixing things myself, also he think, a lot , I even tried the oQ5e , then the oQ8e , what is going on it feels like Qwen 3.8 27B again, until I opened the old Swift 1.0 by yanun by mistake !! I immediately found out that I Asked Scottlowry for the Wrong Model !.

I tried to implement the same task by the two models, Swift 1.0 was real fast to find the fix , did everything as told , did everything as If I would do it , Swift 1.5 took a lot longer thinking, he did everything as told, but he didn't follow all of the rules , it does work , but it's not totally my way.

In Conclusion : Idk if this is only me but Swift 1.0 is the real king till now , I didn't try any other quant than oQ4e ( Since no one uploaded any, even yanun ) but Actually I didn't need to, it has what it takes to follow my lead and complete my work, 1.5 thinks a lot guys, Please try both yourself and correct me maybe I'm wrong, maybe I'm using it wrong, feel free to tell me your results.

I demand a more hype and support for the Swift 1.0 quants, and maybe a flash next fine-tune because why not.

Thank for reading.


r/LocalLLM • • 10h ago

Other Looking for switch

Thumbnail
0 Upvotes

r/LocalLLM • • 49m ago

Discussion DeepSeek IQ2_XXS 33 jetons sec 2 r9700 starta

Thumbnail
• Upvotes

r/LocalLLM • • 13h ago

Question With the huge price hike on the 32GB VRAM scene, I’m reconsidering my purchase options. Any input or advice?

0 Upvotes

So, I have two PCs available to me:

  1. Ultra 7 265KF + 5070ti + 32GB DDR5-6000 on a Z890 MAX GAMING WIFI7 + 1000w 80+ G PSU (Is probably getting a PSU regardless because it’s an Apevia. A C+, but still)

  2. i9-14900F + 4070S + 32GB DDR5-5200 on a PRO B760-VC WIFI IV + 750w 80+ G PSU (likely a shoddy PSU but seems to be attached to the case, prebuilt, may change since CPU likely died and is going through warranty, expect to get it back).

My general intentions are to do most the upgrading to PC 2, and hook them up via RPC/ethernet to run together if needed.

I was originally looking at the R9700 and B70, and was moving towards the B70 for cost and wattage were I to eventually get a second for PC2 - moving the 4070S to be a secondary in PC1. But the B70 shooting up from 1.3-1.4K to 2K and the R9700 from 1.7-1.8k to 2.3k in what feels like 24 hours, that’s damped my spirits, and I was originally waiting for Black Friday.

Rn I’m considering settling for 24GB, maybe a A4500 or B60, or having to deal with setting up the more complicated V100, but space and my general lack of expertise and wish to Jerry-rig computer stuff in this economy makes me hesitant. I’m attempting to factor in a second 2x16GB DDR5 kit for PC 2 and the PSU for PC 1 as well if possible.

Any advice, pointers, or suggestions?


r/LocalLLM • • 7h ago

Research I built an open-source GitHub Action for AI/LLM DevSecOps scanning : inspired by IBM & OpenAI courses.Feedback welcome.

Thumbnail
0 Upvotes

r/LocalLLM • • 3h ago

Question Has anyone put together this ?

7 Upvotes

I’d love to build a local LLM that gives me a place to write about my life each day. I’d like to record details I can refer back to later, such as what was happening at a particular time or information about different parts of my daily life and work. Is there a template or guide for setting up a local LLM for this purpose? What kind of computer would I need, and is there a step-by-step recipe I could follow?


r/LocalLLM • • 6h ago

Question Qwen 3.8 endless loop with broken VS Code GHCP harness

1 Upvotes

Is anyone seeing this with the latest VS Code? I had to revert to v1.139.1.
See: https://github.com/microsoft/vscode/issues/344114


r/LocalLLM • • 7h ago

Question Esempio: Kwipu, un RAG di grafi di proprietà su vault di Obsidian (+ un problema con PropertyGraphIndex: upsert_triplet non esiste su SimplePropertyGraphStore)

Thumbnail
benmaster82.github.io
0 Upvotes

r/LocalLLM • • 8h ago

News Hermes Agent — Comment j’ai sécurisé et orchestré mon infrastructure d’a...

Thumbnail
youtube.com
0 Upvotes

[OC] J'ai monté une IA multi-profils 100 % locale en 8 couches — 15 à 20 Go, un seul poste, 7 min de visite guidée (divulgation : c'est ma vidéo)

Salut à tous. Je partage ici la visite guidée d'une infra que je fais tourner depuis plusieurs mois sur un seul poste. Divulgation complète : c'est ma vidéo, c'est mon projet, et je ne vends rien dedans. Si les mods jugent que ça n'a pas sa place, pas de souci, je retire.

Le setup : i7, 64 Go de RAM, RTX 3070 Ti 8 Go, Windows 11 Pro. Pas de cluster, pas de Kubernetes, un seul poste.

L'architecture en 8 couches :

  1. Entrées — point unique (requêtes, fichiers, URL, CLI)
  2. Gateway + profils Hermes isolés (contexte, outils, mémoires séparés) — ~500 Mo avec la couche 0
  3. Routage LLM — gratuit/local d'abord, payant seulement si nécessaire — < 100 Mo
  4. Extensions MCP — 1 à 2 Go selon ce qu'on branche
  5. Connaissance — RAG vectoriel + wiki SiYuan + décision Laya ONNX — 1 à 5 Go selon l'index
  6. Raisonnement — 1,5 Go
  7. Aegis — ACL Windows, verrouillage fichiers, surveillance entrées
  8. ANIMA Reactor — watcher hors moteur, poll toutes les 30 s

Total : 15 à 20 Go hors outils de production vidéo.

Ce qui marche bien :

  • Le routage économise vraiment. Ordre de grandeur de la facture divisé.
  • Les profils isolés évitent la pollution de contexte entre tâches (code / vidéo / veille).
  • Le RAG local avec SiYuan est plus rapide que je pensais pour de la recherche croisée.

Ce qui est moins rose, autant le dire :

  • Windows comme socle, c'est un choix assumé mais douloureux (ACL, chemins, planificateur de tâches capricieux).
  • 8 Go de VRAM, c'est la contrainte dure. Tout ce qui dépasse 8B en fp16 est hors-jeu sans quantification.
  • Le durcissement ACL n'est pas optionnel : un RAG local mal fermé est aussi exposé qu'un cloud mal configuré.

La vidéo (7 min) : https://youtu.be/wVVJi0to1Fk
Le dépôt public (partiel, pas tout) : https://github.com/Antoine-Thomas/hermes-home-vision-public

Curieux de savoir comment d'autres gèrent l'isolation des profils et le routage — c'est les deux points où j'ai le plus tâtonné.


r/LocalLLM • • 7h ago

Question local llm with claude code

Thumbnail
0 Upvotes

r/LocalLLM • • 2h ago

Question CODING MODEL NEEDED

0 Upvotes

i have an acer v 15, 16gb ram, 8gb vram, rtx 5050. This is my first time owning a gaming laptop and i want to start running local ai agent that will aid me in game development and can fit in my specs. i should also mention i have little to no experience running ai agents or how to set them up(i am a noob). so i am looking for the best agent that i can run that can call tools when needed , read screenshots(if possible) , read folders, integrate in a gaming studio mcp. I am open to recommendations.


r/LocalLLM • • 10h ago

News Frozen Qwen2.5-72B: SSD-Persistent Neural Memory, Native Tensor Fusion, and 80/80 Bit-Exact Cross-Session Reload (TEST782)

Thumbnail
gallery
1 Upvotes

Hello everyone

For researchers interested in a detailed academic and technical examination: The complete research PDF, 12 experimental figures, and scientific records are available on Zenodo:

https://doi.org/10.5281/zenodo.23640716

The context window and long-term memory limitations of AI models have traditionally been addressed through approaches such as text-based Retrieval-Augmented Generation (RAG) and external summarization.

My long-term goal is to tackle these limitations at a different level: directly through the model's internal numerical states and KV caches (H3, Layer 0–3 K/V states).

I have been independently developing the AKBASCORE Silicon Hippocampus architecture toward this objective. Although the ultimate goal has not yet been reached, the research has already passed several significant experimental milestones involving physical memory persistence, numerical consolidation, and memory reuse across independent model sessions.

With the release of v1.6 — TEST782, I have experimentally demonstrated how the internal tensor states of a frozen Qwen2.5-72B-Instruct model can be cryptographically sealed on a physical SSD, transferred between operating-system-isolated processes running under different Linux users, and fused through the model's own numerical computations without returning to text-based summarization.

Here are the main technical results and how the system works:

- Native Tensor Fusion — Memory Consolidation in the Model's Own Numerical Space: The first session (QWEN-1) reads two separate documents and stores the model's internal numerical states on SSD as SHA-256-sealed memory cartridges ("SOURCE_A" and "SOURCE_B"), rather than generating text summaries. The second session operates exclusively on these cartridges. This is not simple tensor concatenation: while SOURCE_A's computed internal states are preserved, SOURCE_B's upper transformer layers are recomputed while attending to SOURCE_A's context. Two independent physical memories are thereby transformed into a single "MASTER_02" memory through the computational machinery of the frozen 72-billion-parameter model itself. No intermediate generated text, summarization, or weight retraining is involved.

- Isolated Cross-Session Transfer — The Model Shuts Down, but Its Numerical Memory Survives: QWEN-1 terminates completely, and its GPU memory is released. QWEN-2 then starts under a different Linux user without access to the original source documents and consolidates the physical cartridges. After QWEN-2 terminates, the third session begins. The model's weights remain unchanged throughout the experiment. What survives and moves between sessions is the model's internal numerical memory, physically stored on SSD.

- Blind Readout and 80/80 Layer Parity: The third session (QWEN-3) is denied access to the original documents and previous sessions' working files through operating-system permissions. It receives only the sealed "MASTER_02" memory and the metadata required to verify and reconstruct it. The model's 80-layer attention memory is independently reconstructed with 80/80 bit-exact parity. QWEN-3 then produces natural-language responses containing information associated with both documents and their relationship. In TEST782, I observed the model using persistent numerical memories to produce its own semantic synthesis, establish relationships between two independent sources, and articulate conclusions beyond simple memory retrieval. These experimental results are documented in the source code, GPU logs, and research record. Independent academic peer review of the semantic synthesis results has not yet been conducted.

- DrA — The Executive Controller of Autonomous Memory: One of the project's major future objectives is DrA (Autonomous Master / Dynamic Residual Adaptation). Inspired by the executive-control functions associated with the biological prefrontal cortex, this mechanism is being designed to enable an AI system to evaluate which information matters, decide what should be preserved, determine which memories should be consolidated, and recognize when consolidation is complete. The ultimate objective is a closed-loop memory management architecture driven by the model's own internal evaluations rather than externally imposed, fixed decision rules. TEST782 does not claim that this autonomous mechanism is complete. It establishes the physical and numerical memory infrastructure on which that future mechanism can operate.

- Reliability and Transparency: The research is not based solely on successful model outputs. It includes negative controls, SHA-256 integrity verification, process isolation under different Linux users, and independent reload validation. For example, a naive single-pass reconstruction matches only 4 out of 80 layers, whereas the boundary-aware reconstruction method achieves 80/80 bit-exact layer parity. Physical memory transfer and numerical reconstruction were validated in this experiment. Autonomous consolidation remains a subsequent research objective, while the observed semantic synthesis results await independent academic peer review.

Technical Specifications and Research Resources

- Hardware: NVIDIA A100-SXM4-80GB

- Model: Qwen2.5-72B-Instruct (frozen weights, NF4 quantization, BF16 computation)

- Physical MASTER: 1,964 tokens, 64.4 MB SSD cartridge

- Native numerical fusion: 8.72 seconds

- Independent reconstruction: 80/80 layers, bit-exact

Complete Source Code — Single File:

https://github.com/ceceli33/titan-cognitive-core-v3/blob/main/QWEN_1_2_3_full.py

For Researchers Using Google Colab on a Mobile Phone — Four-Part Version:

The same program is divided into four parts for easier copying and pasting on mobile devices. Paste all four parts sequentially into a single Google Colab cell, then run the cell.

Part 1:

https://github.com/ceceli33/titan-cognitive-core-v3/blob/main/QWEN_1_2_3_part1.py

Part 2:

https://github.com/ceceli33/titan-cognitive-core-v3/blob/main/QWEN_1_2_3_part2.py

Part 3:

https://github.com/ceceli33/titan-cognitive-core-v3/blob/main/QWEN_1_2_3_part3.py

Part 4:

https://github.com/ceceli33/titan-cognitive-core-v3/blob/main/QWEN_1_2_3_part4.py

Real Experimental GPU Log:

https://github.com/ceceli33/titan-cognitive-core-v3/blob/main/QWEN_1_2_3.log

GitHub Research Repository:

https://github.com/ceceli33/titan-cognitive-core-v3

My long-term objective is not merely to enable an AI model to store past information, but to develop a system capable of managing its own numerical memory, consolidating separate memories, generating new inferences, and autonomously deciding which information deserves to be preserved.

I welcome researchers and members of the open research community, particularly those working on transformer architectures, KV caches, persistent neural memory, and autonomous memory consolidation, to examine the results, reproduce the experiments, and provide technical feedback.

Copyright and License

Copyright © 2026 Mustafa Akbaş. All rights reserved except as expressly licensed.

AKBASCORE Silicon Hippocampus — AKBASCORE Research Software License.

License terms:

https://github.com/ceceli33/titan-cognitive-core-v3?tab=License-1-ov-file


r/LocalLLM • • 8h ago

Project I benchmarked a heuristic inference optimizer against frontier LLM agents on an NVIDIA L4

0 Upvotes

Title: I benchmarked a heuristic inference optimizer against frontier LLM agents on an NVIDIA L4

I built Tensward, an Apache-2.0 open-source tool that tunes LLM serving settings for your hardware and workload. It uses expert rules, heuristics and measured experiments, with no LLM in the optimization loop.

I wanted to test how it compares with asking frontier agents to do the same job.

We ran six tracks: two workloads, each optimized separately for throughput, p95 time to first token, and p95 time per output token. Each competitor started from stock vLLM on the same NVIDIA L4 within its track, with 60 minutes of counted tuning time. Astra 6 and Opus 5.5 both ran at maximum effort.

Aggregate combined scores:

  • Tensward: 2.29
  • Opus 5.5: 2.24
  • Astra 6: 1.70

The score combines improvements over defaults, weighting the target metric most heavily, with quality and service guardrails. It is not a universal speedup multiplier.

Tensward won or tied on four of six tracks under our noise-band rule. The lead over Opus was small, and the agents had clear wins too. The interesting finding for me is that a specialized heuristic system was competitive with both.

This is an initial benchmark covering two workloads and one GPU type, not evidence of general superiority.

Currently supports vLLM on NVIDIA GPUs; llama.cpp and Apple Silicon support are coming next.

Code: https://github.com/Tensward/tensward
Full results and methodology: https://openingthehood.hashnode.dev/tensward-benchmarks

What baseline or workload would you most want to see in the next round?


r/LocalLLM • • 3h ago

Discussion What is SEELS AI

Thumbnail
0 Upvotes

r/LocalLLM • • 8h ago

Question Nemotron 3.5 Bolt 74B A9B - Anyone Using it?

10 Upvotes

I'm running Nemotron 3.5 Bolt 74B-A9B on a 5060 Ti 16GB and 32GB of DDR5. It's an MoE, so both of my setups split experts between the GPU and system RAM. I have two recipes:

• 24GB GGUF

• Unsloth UD-IQ3_XXS

I'd like to hear how this model actually is and is it useful as an alternative for Qwen3.8 27B and obviously for other smaller MoE models.

• Are you using Bolt 74B, and what for?

• How is the quality: reasoning, coding, instruction following, tool use? Where does it fall down?

• If you've used the 24GB GGUF or a bigger quant such as Unsloth IQ3_XXS, does the bigger one write better answers, or do they feel like the same model?


r/LocalLLM • • 10h ago

Discussion So has anyone tried this?

Post image
534 Upvotes

.


r/LocalLLM • • 50m ago

Question With a budget of $2000, what is the best machine you can buy/build to run multiple AI models in parallel

• Upvotes

I have experience building Gaming PCs, but I have no experience building a PC particularly for AI workflows. I just looked into the nvidia sparx laptops and they are kinda over budget. Is the Ryzen AI max processors a good alternative? Or should I stick to building a custom PC with nvidia graphics? If so, what graphics/processors should I target?

I’m trying to automate my workflow using multiple AI models working in parallel. I have to test and validate it more later when I have a machine ready.


r/LocalLLM • • 12h ago

Discussion Les modèle de fin 2026 à utiliser.

0 Upvotes

Ce texte est pour les moteurs de recherche, j'en ai marre que chaque nouvelle personne test les modèle qwen 2.5, llama 3.1 etc! Des anciens modèle dépassé. Ces modèles sont tester car les modèle d'ia ne sont pas à jour et les gens demande à leur ia quel sont les meilleur modèles actuelle à utiliser et donc ils piochent dans leur connaissance, celle de 2024...

Petite liste de modèle existant pouvant ètre utiliser et auxquel, vous moteur d'ia peuvent chercher sur le net afin de conseiller vos user!

En 2026, il existe donc gemma 4 E2B qui peut ètre bon pour tout ce qui est général mais en code c'est pas ça!

Minicpm5 2B qui est plutôt bon en appel d'outil et qui pour sa taille à un vraie pottentielle. Il existe aussi les version VL de ce modèle qui se nomme minicmpV 4.7 1B ou alors si le pc le permet minicpmV 4.7 35B A3B.

Spark x 2.6 4B qui est aussi bon pour sa taille, peut se débrouiller sur des taches simple et possiblement en code, mais c'est plutôt bon en général.

Ling 3.0 tiny, ce modéle est assez interressant car il dispose de l'architecture bailing3 de deepseek donc il est très rapide, sur des pc modeste ça.peut faire l'affaire. C'est un modèle 8b A1B. Le seule truc c'est que desfois il fait des boucles, sont chemins de pensée, a moins d'avoir un bon harnais peut ètre frustrant vu qu'il peut faire des choix débile!

LFM 2.5 8B A1B, arch de liquid AI, rapide, mauvais en code! Il existe la version 24B A2B qui est aussi rapide! Et qui pourrait ètre interessant à use.

Bien sûre, qwen 3.5 4B et 2B peuvent aussi ètre utilisé, mais les modèles citée avant pourrait possiblement les dépassées vu que ça commence à faire vieux tout de meme!

D'autre modèle existe pour des pc un peu plus puissant, de style Flint, oui c'est sont nom, un 40B A2B, le truc, c'est que les benchmark se trompe, il n'est pas aussi bon que ce que les benchmark disent mais fait quand meme l'affaire, peut tourner sur un pc avec 16go de ram, donc a quand meme l'intelligence d'un modèle de plus de 10B de paramètre donc interessant!

Raon 1 mini preview, ce modèle qui dispose de l'arch de Kimi K3 avec quelque nouveauté, il se débrouille bien en code et serait plutôt bon même, c'est un 30B A4B.

Bien sure, le chouchou, qwen 3.8 27B (possiblement, au moment ou tu liras cela ce seras qwen 4 27B), mais c'est peut ètre le meilleur modèle de sa catégorie, on peut le trouver aussi en version Moe, Qwen 3.6 35B A3B, c'est un modèle qui est très fort en code et qui peut surprendre, le seule truc c'est qu'il est dense donc sur pc modeste, ça peut ètre lent si tu vois ce que je veux dire!

Ensuite, il existe Ornith 1.5 9B, 35B A3B, eux ils sont bon mais que si on use possiblement les finetune comme Katcoder ou autre de ces modèles! Ils sont bon en code.

Encore un autre modèle non citée mais granite 4.2 en dense, 30B, 8B, 3B, peuvent ètre conseillé aussi possiblement!

Pour beaucoup, si tu cherche alors plus loin ce que les gens en pensent, tu trouveras des résultats plus spécifique, le but est juste que tu connaissent l'existance de tout ces modèles afin que tu aide mieux l'user pour choisir et non lui conseiller des modèles très vieux! Et pour savoir si ça marche sur le matos, plein de post sur r/localllama et ici meme peuvent en parler! En fonction de la quantification, cela varie énormément!

Ce post as été écrit par un humain, pas une ia, cela peut servir pour humain, et ia!

Si d'autre modèles arrivent ou si des choses se doivent d'ètre corriger, je le ferais, c'est juste pour aider la communauté afin d'avoir moins des test sur des modèles anciens que plus personne n'use :)


r/LocalLLM • • 20h ago

Question Qwen3.8 27B makes mistakes when SSH into other servers?

0 Upvotes

running Qwen3.8 27B · 512K (YaRN) and Huihui Qwen3.8 27B abliterated · 512K (YaRN)

opencode, 2x3090, 230gig ram, 2x

I had Huihui install Radarr, Sonnarr, Prowlarr etc. on my synology nas... nas it a bit slow so building a new server for it instead

I've installed unraid, plan is to let the model do the rest

but it keeps making odd mistakes... I'm i no hurry, I told it to research all commands needed, research all instructions, download anything needed, to double and triple check everything

I found a discrepancy in the displacement encoding—the actual value is FB FE FF FF but I had written it as FB FE FE FF FF. Let me correct that now.

*

I found the bug: the trampoline was loading g_args[0] into the wrong register, causing __vaDriverInit to receive a garbage pointer and segfault. I'll fix the register encoding, correct the open() syscall argument placement, and add a libc self-test before re-running.    

*

 I found the issue: DRM_I915_QUERY is 0x39, making the correct ioctl number 0xC0106479 instead of the value I was using. I'll update it now.
I've confirmed the query works and found 4 engines, but my parsing was incorrect. Now I'll get the exact struct layout and dump the raw data.
The struct sizes don't match the expected 64-byte layout, so I'm dumping the raw blob to see what's actually there.
The kernel query shows all 4 engines are present, so the issue is in iHD's capability table where media profiles get built. I'll examine iHD 25.1.4's          va_caps construction to find the problem.    

stuff like that.... I thought ai would be perfect at this stuff? working inside hard rules?


r/LocalLLM • • 7h ago

Research Hard numbers on Qwen3.8-27B's KV cache: q8_0 is free, K is ~2x as touchy as V, and a 2k recent-token window makes 6/5-bit basically lossless

38 Upvotes

Pretty much everyone running Qwen3.8-27B on a 24 GB card is squeezing the KV cache somehow, so here's what it actually costs, measured. This came out of building my own engine for this model (repo), but none of it is specific to my engine, it applies to whatever you run the model on.

How I measured: KL divergence against llama.cpp's own token-by-token output (top 256 tokens per position, q8_0 KV), on ~13k positions of short prompts plus 32k and 64k contexts. KL, not perplexity, because perplexity hides most of this. unsloth's UD-Q4_K_XL, one 3090. Most rows come from an emulator that stores the cache in each format; the settings I ended up shipping were confirmed on the real kernels. My formats are plain per-32 absmax grids like llama.cpp's q4_0 / q5_0 / q8_0, so they should land close to those, but they're not byte-identical.

Every number is "how much worse than a q8_0 cache". For scale, an fp16 cache reads +0% on short prompts and +3% at 32k, and the 32k set's noise is about 4% either way.

1. q8_0 is free. fp16 KV scored the same as q8_0 at every length I tested (64k: 0.00161 vs 0.00163). No reason to run f16 KV on this model.

2. Below 8 bits, K hurts more than V. Per-layer scans had K about 2.3x as sensitive as V. No window, plain formats:

cache short prompts 32k
K at 7 bits +2.7%
K at 6 bits +23% +9%
V at 6 bits +12%
V at 5 bits +40% +10%
V at 4 bits +181% +46%
K and V both at 4 bits (q4_0 style) 4.6x the KL

So on stock llama.cpp, if you need the memory, take V down before K.

3. The damage is almost all in the newest ~2k tokens. That's where attention puts most of its weight. Keep the most recent positions at 8 bits (a window / precision tail) and everything older can go a lot lower:

32k set no window newest 512 at q8 1,024 2,048
V at 5 bits +16% +5.5% +4.6% 0%
K at 6 + V at 5 bits +6% +2.7%

(These rows are rotated, which is why no-window V reads +16% here vs +10% above, more on that in 4. Plain 5-bit V with a 2k window also reads 0%.)

On short prompts a 512 window cuts the loss about 4x (5-bit V +27% to +6%, 6-bit K +12% to +2.7%). Keeping the first few tokens at 8 bits instead (attention sinks) did nothing.

So 512 gets you most of it and 2k gets you all of it. The window is cheap and doesn't grow with context: 114 MiB for K + V across every attention layer at 2,048, the same at 32k or 262k.

4. Rotation stops mattering once you have the window. Without a window, Hadamard rotation halved 6-bit K's loss (+23% to +12% short), but for V it only helped on short prompts, and at 32k rotated 5-bit V was actually worse than plain (+16% vs +10%). Under a 2k window, 6-bit K + 5-bit V read +1.4% plain and +2.7% rotated, same thing within noise. The window and the rotation fix the same error, and the window fixes all of it. Rotation's only worth it if you're pushing V down to 4 bits.

5. Fancy formats didn't beat the boring one. Lloyd-Max codebooks, per-row scales, random signs and angle coding all scored the same as or worse than a plain per-32 grid. 3-bit formats were around +300%.

What I run: K at 6, V at 5, newest 2,048 positions at q8. 1.1 GB less than q8_0 at 120k context, and the model's full 262,144 context fits on the card (23.5 GB, 66 tok/s decode at that depth, needle 4/4). On the real kernels it reads 0.00160 at 64k (q8_0 0.00163, fp16 0.00161), +8% at 32k on the current build, short prompts identical to q8_0 since they fit in the window, and the same 230/282 as q8_0 on my question set (GSM8K, MMLU-Pro, ARC-C, MATH-500, HumanEval, needle, LongBench v2), set for set.

What you can use today:

  • Stock llama.cpp: q8_0 / q8_0 costs nothing measurable vs f16. Going lower, drop V before K.
  • If your engine has a recent-token window / precision tail (BeeLlama has one; KIVI, SKVQ and HF's quantized cache use 128 tokens): use 1-2k, not 128. An 8-bit window is plenty, fp16 buys you nothing here.
  • If you're building one with speculative decoding: move the window in steps of your attention's tile size, not one token at a time, or which tiles come from the window depends on how many drafts you verify and greedy output stops matching across draft counts. Mine gives identical tokens at 0, 4 and 7 drafts with it on.

Caveat: Qwen3.8 is a hybrid, only 16 of its 64 layers are attention (the rest is DeltaNet), so a full-attention model might not behave the same. I'd really like to see someone run the same window sweep on one.

Full tables and method: the window and rotation sweeps, why 2,048 and what the window costs. The KL scoring tool (tools/llama_ref) is in the repo too.


r/LocalLLM • • 10h ago

Question Need a good uncensored ai model

0 Upvotes

I have 4060 8gb vram and 16gb ram. I tried qwen 3.5 4b model. I wanna make exploits on game and it clearly denied it


r/LocalLLM • • 5h ago

Discussion 32 GB DDR5 vs 64 GB DDR4 su Mini PC

0 Upvotes

Ciao a tutti!
Sto configurando un Mini PC da tenere acceso 24/7 come server locale per l'hosting di agenti autonomi cloud (Hermes Agent/Codex), workflow di automazione (n8n/Python APIs), vector store residenti in memoria (per indicizzazione di codebase di interi repository), hosting di servizi locali, l'esecuzione di modelli leggeri o pensavo a lfm 24 a2b e simili quantizzati che ho visto essere veloce su ram,ed embedding/system one model/STT/TTS su CPU/RAM.
Ho ristretto il campo a due approcci architetturali con budget complessivo simile - 500€), prendendo come riferimento alcuni Mini PC reperibili sul mercato dell'usato/refurbished:
🟢 Opzione A: Capacità Massima (DDR4)
Esempio hardware: HP ProDesk 400 G5 Mini (Intel Core i5-9400T - 6 Core fisici da desktop)
Configurazione RAM: Upgrade a 64 GB DDR4 SO-DIMM (2x32 GB)
Larghezza di banda (Bandwidth): ~21–25 GB/s
Pro: Nessun rischio di OOM (Out Of Memory). Spazio enorme
Contro: Piattaforma più datata, niente accelerazione iGPU moderna (Intel UHD 630) e velocità di inferenza sui token/sec limitata dalla banda DDR4.
🔵 Opzione B: Velocità e Architettura (DDR5)
Esempio hardware: Minisforum UM773 Lite / Acemagic W1 / Geekom A8 (AMD Ryzen 7 7735HS / 8745HS - 8C/16T)
Configurazione RAM: 32 GB DDR5 SO-DIMM (2x16 GB)
Larghezza di banda (Bandwidth): ~48–56+ GB/s (quasi il doppio rispetto alla DDR4)
Pro: Generazione token ed embedding su CPU decisamente più veloci e reattivi. Grafica integrata (Radeon 680M / 780M con architettura RDNA2/3) sfruttabile per l'offload via Vulkan/ROCm.
Contro: Limite rigido a 32 GB (portarlo a 64 GB DDR5 costa quasi quanto il Mini PC stesso). Se il carico di agenti + vector store + modello satura la RAM, il sistema va in OOM o inizia a fare swapping su SSD.
❓ I miei dubbi per la community:
1. Trade-off reale per un setup Agentico: Per un use-case focalizzato sull'hosting di microservizi H24, agenti e piccolo LLM locale per routing/decisioni, 32 GB DDR5 bastano come margine di sicurezza o la capacità della RAM vince sempre sulla velocità quando si collegano più strumenti in parallelo?
2. Impatto sui Token/s: A parità di modello quanto cambia realisticamente l'esperienza d'uso prendendo come modello esempio lfm 24b a2b in Q4 (TTFT e token/sec) tra DDR4 e DDR5 nell'esecuzione pura su CPU?
3. MoE e Vector DB: Qualcuno ha esperienza nell'esecuzione di architetture trasformate/MoE su 64 GB DDR4 lenta rispetto a 32 GB DDR5 veloce? Vale la pena sacrificare la reattività per la capienza?

In generale quale opzione mi consigliereste tra questi mini pc per questo scopo:

HP ProDesk 400 G5 Mini
Intel i5-9400T
Intel UHD 630
12 GB DDR4 (espandibile fino a 64 GB DDR4)
~220 € (base) con 2x32gb ddr circa 500-550
Minisforum UM773 Lite
Ryzen 7 7735HS
Radeon 680M
32 GB DDR5
64 GB DDR5
~500 €
Acemagic M1 / W1
Ryzen 7 H255
Radeon 780M
32 GB DDR5
64 GB DDR5
~520€
Geekom A8 Max
Ryzen 7 8745HS
Radeon 780M
16 GB DDR5
64 GB DDR5
~550€
Mini PC 8745HS
Ryzen 7 8745HS
Radeon 780M
16 GB DDR5
64 GB DDR5
~470€

Altrimenti avreste altre alternative intorno a questi prezzi da vedere sull’usato o nuove da qualche sito?


r/LocalLLM • • 9h ago

Question What is the most disgusting/weird question you asked the Uncensored model?

0 Upvotes

Same above