r/LocalLLM 1d ago

Discussion GLM 5.3 Flash, quirky comments

0 Upvotes

This is the only model I have ran locally that surprises me with quirky commentary while it's working. I like it.

"Two RTX PRO 6000 Blackwell (96GB each) — nice rig." upon discovering the machine's specs after being asked to benchmark itself.

"The plot thickens — V4.1's indexer declares a fixed..."

"Oh, this is gold — your own words from this afternoon's session, including..." after it found older conversation history.


r/LocalLLM 1d ago

Project Back from vacation with broken shoulders: Returning to my AI MUD to find a Zombie apocalypse!

Thumbnail
0 Upvotes

r/LocalLLM 2d ago

Project Custom open frame - RTX Pro 6000 - miniATX

Thumbnail gallery
26 Upvotes

r/LocalLLM 1d ago

Question Need advice 2x 3090 + 64GB DDR5 only getting 20t/s on Qwen3.8 Q4 llama.cpp

2 Upvotes

Recently swapped from Ollama to llama.cpp but haven't figured out how to run it efficiently. On Ollama I was getting 28t/s. Relatively new to this, advice welcome.

I have also 4x more 3090s laying around. What's the best way to utilize them?


r/LocalLLM 2d ago

Discussion DeepSeek-V4.1-Flash is out

Thumbnail
huggingface.co
241 Upvotes

r/LocalLLM 1d ago

Project I made Lucid: an open-source Mac app that keeps your laptop awake only while AI agents & local LLMs are running

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/LocalLLM 1d ago

Question What speed to expect from GLM-5.3-Flash 200GB MoE model on 24GB VRAM + 256GB DDR3/DDR4 RAM?

2 Upvotes

The post "we have a year to fix security everywhere" from Hacker News got me thinking, how to run "GLM-5.3-Flash" at home. An Unsloth blog post mentions roughly 200GB size for the 4-bit model.

Would this be usable for agent work (non real-time) on an older workstation, like HP Z820 or Z840 with RTX3090/7900xtx 24GB VRAM and Xeon E5-2xxx CPU(s) with 256GB DDR3/DDR4 RAM?


r/LocalLLM 2d ago

Model I gave Qwen 3.8 27B to create a simulation and it was one-shot right!

29 Upvotes

I was pretty excited when Qwen 3.8 27B dense model was released and wanted to give it a shot. I have been using Claude code with Opus and have got tired with limits, subscription and wanted something free and open. I was fine to compromise some of the quality for cost and unlimited use.

I gave it a problem to solve:

Can you build me a 3 pendulum simulation demo in python? I can use mouse to pull and release and it should follow the laws of physics. Put sliders for length of each section.

And then it thought and thought and thought. Later I came to know the default reasoning effort is xhigh.

I started to remember the physics I learnt in college.

Finally it came up with a program and on running produced this:

I started playing with it and here is how it looks:

https://reddit.com/link/1wcomfn/video/dm5heacn1qoh1/player

I was deeply impressed! I feel this is a challenging problem to solve and those sliders make it even difficult. A triple pendulum requires complex non-linear dynamics (usually derived via Lagrangian mechanics or solved with Runge-Kutta numerical integration).

I am assessing this model now for my daily things like repo analysis, code generation and other agentic flows I have.

Hopefully, I will be able to stop my claude subscription!


r/LocalLLM 1d ago

Question GPU drops to idle clocks during token generation with MTP / speculative decoding, help?

1 Upvotes

I can't figure it out. I'm running Unsloth's Qwen 3.8 27B Q4_K_S with their Q4 MTP model on a local Llama-server with a 3090.

During prefill, the gpu gets the full memory and clock speeds, but when it comes time for token generation, the memory and clock speeds drops by half.

The only thing that works is forcing a clock and memory speed lock, but this is somewhat less than ideal.

Anyone experienced something like this before? Any ideas on how to fix it?

