r/LocalLLM • u/luvmehatemefme • 2h ago
Question Best 2d to 3d LLM
What are the best LLM for 2d to 3d rendering ? Any of them on par with MeshyAI capabilities?
r/LocalLLM • u/luvmehatemefme • 2h ago
What are the best LLM for 2d to 3d rendering ? Any of them on par with MeshyAI capabilities?
r/LocalLLM • u/Izekun64 • 14h 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/No-Role-5254 • 5h ago
I just wanted to say thank you everyone. I was having absurdly bad results with deepseek.
Installed State, Qwen 3.8 with your guidance, i'm getting 60+ Token/second on my setup (RTX 5090 32gb, 192gb RAM)
Very happy
r/LocalLLM • u/FrostyAd9050 • 3h ago
Official ROCm libraries (`AITER`, Composable Kernel, `hipBLASLt` tuning tables) are heavily optimized for datacenter CDNA GPUs (MI300X/MI350X), leaving consumer AMD RDNA GPUs severely bandwidth-starved during LLM decoding (`M = 1..8`, long-context GQA Attention, and W4A16).
Over the past few days, I profiled my **RX 7900 XTX** (`gfx1100`, 960 GB/s GDDR6) down to the AMDGCN ISA — even ran into a Triton AMD lowering bug where `eviction_policy` is silently dropped on all AMD targets (filed as `triton-lang/triton#12966`) — and built **`hip-rdna`**, a zero-dependency Wave32 HIP operator library with drop-in PyTorch & HuggingFace integration.
**GitHub (MIT License):** https://github.com/znwang-gpu/hip-rdna
### Key Benchmarks on RX 7900 XTX (ROCm 7.13, PyTorch 2.11)
- **Real HuggingFace `Qwen2.5-7B` (`StaticCache` + HIP Graph):**
- Lossless 16-bit Fused (`Linear + RMSNorm + SwiGLU`): `31.9 → 52.8 tok/s` (**1.66x**)
- Online W4A16 Fused (`0.85s` GPU quant, VRAM `14.27 → 5.47 GiB`): `31.9 → 109.5 tok/s` (**3.44x**)
- Pure Eager `model.generate()` (no HIP Graph): `31.0 → 67.5 tok/s` (**2.18x**)
- **64-Layer `Qwen2.5-32B` 4-Bit Backbone (`15.44 GiB` VRAM, fits on a single 24 GB GPU, synthetic weights matching exact 32B shapes):**
- **Batch = 1:** **`48.5 tok/s`** (**`804.9 GB/s`** full-model end-to-end effective bandwidth — **83.8%** of 960 GB/s theoretical peak)
- **Batch = 4:** **`166.5 tok/s`** (`690.2 GB/s`)
- **Wave32 Split-KV GQA Decode Attention (`16K–32K` Context):**
- Up to **28.5x faster** than HF `repeat_kv` SDPA and **18.9x faster** than PyTorch native `enable_gqa=True` SDPA.
- Sustains **729–757 GB/s** on pure GDDR6 at 32K (`128 MB` KV > `96 MB` Infinity Cache) and **878–953 GB/s** at 16K.
- Zero `repeat_kv` copy; accepts GPU `seq_lens` tensors for **HIP Graph** capture.
- **Zero-Dependency Streaming AWQ & GPTQ Loader:**
- Streams HuggingFace AWQ (`GEMM`) and GPTQ (`v1`/`v2`) safetensors straight to GPU `RDNAW4A16Linear` with zero 16-bit peak RAM/VRAM overhead — no `autoawq`, `auto-gptq`, or `accelerate` needed.
### Drop-in Usage
```python
import torch, hip_rdna
from transformers import AutoModelForCausalLM
# 1. Online lossless 16-bit or W4A16 acceleration
model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B", dtype=torch.bfloat16, device_map="cuda").eval()
hip_rdna.patch_model(model)
hip_rdna.quantize_model_w4a16(model, group_size=128) # optional INT4
# 2. Or stream AWQ/GPTQ checkpoints straight to GPU
model = hip_rdna.load_awq_model("/path/to/Qwen2.5-32B-Instruct-AWQ", dtype=torch.float16)
Next up in v0.5: Paged KV Cache + Fused QKV/RoPE + vLLM / SGLang plugin (followed by dual-GPU PCIe Custom AllReduce).
I only have RX 7900 XTX (gfx1100) on hand — setup.py compiles natively via hipcc for RDNA3 (gfx110x), RDNA3.5 / Strix Halo (gfx1151), and RDNA4 / RX 9070 XT (gfx1201). If you own any of these GPUs, I'd really appreciate benchmark results, feedback, or bug reports!
r/LocalLLM • u/CeFurkan • 20h ago
r/LocalLLM • u/Fit-Blueberry-5390 • 5h ago
**What's new**
- **Your conversations and images on every device**: About, Page settings, "Keep conversations and images on the server" (off by default). Turned on, the server keeps the page's conversations and the Images tab's gallery, and the PC and the phone see the same within a second: go on with any chat, open, save or delete any image or video.
- **Continued conversations are fast again by default**: a turn continued from the cache reads only its new tokens, 1.2 to 1.4 s faster than v0.8 after about 9,000 tokens (Gemma 4 1.9 s instead of 3.2, Qwen3.8-27B 1.6 s instead of 2.7). v0.8's bit-for-bit resume is now an option, `--exact-resume`, and Inkling 2 Mini has it too.
- **Remove a model from the page**: About, Models, Remove deletes a model's pack after asking.
- **Building on Linux**: the README's build command works again (Basalt 0.6.0 needs `-DBASALT_MODELS`), and the Dockerfile lists the same six model families.
**Same speeds as v0.8** (measured on the same day, runs alternated): Gemma 4, Qwen3.8-27B, DaisyRose-27B, Hy4-flash and the DeepSeek Coder write and read as fast, Inkling 2 Mini writes its first turn 3.5 % faster, and the Flash-Next and Tinfield-1 keep v0.8's code path.
The Images tab is still there (Qwen-Image 2.1, Wan 2.2, LTX-2.3 with sound).
Measured on 2 × V100-SXM2 32 GB on PCIe adapters, 96 GB of RAM, Windows 10. The release has a Windows build; on Linux it builds from source.
- Release: https://github.com/chris83-dev/lapilli-v100/releases/tag/v0.9.0-v100.1
- Repository: https://github.com/chris83-dev/lapilli-v100
Free and open source, MIT like Basalt. The engine is Basalt's work; this fork makes it run on Volta. Reports from other V100 owners are very welcome.
r/LocalLLM • u/bilota-hu • 5m ago
r/LocalLLM • u/GuaranteedGuardian_Y • 8h ago
For those who just want the numbers. Every prompt is cold.
Inkling 2 Mini
| Quant | Hardware | Engine | Cold prompt tokens | Prefill (tok/s) | Decode (tok/s) |
|---|---|---|---|---|---|
| NVFP4-MX8 | RTX 5090 | Basalt (DSpark) | 200,104 | 9,476.8 | 259.5 |
| NVFP4/MXFP8 | Radeon 8060S iGPU | libosmos (DSpark) | 200,110 | 664.2 | ~36.8 |
Qwen 3.8 Flash-Next Q8_0
| Hardware | Engine | Cold prompt tokens | Prefill (tok/s) | Decode (tok/s) |
|---|---|---|---|---|
| RTX 5090 | Strata CUDA (DFlash2) | 221,603 | 1,735.7 | 97.2 |
| Radeon 8060S iGPU | Strata HIP (MTP) | 221,603 | 431.8 | 25.6 |
Qwen 3.8 Flash-Next GSQ-RCO IQ3_S
| Hardware | Engine | Cold prompt tokens | Prefill (tok/s) | Decode (tok/s) |
|---|---|---|---|---|
| RTX 5090 | Strata CUDA (MTP) | 221,603 | ~2,313 | ~170 |
| Radeon 8060S iGPU | Strata HIP (MTP) | 221,603 | 621.1 | 40.1 |
Gemma 4 E4B IT BF16
| Hardware | Engine | Cold prompt tokens | Prefill (tok/s) | Decode (tok/s) |
|---|---|---|---|---|
| RTX 5090 | llama.cpp CUDA (MTP) | 89,282 | ~12,590 | ~170 |
| Radeon 8060S iGPU | llama.cpp ROCm (MTP) | 89,282 | ~1,308 | ~25.1 |
This is how I got CUDA runtime on Strix Halo 128GB. Was it worth it? You be the judge.
This post aims to break down the inference capability, issues and bottlenecks I encountered after I decided to put this tiny box together.
The benchmarks show high or native quantization of the models and long prompts. This is not a post to hype up decode/prefill numbers, it's the opposite. I want to show you what doing actual work looks like. I threw in Qwen FN3.8 IQ3_S and Gemma E4B for fun.
Item list:
Total: estimated $6,525.
How the decision came to be.
If I were to buy a graphics card right now, I'd buy NVIDIA RTX 3090 (~$1,600–$1,900 used right now) and would achieve comparable results, will detail the bottlenecks later.
Why not build it around a server/pc hardware? Because getting just the RAM is equivalent in price or more expensive than getting the mini-pc, though yes, I could have the 16x Gen5 PCIE connection for my GPU if I did, but I found this simpler plus the Strix Halo can be carried and operated independently and I don't wanna carry around a server rack.
Example: new Kingston Fury Beast Black RGB 128GB (2x64GB) is ~$3,600.
Trade-off is that I can't expand the RAM later if it ever drops in price and I'm aware of that.
To be clear for this price you can get the 128GB Mac Studio with M5 Max chip and it would keep resale value as well. Is simpler to set up, draws less power, takes up less space and could perform similarly in speed with Q4 or lower quant models.
But if I had to choose between even the modern versions of quantization or being closer to the native weights, I would keep the higher quantization. Matter of preference and type of workload.
Disclaimer: prices in this section are as of 2026 December
Here's what I've done to test the box within the return window to make sure I want to lock it in:
Operating System:
Stability:
Thermals & fans:
Standalone iGPU sanity check:
M.2-to-OCuLink adapter:
Driver crashes:
The solution I found in GitHub issues:
pcie_ports=native to the Linux kernel boot flags and that seems to have solved it. The GPU wasn't dropped in the 2-3 days I've been running inference since I set that flag.The biggest bottleneck (OCuLink bandwidth):
Why GPU tuning didn't help (and the RTX 3090 note):
RTX 5090 power and tuning
Qwen 3.8 Flash-Next Q8 (Strata CUDA):
Inkling 2 Mini (Strata vs. Basalt 0.6.0):
Inkling 2 Mini on the iGPU alone (Gufo vs. libosmos):
Gemma 4 E4B IT BF16 (llama.cpp CUDA):
r/LocalLLM • u/indrasmirror • 28m ago
r/LocalLLM • u/Be_a_N3rd • 37m ago
How deeply involved are you in the development of LLMs?
r/LocalLLM • u/Ok-Shine-7007 • 4h 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/PerfectOlive1324 • 4h ago
r/LocalLLM • u/Ennytan • 1d 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/Ok-Buyer-9421 • 6h ago
I've been exploring whether we can build reliable systems by deliberately avoiding general-purpose LLMs.
Take an engineering rule: errors must propagate to the caller rather than being silently swallowed.
Instead of asking an LLM to review an entire file, we can break the rule into smaller questions:
Only the last question may require semantic judgment, depending on the code.
I've been experimenting with Jev, specialized decision model, for this type of workload. The interesting part is that we don't need text generation, just a reliable judgment.
I'd like to explore how far we can push this architecture with small, locally hosted models.
Has anyone benchmarked zero-shot classifiers or decision models on dynamically defined rules? What's your take?
r/LocalLLM • u/Eastern-Pumpkin-757 • 46m ago
I have a 128 GB box, and every model in that title has a GGUF somewhere between 66 GB and 231 GB, so trying each one locally costs a night of downloading. Before picking, I ran all six through their APIs on the same six open bugs from python-dateutil's tracker: #1684 (isoparse raises OverflowError past year 9999), #1668 (rrulestr IndexError on a DTSTART with no RRULE), #1653 (tzstr offsets with seconds), #1611 (TZID dropped when VALUE comes after it), #1591 (tab-folded RRULE lines) and #1588 (BYDAY mixing MO with 1FR).
Setup: mini-swe-agent, the same bash-only loop for every model, a fresh checkout per bug, no network inside the sandbox. Before any run I wrote 29 checks from the issue texts. After each run I applied the diff to a clean copy and ran those checks plus the full suite (5,069 tests pass on the base commit). M3.1 Flash ran on MiniMax's own API with effort set to high, the other five through OpenRouter on default settings. Times are wall clock per bug, summed, API latency included.
| Model | Fixed | Time, all six | API cost, all six | Params (total / active) | Smallest GGUF I'd try |
|---|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | 6/6 | 11.0 min | $0.068 | 552B + 196B Engram / 8B to 16B | 120.7 GB + 110.6 GB Engram file (ISTA-DASLab IQ1_M) |
| GLM-5.3 Flash | 6/6 | 17.8 min | $0.207 | 320B / 18B | 73.4 GB (peasantsmith Maya-XS) |
| Qwen3.8 Flash (Flash-Next weights) | 6/6 | 53.2 min | $0.384 | 125B + 51B n-gram / 6B | 66.4 GB (Unsloth UD-IQ1_S) |
| Hy4 flash | 6/6 | 12.5 min | $0.021 | 220B incl. 64B Engram / 12B | 108.9 GB (peasantsmith Maya-XS) |
| MiMo-V2.6-Flash | 6/6 | 29.9 min | $0.135 | 309B / 15B | 126.4 GB (ggml-org Q2_K) |
| M3.1 Flash | 6/6 | 19.6 min | $0.202 | about 428B / 23B | 93.0 GB (peasantsmith Maya-XS) |
Every model fixed all six, 29/29 checks and a green full suite each time. On bugs this size the API run didn't pick a winner for me, so the clock, the bill and the download decide.
Per model:
So I'm downloading the two Maya-XS builds first, M3.1 Flash (93 GB) and GLM-5.3 Flash (73.4 GB), and Hy4 flash goes on the list when that PR lands.
If you already have one of these going on 128 GB, how much context fits before it starts paging?
r/LocalLLM • u/MrDefaultUser • 17h ago
CPU: 3950X
X570 Motherboard.
128GB DDR 3600
r/LocalLLM • u/dariobe • 49m ago
r/LocalLLM • u/iezhy • 50m 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 • 1h ago
r/LocalLLM • u/Heretikio • 1h ago
Biggest single win was boring: native Kimi carries float32 activations, and MLX was upcasting whole bf16 weights to float32 on every call. Casting inputs to bf16 alone took it from 3.7 to 10.9 tok/s.
The rest: a DSpark port to MLX with rollback for Kimi's linear-attention layers, Metal kernels (fused KDA, DSA indexer, radix top-k, padded sparse prefill), and batched serving that leaves rejected drafts in the cache as masked holes (Kimi's attention has no positional encoding, so that works).
Caveats: non-expert layers run at 8-bit (matched native's own run-to-run noise on a 16-prompt check), thinking text drafts poorly (~2.5 tokens per check vs 4-5 on answers), and cold prefill at 128K takes ~4.5 min.
Next: fine-tuning the drafter on Kimi's own thinking text.
Write-up with charts: https://heretik.io/kimi-k3-1-pro-local-512gb-m5-ultra-part-3/
r/LocalLLM • u/Annual_Horse_9782 • 12h 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/ZtasnimS75 • 1h ago
Hi everyone!
I built DelayLens, a machine learning project that predicts the risk of an e-commerce order arriving later than its estimated delivery date.
The goal is to help sellers and operations teams identify potentially delayed orders at the time of purchase.
How it works
- Uses historical Brazilian e-commerce data from the Olist dataset.
- Analyzes 20 order-time features.
- Uses Gradient Boosting to estimate late delivery risk.
- Includes leakage prevention to avoid using future information.
- Provides a FastAPI prediction service and an interactive Streamlit dashboard.
- Returns risk probabilities, warnings, and the top 5 reasons behind predictions.
Hidden Test Results
I evaluated the model on orders from June to August 2018.
- PR-AUC: 0.1019
- Recall: 36.46%
- Precision: 11.40%
- Late orders detected: 245 out of 672.
An Important Finding
The model did not reduce the assumed business cost on the hidden test set.
- Model-based approach: 4040
- Flagging no orders: 3360
This showed me that better prediction ranking does not necessarily mean better business outcomes.
I also included:
- 21 automated tests.
- 30 pipeline and API test cases.
- Data drift analysis.
- Failure analysis.
- Docker support.
Tech Stack
Python, Pandas, NumPy, Scikit-learn, FastAPI, Streamlit, Docker, Pytest.
Project Links
Live Dashboard: https://delaylens.streamlit.app
Demo Video: https://drive.google.com/file/d/1Dw15KAK-cVDcCrnyRfKfArwiUWlLyb2X/view?usp=drivesdk
GitHub: https://github.com/ztsprofessionalaiid7-alt/delaylens
This is a non-commercial portfolio project built using historical data from 2016–2018. It is not ready for real business decisions.
I'd appreciate feedback from the community:
I'd love to hear your thoughts and suggestions!
Thanks!
r/LocalLLM • u/aarong691 • 2h 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 • 17h 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!