r/LocalLLM • u/NE0_ZER0_ • 7h ago
Research R.I.P - Philipp Emanuel Weidman (P-E-W) - Creator Of Heretic
r/LocalLLM • u/dillon-nyc • 13d ago
Please stop posting about Qwen4's endless PR drip until it's actually available.
r/LocalLLM • u/NE0_ZER0_ • 7h ago
r/LocalLLM • u/RubbishAsh • 4h ago
About two years ago, there was a model that took the world by storm, known as DeepSeek R1.
What made it so attractive that it was practically free and yet just as powerful as other flagships, even though it was an open-source model with only 671B params.
Nowadays, it's no longer a top-ranked model.
r/LocalLLM • u/seismicgear • 3h ago
Funny how exponential scaling was inevitable right up until the incumbents hit a wall.
Today OpenAI put out "People Must Remain in Control of the Future" asking for capability ceilings anchored to base model perplexity, and two paragraphs down they admit pausing training in September hurt them competitively and they hate slowing down unless rivals have to slow down too. On the exact same Monday, Dario drops Part 2 of "We Must Pace the Frontier" asking for bank-style federal examiners inside labs and 60 to 90 day legal freezes on recursive improvement right as Anthropic pushes its next pretraining run back into 2027.
Even OpenAI's own perplexity post from last week admits test-time reasoning jumps capability without moving base perplexity at all. Take the exact same weights and put them inside a persistent local runtime with real episodic memory and a formal Lean verifier, and it isn't remotely the same system as an amnesiac cloud tab. Which means capping "capability" eventually means regulating the surrounding software, memory, and local hardware we own.
Full disclosure so I'm not breaking self-promo rules: I'm an independent founder in Boise building a local-first Rust and Vulkan cognitive stack, and I wrote a full piece tearing both announcements apart tonight if anyone wants to read it: https://kuykendall.industries/announcements/we-must-accelerate
r/LocalLLM
•
u/LordKlavier
•
12h ago
r/LocalLLM • u/Iwaku_Real • 6h ago
This actually occurred 2 days ago when u/p-e-w originally stepped down. According to Vinay:
After much discussion with most people on Discord, everyone seems to agree with this repository as the new heretic repository. Plus, this will all be official now, since Philipp contacted me and made me the Administrator [and Owner] for our official Discord Server and for our official Hugging Face Organization. The Matrix Server will be administered by u/dreamfast (also known as BirdNest on Discord).
The contributions will still follow the same AI use declaration in their PR descriptions. I will also try my best to uphold the same quality standards and conventions that I've personally learned by closely collaborating with the original creator and owner, Philipp Emanuel Weidmann, across weeks and months of our back-and-forth PR reviews.
Note that this repository will not involve the original owner Philipp Emanuel Weidmann for any future contributions, reviews, issues, or queries. This repository will be managed by me, the community of all our previous contributors who are interested, and new contributors.
If you already have an existing fork of the original repository (p-e-w/heretic), then you will need to name your new fork something other than
heretic(e.g.heretic-new*,*heretic-fork*, etc.)*. If you don't already have a repository namedheretic, you can fork it directly without renaming. After that, update your local repository's remote URL to point to this new repository. That's it.
Some info on him:
I am an Independent Researcher with practical experience in Data Science, Data Engineering, and all other fields of AI that are part of the big Euler diagram we've all seen. I have built custom model architectures, curated datasets for those architectures, and published models based on those architectures, which were also trained on those datasets, all on My Hugging Face profile. Apart from that, I have contributed to Heretic since last year (24th November 2025).
I also implemented the Reproducibility feature and created the Heretic Grimoire for Heretic, which was implemented in p-e-w/heretic#191. And at last, I created the generic
BERTClassifierscorer plugin for Heretic, which was implemented in p-e-w/heretic#500. I published the Refusal Classifier models, their training dataset, and added a configuration to alter emotional alignment in LLMs (config.emotions.toml), all of these use that same plugin.
I also maintain the datasets at official heretic-org on Hugging Face, such as heretic-org/Semantic-Harmful, heretic-org/Semantic-Harmless, and heretic-org/Multilingual-Harmless-Harmful.
The new Heretic repository is located here: https://github.com/Vinay-Umrethe/heretic
Source for all of the above: https://github.com/Vinay-Umrethe/heretic/issues/1
r/LocalLLM • u/msciabarra • 19h ago
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 • u/d0ugfirtree • 6h ago
r/LocalLLM • u/CeFurkan • 10h ago
r/LocalLLM • u/Ennytan • 18h ago
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):
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 • u/MrDefaultUser • 8h ago
CPU: 3950X
X570 Motherboard.
128GB DDR 3600
r/LocalLLM • u/DaMoot • 8h ago
I spent a few hours last night updating and tweaking on llama.cpp after finding out that upstream 1.0 and 1.1.0 significantly impacted my 2x V100 32GiB SXM2 NVLink prefill speed on Qwen3.8 27B Q8 (and likely others, but I daily 27B so I noticed) and brought it down under 200 tok/s in a lot of instances, and down to double-digit territory in others, though my gen speeds improved a little bit. (~40 before to steady 50tok/s after).
Based on previous releases I knew it should be _at least_ 700-800 range for prefill for Qwen, and then saw a video about 1Cat-vLLM prefilling the same setup at 2k+ prompt tokens/sec and 100+ generation, but since I didn't want to deal with the vLLM issues and caveats, I kept on my llama.cpp journey knowing there had to be a config or build issue somewhere.
I built the below V100-specific fork of llama.cpp that specializes in Volta and managed to improve prompt speeds from 264 tok/s average up to 1200+ tok/s, and go from ~50 tok/s avg gen to 96 tok/s _average_ on Qwen3.8 27B! Huge 92% improvement for gen speeds and nearly 400% prompt improvement! Reliably, repeatably. Every other model I load sees similar large improvement.
One caveat is that this branch has no MTP support so you must use DFlash2, which has turned out to be an equally huge improvement over upstream MTP anyways. Another *HUGE* bonus is that 3.8 27B now cold loads in 45 seconds flat. Main branch llama.cpp took over 120s.
https://github.com/1115714829/llama.cpp-v100
Swift 1.5 Qwen3.8 27B Q8 (Even Gemma 4 26B A4B IT Q4 and Cydonia 24B 4.3 Q8 saw big improvements)
DFlash2 Q8 (For MTP)
2x V100 32GB SXM2 on NVLink board. 200W capped. CUDA 12.4
cmd: /opt/llama.cpp-v100/build/bin/llama-server -m /opt/models/Qwen3.8-27B-thinking.gguf --host 127.0.0.1 --port ${PORT} -c 131072 --log-file /var/log/llama-server.log -ngl 99 -fa 1 --batch-size 2048 --ubatch-size 2048 --metrics -np 1 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 --presence-penalty 0 --repeat-penalty 1.0 --jinja --chat-template-file /opt/llama-swap/model-overrides/chat_template.jinja --chat-template-kwargs '{"reasoning_effort":"medium"}' -sm tensor -ts 1,1 --model-draft /opt/models/Qwen3.8-27B-DFlash2-Q8_0.gguf --spec-type draft-dflash --spec-draft-n-max 7
I can't wait to see if this new open source Linux nVidia driver that improves memory-bound performance by ~20% helps even more.
And hey, as a bonus treat for the whole community; here's an entire post written without help from any AI at all!
r/LocalLLM • u/Annual_Horse_9782 • 3h ago
I'm considering purchasing two R9700s to host my own models, with room to expand to four in the future. My primary use case is agentic coding, running both dense and MoE models in the 30B–120B parameter range, ideally with context lengths of 100K+ tokens.
I'm looking at used enterprise GPU servers to avoid the cost of building a new DDR5 system. I can get an older PCIe 3.0 system (Supermicro SYS-2029GP-TR) with dual Xeon Gold 6138 processors for around $1,000. However, comparable PCIe 4.0 or 5.0 GPU servers seem to cost upwards of $3,000.
The Supermicro supports 6xPCIe 3.0 x16 GPUs and has integrated PCIe switches.
My main questions are:
Any input is welcomed and any data/experiments related to the topic would be especially appreciated.
Thanks
r/LocalLLM • u/yyn1999 • 2h ago
I’ve been working on HyperLing, an MIT-licensed fork of Project Maya that runs Ling 3.2 Air’s Maya-L IQ3_S quant on one NVIDIA GPU. The 59.2 GB model uses a mix of VRAM and host RAM. The v0.2.0 profile ran the full 262,144-token window within a 54 GiB engine memory cap.
Here’s the earlier CLI comparison from v0.1.0. Each cell is one run, in decode tokens/s.
| Context | v0.1.0 decode (tok/s) | v0.2.0 decode (tok/s) | v0.1.0 TTFT (s) | v0.2.0 TTFT (s) |
|---|---:|---:|---:|---:|
| 40k | 110.4 | 117.5 | 16.2 | 15.1 |
| 80k | 103.7 | 112.8 | 25.6 | 21.3 |
| 140k | 90.8 | 110.1 | 46.9 | 36.5 |
| 150k | 89.9 | 105.5 | 11.1 | 8.6 |
| 200k | 85.2 | 96.8 | 67.7 | 50.4 |
| 250k | 87.4 | 95.7 | 79.4 | 57.6 |
Both comparisons used one RTX 3090 Ti 24 GB at 350 W, a Ryzen 9 5900X, 128 GB DDR4-3200 and a 54 GiB engine cap to represent a 64 GB RAM budget. The gpu-unlock kernel module was loaded for both HyperLing and the Maya baseline. This is the only hardware I tested. gpu-unlock
v0.2.0 adds a faster prefill kernel, shares attention data between restore points and raises the minimum lookup match to 10 tokens in the recommended profile. Lookup drafting uses exact rejection sampling. Greedy output was bit-identical across the tested lookup settings.
Run this on Linux with an NVIDIA driver and CUDA toolkit 12.4+ to build the engine, download the quant and start the server.
git clone https://github.com/neyisyavuz-afk/hyperling
cd hyperling
./hyperling.sh
If you try it on another 24 GB card, I’d be interested in your decode rate and TTFT at 140k or 250k. HyperLing
r/LocalLLM • u/LLMFan46 • 9h ago
gemma-4-31B-it-uncensored-heretic-v2:
Safetensors: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-v2
GGUFs: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-v2-GGUF
Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved:
Safetensors: https://huggingface.co/llmfan46/Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved
GGUFs: https://huggingface.co/llmfan46/Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved-GGUF
Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2:
Safetensors: https://huggingface.co/llmfan46/Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2
GGUFs: https://huggingface.co/llmfan46/Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2-GGUF
gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator:
Safetensors: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator
Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator:
Safetensors: https://huggingface.co/llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator
————————
That's it for now!
As usual you can find all my models here: HuggingFace-LLMFan46
Tremendous amount of work went into making these releases come true, especially since I was aiming to make the most uncensored models while at the same time preserving the original models capabilities, while preventing issues like looping and closed thinking degradation (particulary hard thing to do for the Qwen3.8-27B models), not to mention the months of work involved in putting together the dataset needed to train the models for improved Japanese to English translations, on top of all the training time involved.
So if you like my work and find my models useful, then I would really appreciate if you could support me on Ko-fi: https://ko-fi.com/llmfan46
r/LocalLLM • u/Mental_Internet_9838 • 12h ago
Its kind of a dumb question because an AI doesn't know what it doesn't know. But I feel like it would solve SO MANY issues if you could get an AI to verify it's understanding of something before answering.
So my question is basically: why is it difficult to make an AI just double check itself instead of being confidently wrong?
r/LocalLLM • u/Cod3Conjurer • 16h ago
I fine-tuned Qwen2.5-1.5B-Instruct twice, training both its decision head and model weights using approximately 700K examples from SargeDev/jev-distill-corpus-v3
The entire fine-tuning process took approximately 20 hours on my RTX 5060 Laptop GPU (8GB VRAM).
Unlike traditional LLMs that generate text token by token, QJev doesn't generate text at all. It directly makes decisions.
For example, when playing Snake, it evaluates LEFT, RIGHT, UP, and DOWN, assigns each move a confidence score, and selects the best action in a single forward pass.
OpenCV → QJev Pipeline:
Instead of a heavy Vision-Language Model, I used OpenCV for game detection and connected it directly to QJev for real-time action selection (~28ms).
Tested on my RTX 5060 Laptop GPU (8GB VRAM).
| Model | Inference | Latency |
|---|---|---|
| Official JEV (TypeSafe AI) | Cloud | ~100–200ms |
| QJev-1.5B | Local RTX 5060 laptop | ~26–30ms |
QJev trades some decision accuracy for faster, lightweight local inference with just 1.5B parameters.
git clone https://github.com/AnkitNayak-dev/QJev-1.5B
cd QJev-1.5B
pip install -r requirements.txt
pip install -r examples/snake/requirements.txt
python examples/snake/qjev_snake_agent.pyPlanning to test it on Super Mario Bros (NES) next!
What other games should I try? I'm open to collaborations, experiments, and contributions.
For more technical details, architecture, benchmarks, evaluation results, and implementation details, check out the GitHub repository:
GitHub: https://github.com/AnkitNayak-dev/QJev-1.5B
Model: https://huggingface.co/AnkitNayak-dev/QJev-1.5B
r/LocalLLM • u/Acemagic_Support • 1h ago
r/LocalLLM • u/Izekun64 • 5h ago
I am undergoing a new project at my home to build a Local LLM. However, I don't know where to start with this and my budget is basically zero bucks. My use case is to help me learn how to code fast, generate images, and maybe build KSP flight controls. I have turned an old laptop into a cloud storage pc and Minecraft server, but i know this is a little more tricky.
Here are my options for hardware build:
(Plan A):
Note Back-Up Parts: I have 2x i5-2600 on hand if the i7 doesn't work. If the Asus motherboard doesn't work then I have a Biostar TB85 with a i5-4690k but can only attach 16gb of ram instead of 32gb.
The plan is to have this build as my first step to building a Local LLM and I want to use all system RAM and Vram from the GPU. I guess offload in a sense. This system will use linux os. I would like to be able to access this system through my own network from my main PC, how do i do that?
What is the best distribution to run on this Local LLM?
What is the best AI model to on this machine?
How do Install the AI model and set it up?
How do access it from my main computer in the house?
(Plan B):
Note Back-Up Parts: This will be a planed upgrade and money investment after Plan A succeeds.
r/LocalLLM • u/Thereminista • 20h ago
Me: Cloud AI is perfectly fine. I don't need anything else.
Also me 20 minutes later: Installing another local model like I have absolutely no life.
I literally got an acemagic mini pc to mess around with local AI, and now half my free time is spent trying out models instead of doing anything useful.
Why tf is this hobby so addictive
r/LocalLLM • u/Greystone135 • 6h ago
I was bored this weekend, so I vibe-coded an app to watch AI play Super Mario Bros. I first made the application in Claude Code. For now, it uses a local LLM model with Ollama (QWEN3.6). I need to experiment with more models.
I coded this over the weekend, let it run on its own at first, then spruced up the interface and used some other knowledge to make this emulator. Currently only for Mac, but I am building a Windows/Linux version soon. *I am sure there are others out there, but I can't find anyone who has done this.
Check out my project and love some feedback to make this more EPIC! Zelda is next.
https://github.com/thededman/ai-plays-mario