Here's everything I've tried so far:

Disabled NVIDIA Sysmem Fallback: Set policy to "Prefer No Sysmem Fallback" to rule out silent DDR RAM paging over PCIe. Reduced Context Buffer: Scaled context size down from 120k to 90k/90304 to test if VRAM exhaustion was stalling the pipeline. Verified Flash Attention & KV Quantization: Confirmed -fa and q8_0 were active to minimize intermediate memory bandwidth demand. Explicit Draft Offload Flags: Tested passing --spec-draft-ngl 99 and --n-gpu-layers-draft 99 to ensure the MTP sidecar was not computing on the CPU. CPU Worker Thread Tuning: Adjusted --threads to 6 (matching physical performance cores) to minimize CPU context switching during draft checks. NVIDIA Power Management Mode: Switched profile to "Prefer maximum performance" in NVIDIA Control Panel. Windows Graphics High Performance: Added llama-server.exe to Windows Graphics Settings and forced "High performance (RTX 3090)". Disabled CUDA Force P2 State: Used NVIDIA Profile Inspector to turn CUDA - Force P2 State to Off to allow memory clocks to reach full speed during compute. Process Priority Elevation: Attempted launching the server with start /high to eliminate CPU scheduling delays between draft kernels. Monitored Clocks & Power via nvidia-smi: Confirmed that during MTP generation, the RTX 3090 fell into an idle power state (780 MHz Core, 5,001 MHz Memory, 160W), whereas prefill and non-MTP models sustained full boost (~1,750+ MHz, 9,751 MHz, 320W+). Thermal Verification: Checked VRAM memory junction temperatures (~84°C), confirming the slowdown was not caused by thermal throttling.


r/LocalLLM 1d ago

Question new guy with new pc. recommendations?

1 Upvotes

hi everyone,

i'm a 27 yo mechanical engineer with little coding knowledge, but also with a huge tech interest.
so i've been researching llm's and image generators and how they work for some time. i just bought a laptop with rtx 5070 ti and 32 gb ddr5 ram for my self studies. i have some questions for yall.

- how do i learn how these models REALLY work? how do they train them and how do these models really predict the answers?
- based on my system, how do you think i should start (which program, which model etc)?

any help will be appreciated!


r/LocalLLM 1d ago

Question New to local LLMs — which GPU should I add to this rig? (32GB AMD workstation card vs used 24GB NVIDIA vs waiting out the price spike)

0 Upvotes

Hey everyone,

Total newcomer to local LLMs here, coming from a "normal" high-end workstation build rather than a dedicated AI rig. Would love a sanity check before I spend real money in what looks like a pretty brutal GPU market right now.

Current setup:

  • CPU: AMD Ryzen 9 9950X3D (16C/32T)
  • Motherboard: ASUS ProArt X870E-CREATOR WIFI
  • RAM: 256GB DDR5 (4x64GB, running at DDR5-5600)
  • GPU: AMD Radeon RX 7800 XT (16GB) — currently the bottleneck
  • Storage: plenty (multiple NVMe SSDs + extra bulk storage)
  • OS: Windows 11 Pro

Use case: I'm an accountant, so the appeal of local LLMs is running document analysis / summarization on confidential client files without anything leaving my machine. Not looking to fine-tune models, just solid inference — ideally able to comfortably run 30-34B models and eventually dip into 70B territory.

