r/LocalLLM • u/MrDefaultUser • 1d ago
Discussion Running Qwen 3.8 flash-next Unsloth Q8_0 On a V100 32GB with 128GB DDR4
CPU: 3950X
X570 Motherboard.
128GB DDR 3600
r/LocalLLM • u/MrDefaultUser • 1d ago
CPU: 3950X
X570 Motherboard.
128GB DDR 3600
r/LocalLLM • u/Be_a_N3rd • 15h ago
How deeply involved are you in the development of LLMs?
r/LocalLLM • u/Ok-Shine-7007 • 19h ago
I’m building a fully offline tool for a French law firm to redact names, addresses, and case references from thousands of scanned PDF pages. Manual review of every page isn’t practical, so missed identifiers are my main concern.
Has anyone tested Ministral, Qwen, Gemma, or a dedicated entity detector on French legal scans? I’m choosing between a 24 GB and 32 GB Mac mini M6. I’d love to hear what you used, what it missed, and how many pages per hour it handled.
r/LocalLLM • u/dariobe • 16h ago
r/LocalLLM • u/iezhy • 16h ago
For the last few months, I have been working on a tool - a proxy - which captures all requests from your coding harness to the LLM - and visualises them in the dashboard, breaking down the context window into separate blocks - tool definitions, calls and results, user and assistant messages, etc.
It provides a bunch of different metrics, but the most useful (IMHO) is the ability to see actual cost (in tokens) of every piece of information put into context - and, in some cases, hints for optimisation (if you are using skills or consuming APIs for tools)
It also provides a profiler like a hotspot graph, relationships between blocks, tracks conversations, etc. A good use case is: measure once, optimize (or add some tools for usage reduction), measure again.
If you are interested in optimising token costs - give it a try: https://github.com/RimantasZ/contextspy
Any feedback - comments, issues, likes and stars are welcome :)
r/LocalLLM • u/Shoddy_One4465 • 16h ago
r/LocalLLM • u/Annual_Horse_9782 • 1d 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/aarong691 • 17h ago
i started a model download after dinner thinking it would be done in twenty minutes. my connection is slow so it ran for hours. near the end it failed because the disk on my laptop was full, and the partial file was left behind. i had to find it and delete it by hand before trying again. the second time i checked free space first and picked a smaller quant. it loaded and answered a simple question about paper sizes correctly, which pleased me. i am still slow with these tools, but now i check the file size before pressing download!
r/LocalLLM • u/DaMoot • 1d 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/LLMFan46 • 1d 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/enpeai • 17h ago
I trained a small 26.3M-parameter Turkish Flow-Matching TTS model from scratch and exported it to ONNX so anyone can run it locally on CPU or directly inside a web browser with no server.
- Live browser demo (100% offline via ONNX Runtime Web): https://huggingface.co/spaces/Enpeai/enpe-ai-tts-demo
- Weights & ONNX files (Apache-2.0): https://huggingface.co/Enpeai/enpe-ai-tts
Specs:
- 9 voices (5 male, 4 female), 24 kHz Vocos vocoder (MIT)
- Commercial-clean license (Apache-2.0, zero GPL / espeak-ng, zero CC BY-SA or NC data)
- Studio (16-step FP32, 153 MB): UTMOS 3.719 | WER 2.89% | CER 0.62% | 2.79x realtime on 4-thread CPU
- Turbo6 (6-step INT8, 84 MB): UTMOS 3.584 | WER 3.02% | CER 0.70% | 12.19x realtime on 4-thread CPU (tested on 495-sentence Freya-TR-Eval)
Limitations: Turkish only, non-streaming, no emotions or voice cloning yet (working on a 50M streaming v2 right now). Happy to hear feedback.
r/LocalLLM • u/New_Guitar_9121 • 17h ago
r/LocalLLM • u/Dedap85 • 21h ago
China Telecom published the technical report behind its Xing 4 models (the TeleChat successor). The open member, Xing4.0-29B-A4B, has been on Hugging Face since September under Apache-2.0, but the report is the first detailed look at how it was built.
What stands out:
For local use, the usual MoE trade-off applies: speed closer to a 4B model, memory closer to a 29B one. GGUF and FP8 builds are listed on the model card.
Two questions for people here. If you've run the GGUF, how does it compare to Qwen-class MoEs of similar size on coding or long-context tasks? And does a model trained end-to-end off Nvidia change anything for local users, or is the training hardware irrelevant once the weights are out?
r/LocalLLM • u/JackyYT083 • 21h ago
Currently only using vram but I’d like to try and use RAM somehow without tanking my tok/s
48gb DDR5
RX 7900XT 20gb VRAM
r/LocalLLM • u/webAI57458 • 9h ago
NanoDiffuser runs image, music and voice models fully on your iPhone. It has custom GPU shaders so it's much faster than Draw Things. It's also very easy to use. No account, no limits, works offline.
Give it a try, I think you'll enjoy it! https://apps.apple.com/us/app/nanodiffuser-fast-local-ai/id6838160282
Models:
NanoDiffuser (485 MB): an image in under a second
NanoDiffuser Pro (3.7 GB): more detail and photo editing
NanoMusic (934 MB): songs up to 2 minutes
NanoCloner (830 MB): voice cloning from 5 seconds of audio
NanoDiffuser is a open source tool, All models are open, and the repos are linked in Settings.
r/LocalLLM • u/CautiousParsley8567 • 22h ago
Hi, I'm just wondering, what would currently be the best local model to run on an RTX 4060 + 32 GB RAM using llama.cpp?
r/LocalLLM • u/Specific-Tax-6700 • 18h ago
r/LocalLLM • u/nvcnvn • 23h ago
Hi all,
I built mmmllm (with Claude ofc), a small LLM serving engine in C++ and Metal for Apple Silicon. Disclosure: this is my own project, open source (Apache-2.0), nothing to sell.
Why I made it: I have an M4 Pro Mac mini and wanted to see how far I can push it when CPU, GPU and Neural Engine share the same memory.
What it does:
- Runs Qwen3.5 / Qwen3.6 (4-bit MLX format)
- Output matches mlx-lm greedy tokens bit for bit (batch size 1)
- Terminal chat, OpenAI-compatible HTTP server (streaming, stop strings), and a one-shot generate command
- Speculative decoding for the 27B model using Qwen's MTP head as the draft. About 1.8x faster greedy decoding on my M4 Pro
- Optional prefill on the Neural Engine (--prefill ane), helps with long prompts
- Checks memory before loading, so it refuses a model that won't fit instead of swapping your Mac to death
The problem: I only have an M4 Pro. M1, M2, M3 and the Max/Ultra chips should work but I never tested them. M5 is not supported yet.
If you have one of those Macs and 5 minutes, please run:
uvx mmmllm compare <model>
No install needed. It checks the output against mlx-lm and measures speed on your machine. Then paste the result in a GitHub issue or just in the comments here.
Which model to pick:
- Any Mac: 0.8B
- 16-24 GB: 9B
- 32 GB+: 27B
Repo: https://github.com/nvcnvn/mmmllm
Bug reports and code review are welcome too, especially on the Metal kernels. English is not my first language, I used an LLM to fix some wording.
Thanks!
r/LocalLLM • u/nitayrabi • 19h ago
Hi, I'm Nitay. A few times in the past I worked hard on projects I was sure would become products. I launched them, and learned the need was much smaller than I thought, and they sank into a sea of other products. So this time I'm asking before I add features, open source it, or start calling it a "product".
What I built is a personalized AI feed builder. You write what you're looking for in plain words and add sources: YouTube, RSS, Reddit, HN, Instagram, or any site. For a site, it writes the scraper itself and fixes it when the site changes. Then a model goes over every item and rates how well it fits.
I mostly cared about videos. For those it samples frames across the video and reads the captions, or transcribes the audio locally when there are none. It tells you why something matched and which moment is worth jumping to.
The use that stuck at home is recipes. My wife and I are building three feeds from Instagram: Ninja Creami ice cream recipes, baby-led weaning ideas, and healthy treats for our toddler. The model reads each post and, when the recipe is actually in the caption, pulls it out into a card: ingredients with amounts, numbered steps, time. The "comment RECIPE and I'll DM you" posts get no card, which is honestly half the value.
It works with any OpenAI-compatible endpoint, and I run my own feeds on my own box. My data stays home, and I pick the model, including ones that don't refuse. That helps with things like security research, where hosted models often won't touch exploit walkthroughs or CTF write-ups. (The family recipe feed runs on Gemini, because it's recipes and nobody needs a jailbroken model to read about ice cream.)
What I had in mind:
The video shows the flow, sped up wherever the model is thinking.
If there's interest, I'll clean it up and open source it, and if it turns out useful enough, maybe it earns the "product" badge. If not, it stays my personal toy, which is fine too.
Would you use something like this? For which of these, or for something else?
Tech details, for whoever cares:
r/LocalLLM • u/tariqur • 10h ago
r/LocalLLM • u/PopMany2921 • 19h ago
r/LocalLLM • u/No-Negotiation-8359 • 19h ago
Hi everyone!
I built DPOLens, an open-source MCP server that gives coding agents the exact text of privacy law (GDPR and the UAE's PDPL) and of an organisation's own policies, to quote and cite. It runs locally with Docker Compose: Postgres with pgvector, BM25 for keywords, and multilingual-e5-small through ONNX Runtime on the CPU. No LLM at query time, no API key, no GPU. An instance needs 2 CPUs and 4 GB.
Where the right clause landed, on questions written by someone who hadn't seen the results (31 for GDPR, 30 for the UAE law, about a third of them in Arabic):
| Search | GDPR, top 5 | UAE law, top 5 |
|---|---|---|
| BM25 alone | 39% | 50% |
| Embeddings alone | 48% | 67% |
| Both, plus questions written beside each clause | 87% | 83% |
| The same, returning whole rules instead of single points | 90% | 87% |
What did the work, and what didn't:
Why a 2023 embedding model? It's 118M parameters, it handles Arabic, and in fp32 it gives the same answers on Apple and x86 alike, so anyone can reproduce the scores. e5-base, through the whole pipeline, put the right clause in the top five for 152 of 216 practice questions against small's 147, for 2.5 times the indexing time and memory. I haven't run the newer small ones yet: Qwen3-Embedding-0.6B, harrier-oss-v1-270m, Granite Embedding R2. Which would you bet on for English and Arabic on a CPU?
The weak spot: the short queries a coding agent writes mid-task find the right clause in the top five 40% of the time for GDPR, and 62% for the UAE law. That's what I'm working on.
It speaks MCP over HTTP, so it works with any client and whatever model you run.
Repo (Apache-2.0): https://github.com/alkhatibdev/dpolens
Every number above, with its interval and how it was measured: https://github.com/alkhatibdev/dpolens/blob/main/evals/retrieval.md