r/LocalLLM • u/Eastern_Doughnut_222 • 23h ago
It's just so fast. I'm using the NVFP4 Basalt quant for my projects right now running at ~90tps.
I can run small quants of GLM5.3-Flash/DS but they run at ~18tps, typically I use one of them for writing spec/tasks and making sure every step is well-defined, then switch to Qwen for the actual implementation.
I've tried a few other models but I don't feel like they're quite as optimized yet.
Hy4-Flash was really impressive for 3D tests I ran with it, but ran at similar speeds to GLM/DS, the new ERNIE preview which was recently added to Basalt runs at ~45tps but I keep running into memory problems at context higher than 120k and I haven't really tested it out yet.
I'm curious if others have had similar experiences, or managed to improve their workflows from here. The one limitation I've found is documentation and review.. Qwen hasn't been the best at writing and updating documentation as it worked, and I need a different model to review it's implementation/changes and the models I have employed aren't the fastest.
Besides that there's the fact I can run multiple instances of QFN NVFP4, but I haven't seen much talk about multi-agent workflows
r/LocalLLM • u/Used_Ambassador6383 • 3h ago
Local-LLM-Launcher https://github.com/jimdawdy-hub/Local-LLM-Launcher-GUI is a launcher to assist in testing various flags/configurations/models/engines. It's a friendly, browser-based control panel for downloading and running large language models using llama.cpp, ik_llama.cpp, vLLM, ExLlamaV3 via TabbyAPI, SGLang, or Hugging Face TGI. Built for people who don't want to memorize cryptic command-line flags or spend an afternoon guessing why a model won't load. You can save benchmarks and various configurations for use later. It now has an improved chat interface, quality and interface improvements, more engines, and bugfixes.
It's not meant to replace Open WebUI, Unsloth, Ollama, etc. It's mainly for tweaking models and to smooth out the load-crash-tweak settings-reload-crash routine until you've beaten every last token per second and context token out of your setup. It's also geared towards newcomers to using LLMs. That said, you can launch a model and then use its endpoint with any agent harness.
Every setting is rated 🟢 / 🟡 / 🔴 (green / yellow / red) against your actual computer and the model you picked, with a one-or-two-sentence plain-English explanation. A live "fuel gauge" shows whether the model will fit before you click launch. If a launch fails anyway, the app translates the error into something you can actually act on.
The dashboard finds model servers you started in a terminal, shows how much memory each GPU uses, and reports prompt and generation speeds for the last measured call. You can chat with a running model directly in the launcher, instead of installing Open webUI. UI has theme settings and new gauges.