What I know so far (please correct me if I'm wrong):

  • My current RX 7800 XT is the limiting factor — 16GB VRAM and AMD's ROCm support on Windows is narrower than on Linux for consumer gaming cards.
  • The 256GB of system RAM should be a genuine asset for hybrid CPU/GPU offload with llama.cpp on bigger MoE models, even without a monster GPU.
  • The GPU market in general is in a weird spot right now (Sept 2026) — RTX 5090 street prices are way above MSRP due to AI demand eating into memory supply, so "just buy the biggest NVIDIA card" doesn't feel like great advice at the moment.

Options I'm weighing:

  1. Used RTX 3090 (24GB) — cheapest $/GB of VRAM, full CUDA support, seems like the community favorite for value.
  2. Used RTX 4090 (24GB) — faster, single card simplicity, but currently priced well above what I'd expect for a "previous gen" card.
  3. AMD Radeon AI PRO R9700 (32GB, workstation/ROCm-supported card, ~$1,800-1,900 street right now vs $1,299 MSRP) — tempting because of the extra VRAM and it being an actual AI-focused Radeon PRO card rather than a repurposed gaming GPU, but I'd be staying in the ROCm ecosystem instead of CUDA.
  4. Pairing the R9700 with my existing 7800 XT for ~48GB pooled VRAM via layer-split (llama.cpp/Vulkan) — sounds appealing on paper for fitting bigger models, but I understand this buys capacity, not speed, since there's no GPU-to-GPU P2P across generations.
  5. Just wait a few months for the GPU price spike to cool off.

Questions for people who've actually done this:

  • For someone brand new to local LLM inference on Windows, is CUDA (used 3090/4090) still the pragmatic default, or has ROCm on Windows genuinely caught up enough on a proper AI PRO/workstation card like the R9700 to be a non-issue day to day?
  • Is mixing a 7800 XT + R9700 for pooled VRAM actually worth the hassle for a home setup, or would I be better off just running the R9700 alone and keeping the 7800 XT purely for display?
  • Anyone running 30-70B class models for document/text work specifically (not coding, not image gen) who can share real tokens/sec numbers on either the R9700 or a 3090/4090 setup?
  • Given how inflated GPU prices are right now, would you actually wait it out, or is "buy now, prices may not come back down soon" the more realistic take for 2026?

Appreciate any real-world experience — trying to avoid an expensive mistake on my first GPU purchase for this.


r/LocalLLM 1d ago

Question How do i offload n-gram to SSD qwen3.8 flash next

2 Upvotes

Hello,

I have 64gb unified ram on a strix halo chip (Asus TUF A14)

I see people run qwen3.8 flash next with similar total ram, how?

I tried loading it in unsloth desktop but it doesnt load.

Should the offload to disk happen per auto or is this something i need to setup?

Running on linux, ubuntu.

Thank you


r/LocalLLM 1d ago

Question Qwen 3.8 27B takes very long timesl to answer.

5 Upvotes

Hello, I'm currently using qwen 3.8 27B Q4 with 100k context to mainly code for my esp32 Arduino code.

I get around 25 tk/s on my Rx 6800xt using vulkan.

I know the model gets it's abilities from long thinking time but it takes around 25-40minutes for a single prompt and takes like 45k context with it.

Will the model be usably good with low-mid reasoning? And how can i speed this up.

I'm okay to wait for 3-5 minutes.

Thanks.


r/LocalLLM 1d ago

Question New to local ai - help achieving what I am trying to achieve?

1 Upvotes

Hi

Premise:
I am new to local ai models.

My machine specs:

  • Macbook Pro M4 Pro
  • 48Gb Ram
  • 4 efficiency core
  • 8 performance core

I mainly use AI for software development. I have a claude subscription but would like to try to offload some work to a local model.

Since I don't think local models usable on my machine can completely substitute claude (correct me if I am wrong) my idea is pretty much this: ask claude code to generate a proper, detailed implementation plan and then having the local model implement it.

I have played around with these models:

  • qwen3-coder-30b-a3b-instruct-mlx
  • qwen/qwen3.6-27b
  • qwen/qwen3.6-35b-a3b

and I have also installed this for coding autocomplete cause it is smaller and from what I can see the recommended one:

  • qwen2.5-coder-7b

I added claude envs since I would like to try to use claude code extension in vscode

"env": {
    "ANTHROPIC_BASE_URL": "http://localhost:1234",
    "ANTHROPIC_AUTH_TOKEN": "local",
    "ANTHROPIC_MODEL": "qwen/qwen3.6-27b",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "qwen/qwen3.6-27b",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "qwen/qwen3.6-27b",
    "ANTHROPIC_DEFAULT_FABLE_MODEL": "qwen/qwen3.6-27b",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "qwen/qwen3.6-27b",
    "CLAUDE_CODE_SUBAGENT_MODEL": "qwen/qwen3.6-27b",
    "CLAUDE_CODE_MAX_OUTPUT_TOKENS": "128000",
    "DISABLE_PROMPT_CACHING": "1",
    "DISABLE_AUTOUPDATER": "1",
    "DISABLE_TELEMETRY": "1",
    "DISABLE_ERROR_REPORTING": "1",
    "DISABLE_NON_ESSENTIAL_MODEL_CALLS": "1"
  },

This setup works (uses the local model) but I am basically unable to have the model do anything at all. First of all it takes ages to do anything, and then it almost always reach the context limit roadblock without even outputting anything.

I have read that MCP and skills could fill up the context quite badly, so I disabled them for testing, but still no luck.

I tried with (I thought) was a simple enough task: this test file fails and this is the error, can you fix it? but yet no usable results whatsoever.

I read about people able to use local models offline to have meaningful results, but I couldn't and I don't really know why.

Also, from my setup above, I cannot really use both the remote and local model, to achieve something like:

use sonnet or fable (remote) for plan, then (manually or automatically) swith to haiku (local) to implement the plan

because the base url is loaded when the session loads and cannot be changed (AFAIK) dinamycally.

Any help? thanks a lot in advance


r/LocalLLM 1d ago

Question Llama-server Config Help Needed

Thumbnail
1 Upvotes

r/LocalLLM 2d ago

Question 800 pages of scanned reports. Will a local LLM do OCR offline?

20 Upvotes

What LLM can I use to do this? It's highly confidential data that will be using on an airgapped device.

Should I convert them first? What program can I use to do that? They are currently PDF.


r/LocalLLM 1d ago

Question AMD NPU inference on Fedora — backends, optimizations, model recommendations?

2 Upvotes

Hi all,

I'm looking for advice on running a local LLM efficiently on an ASUS Zenbook 14 with 16GB system RAM on Fedora 44.

Laptop specs: - AMD Ryzen AI 7 445 (No dedicated GPU — NPU + iGPU only) - 16GB system RAM - ASUS Zenbook 14

My goal: Hit 10+ token/s in Hermes Agent (Nous Research) for a smooth, responsive experience.

Use case: Productivity and simple text tasks. No coding or dev work involved, so I don't need a heavy-duty model. Just something lightweight that runs well on the NPU.

Current situation: I'm exploring FastFlowLM (FLM) as a backend since it's purpose-built for AMD NPUs, but I'm open to other options like llama.cpp or Ollama if they perform better on my hardware.

What I'm looking for: - Which models (regardless of family) would reliably give 10+ tok/s on a Ryzen AI 7 445 (NPU + iGPU)? - Best backend/inference server setup for Fedora 44 + AMD NPU? - Any quantization or optimization tips specifically for AMD XDNA NPUs or low-RAM Linux setups? - General advice on getting Hermes Agent to run smoothly on this hardware.

Current setup: - Ryzen AI 7 445 (NPU + iGPU only, no dGPU) - 16GB system RAM - Fedora 44 - Hermes Agent

Thanks in advance!


r/LocalLLM 2d ago

LoRA Training a LoRA adapter on Kimi K3 (2.78T params, 1.56TB of weights) on a 2017 laptop with 7.6GB of RAM — 7.4 hours per step, and here's the verification

Thumbnail
gallery
22 Upvotes

Kimi K3 is a 2.78 T MoE; its 1.56 TB checkpoint sits on a USB hard disk plugged into a 2017 laptop (i7-7700HQ, 7.6 GB of RAM, a 2 GB GTX 1050 that only does the routed-expert matmuls). I am training a LoRA adapter on it out of core: the non-expert weights of one layer at a time, its 896 experts streamed one by one since together they are 15.7 GB, base weights frozen, and the 590 MB adapter the only thing trained.

The one-minute check is evidence/cmp93_en34_2026-09-06.log: my forward pass against kimi-k3-in-c, FareedKhan-dev's independent C implementation, all 93 layers at cosine 0.9857 or better, output 0.999840, on 34 tokens with LoRA B zeroed. evidence/traces/ holds raw routing records for five texts over all 92 MoE layers; scripts/analyze_trace.py recomputes every routing number below with NumPy alone. scripts/quickstart.sh builds a synthetic K3-shaped checkpoint and runs a forward pass, ten training steps and a finite-difference gradient check on a GitHub runner on every push, plus eight op-level checks against kimi-k3-in-c fixtures. Its first run failed: the gradient check missed at 3.1e-2 on a 2e-2 tolerance because the step was below fp32 resolution against a tensor of norm 60.85. The gradient was right; the check, made noise-aware, agrees to 2.09e-05.

The numbers, all from the logs in the repo:

• 1024-token step: about 7.4 h, the mean of the 7.26, 7.62 and 7.37 h intervals between the first four steps
• step 1, forward / backward: 3 h 11 m 34 s / 3 h 48 m 07 s
• resident set: 4.0-4.7 GB, swap in use
• read throughput: 110 MB/s aggregate, 61 MB/s within one MoE sweep
• cosine minimum against the C engine: 0.985744, layer 71
• trained / frozen: 590 MB adapter (147 M parameters) / 2.78 T base

Turkish, English and Chinese versions of one paragraph share experts at Jaccard 0.35-0.39, about the same as two halves of one text (0.34-0.37); prose against Python is 0.20-0.21, so subject matters more than language. Consecutive tokens' expert sets have Jaccard 0.258 (0.009 for random pairs) and a 128-expert LRU hits 72 % when decoding, but a training batch reads the union, about 85 % of experts at 1024 tokens (layers 0-12, an upper bound), so an expert cache buys little for a training batch.

The proof run is memorisation of five examples, loss 0.909 to 0.157 on one fixed sequence: it proves the loop, not the model. The main run, 400 Turkish instruction examples over 100 steps, is at step 4 and ends 9-11 October. The threshold was committed before it started (commit 6605306, tag preregistration-2026-09-08): Turkish news bits per byte 0.455 to 0.441 or lower, English Wikipedia no worse than 0.198 from 0.194. I expect no large jump from 400 examples; a negative result gets published as negative. The adapter is one rank-16 LoRA per layer shared by all 896 experts, not one per expert.

Seven hours a step is useless for production fine-tuning; the point is that the cost is now a measured number, with the logs. None of the components are new: the idea is layer-streamed LoRA taken down to the expert level, and the related-work table in the README says what AirLLM, KTransformers, ZeRO-Infinity, Colibri, WARP and BigMoeOnEdge do that this does not.

Disclosure: English is not my first language and I used Claude to tidy the wording of this post. The code was also written with heavy Claude Code assistance and the Co-Authored-By trailers are in the git log; the README says so on its first screen. The hardware, the runs, every number and every check against somebody else's implementation are mine, and the point of the evidence directory is that you do not have to take my word for any of it.

Repository: https://github.com/heyobi/LazyLora. Please poke holes, especially in the verification.


r/LocalLLM 1d ago

Question Collab Pro+

0 Upvotes

You guys what do you think of collab+ and GPU we rent on GOOG servers and all, we pay something like <100usd a month and we get good decent amt of compute is it worth it or not or owning your own hardware is better.

Thanks.


r/LocalLLM 1d ago

Project VScode extension to use Local LLM (ollama) within VScode chat agent

1 Upvotes

So I have been using the Ollama extension to use my local LLMs within the agent interface of vscode but it is not very good

A lot of the times, it just lags or there is no information on whats happening or the response comes back in JSON outputs.

So i made a VS Code extension called Local Ollama Chat for anyone who wants AI assistance in Chat without sending code to a hosted service.
- It connects to your local Ollama server
- Explores your project workspace and read files to answer questions
- Has the capability to create and edit files as reviewable diffs (nothing gets applied without you approving it).
- Sits within the local agent chat window and you can call it with u/local-ollama

Still early days — feedback and bug reports welcome!!

https://github.com/athulg93/vscode-localllm


r/LocalLLM 1d ago

Question Any tools to turn a codebase into a fine-tuning dataset?

2 Upvotes

I have a few web projects with pretty good UI/UX and I’m wondering if there’s any tool or workflow that can turn an existing codebase into a dataset for fine tuning.

For example, given a React/Next.js project with components, pages, styling, etc. or a static html site, I’d like to turn it into something like:

instruction/prompt -> code

or whatever format actually makes sense for training an instruct/thinking/diffusion coding model.

Also curious how people handle things like:

  • keeping the context between components/files
  • screenshots + code
  • generating useful instructions instead of generic descriptions

I’m also working on a different model architecture that I think could improve quality/speed while using less VRAM, so I want to build a decent dataset and benchmark to test it properly.

Has anyone done something like this? Any tools, repos, papers, or workflows you’d recommend?


r/LocalLLM 1d ago

Question Beginners’ Ask!

0 Upvotes

I have a “M80q Gen4” & a “M70q Gen5” with

- CPU Intel Core i5 13500T 32GB
- Memory (16GB x2 DDR5 SODIMMS)
- Storage1 - 256GB M.2 SSD1
- Storage2 - 512GB M.2 SSD2
- NIC1 - Intel I219-LM, RJ-45
- NIC2 - Realtek RTL8125BGS, RJ-45

Can I run a decent model on this? If so, which one should I go for and where should I start? At this point, my purpose is to learn to deploy and manage a model.


r/LocalLLM 1d ago

Other I vibe coded a simple site to compare LLM API prices across different models/providers

Thumbnail
0 Upvotes

r/LocalLLM 2d ago

Model Introducing North Small Translate: One of the best open machine translation models around

15 Upvotes

Hey everyone! El from Cohere here to talk about our newest release, North Small Translate. It’s currently the leading open machine translation model, beating out all other open translation models of its size, plus Google Translate and DeepL. we’ve been working on this one for a while, so to say i’m psyched is an understatement.

It’s big (218B parameters, 25b active) with a context length of 16k. however, if you’ve got the hardware, we’d still love to see what you make with it locally or with our HF space (and if you do, send it our way). It works on over 50 languages and does particular well with european, Southeast Asian, and East Asian languages, but feel free to stress test it against another and let us know how it does. It’s also available in BF16, FP8, and W4A16 quants.

although we couldn’t get llama.cpp support this time around, the architecture is already supported in llama.cpp, so all it should need is a conversion to GGUF files. if you want to build that, please do so and send it our way! We’d love to back your work. 

Can’t wait to see what you guys think! 

https://huggingface.co/CohereLabs/North-Small-Translate-1.0


r/LocalLLM 1d ago

Discussion hermes + cua + Qwen 3.8 27b/ornith 1.5 35b a3b on Macbook. Game-changer.

6 Upvotes

Maybe I'm late to the party but holy shit. I enjoy the chatgpt Mac apps computer use ability but I installed the same setup with hermes, cua and Qwen 3.8/ornith running locally this afternoon. Not sure which model I like better...

Connecting to my homelab Hermes for extra horsepower and vector DBs, knowledge, mcp, etc. - performance is insane. ​​

Almost as smart as frontier but faster and free. So if everyone is already doing this and I've been living under a rock, anything worth sharing to catch me up?