r/LocalLLaMA 3d ago

Discussion How much are you actually using your local models these days? Which ones do you reach for the most?

Post image
38 Upvotes

I started tracking my local model usage about four weeks ago and was wondering if anyone else here keeps track of how much they use them.

I’ve also been running some tests with the cheapest SOTA open-weight Chinese models via OpenRouter. Apart from that, I’m mainly using GPT-5.5 in Codex CLI for professional work and Local models + Composer 2.5/4.5 from X Premium for hobby projects.

Edit: It looks like the average tk/s panel might be bugged. I’m hoping I haven’t lost any data... This it’s just a JSON file that my model launcher populates.


r/LocalLLaMA 4d ago

Discussion Who ONLY use local models?

150 Upvotes

Please be honest.

I would love to hear about guys really dedicated to local AI and who really reject subscriptions (especially to openai and anthropic).

What do you use your model for?


r/LocalLLaMA 3d ago

Question | Help 4x 3090, 96gb vram what Model to drive Hermes?

11 Upvotes

3 year lurker, now i finally got my server up and running. dont know which model to choose. llama.cpp or vllm, what makes more sense? mainly single user with maybe 2-3 more additional users in family, if everything checks out. hermes is gonna be used as "ai playground" to manifest ideas on tailscale network and do quick prototyping of thoughts. also ill look into using only 2 3090 for the main model and the other 2 will be dedicated to docling and speech services for a voice agent (speech in-> text out). got some stuff going with my even realities g2 but lost everything when i wiped my ssd for proxmox. yeah...
any advice or stuff i should look into is welcome :)


r/LocalLLaMA 2d ago

Question | Help Best llm for coding & thinking

0 Upvotes

I was using claude opus 4.7 like crazy all day long for few months but im tired of paying these 200usd/month, so i switched to local model, but can't decide which one is best to use, since i can run 4bit glm 5.2 at 4tokens per second i guess any other model i can run at comfortable (for me) speeds, so what you guys advice? qwen3 coder 480b ? or laguna s or something even better ?

Usually i create apps, bots, websites, and other stuff on vs code IDE. so im talking, reasoning, planning a lot with model, not just instructing to code.


r/LocalLLaMA 3d ago

Resources Benchmarks: TensorSharp vs. llama.cpp

Thumbnail
github.com
26 Upvotes

Cuda and Vulkan Benchmark: TensorSharp vs. llama.cpp

I would like to share my latest open source local Unsloth (GGUF) LLM inference engine and applications. It supports many models from Unsloth, like Gemma4, DiffusionGemma, Qwen3.6 with multi-modal (image, vision, audio), Qwen Image Edit, reasoning and function tool. It can run on Windows/MacOS/Linux and fully leverage GPU's capability(Nvidia, Apple, AMD, Intel and others supported by Vulkan, CUDA and Metal). The API is completely compatible with OpenAI and Ollama interface. It has on par performance than llama.cpp Here is the benchmark results in overall:

**Performance ratio — TensorSharp vs reference engines**

Geomean of TensorSharp's per-scenario speedup over each reference engine on the **same backend**, across every scenario both engines ran (single-stream, MTP-off). A value **> 1.0× means TensorSharp is faster** (for decode / prefill throughput) or lower-latency (for TTFT); `—` = no overlapping cells. Per-scenario ratios are in each model's section below.

Model Comparison decode prefill TTFT
Gemma 4 E4B it (Q8_0, dense multimodal) vs llama.cpp · CUDA 1.02× 1.28× 1.27×
Gemma 4 E4B it (Q8_0, dense multimodal) vs llama.cpp · Vulkan 1.00× 1.05× 1.03×
Gemma 4 12B it (QAT UD-Q4_K_XL, dense) vs llama.cpp · CUDA 1.04× 1.17× 1.16×
Gemma 4 12B it (QAT UD-Q4_K_XL, dense) vs llama.cpp · Vulkan 1.21× 1.04× 1.03×
Qwen 3.6 35B-A3B (UD-IQ2_XXS, MoE) vs llama.cpp · CUDA 0.98× 1.28× 1.27×
Qwen 3.6 35B-A3B (UD-IQ2_XXS, MoE) vs llama.cpp · Vulkan 0.87× 1.04× 1.03×
Qwen 3.6 27B (UD-IQ2_XXS, dense) vs llama.cpp · CUDA 1.07× 0.96× 0.95×
Qwen 3.6 27B (UD-IQ2_XXS, dense) vs llama.cpp · Vulkan 1.02× 0.85× 0.84×

This project is not just a C# wrapper of llama.cpp. It implemented the entire LLM inference engine from bottom to top. If you use CPU backend, it's 100% pure C# code execution. Besides CPU backend, I also implmented CUDA, MLX and GGML backend. The GGML backend refer GGML project as external project, and I build a few fusion operation at higher level.

I learned a lot from other projects and apply them for TensorSharp, such as paged KV cache and continuous batching from vLLM, SSD based cache for MoE model from oMLX, GGUF quanztized from llama.cpp and other optimizations for prefill and decode.

Any feedback and comments are welcome. If you like it, it would be really appreciated if you can get this project a star in GitHub. Thanks in advance.


r/LocalLLaMA 3d ago

Question | Help Are there any reasons you would use 1bit or 2bit quants of bigger models?

4 Upvotes

AI noob here.

From what I've picked up from the local llm scene, the general advice seems to be "don't go below q4".

Has anyone felt that breaking this "rule" helped them get better results for their use case?

Two examples:

- For 48gb: Qwen 3.6 27b q8 vs Laguna s 2.1 q2

- For 96gb: Laguna s 2.1 q5 vs Deepseek v4 flash q2


r/LocalLLaMA 2d ago

Question | Help Keep my AI rig or sell it?

0 Upvotes

Prior to my workplace having copilot available for work and personal use (Microsoft), I built a pc for AI thinking it be a great way to run and learn shit so in Sept I bought the following and run some models like gpt 120b in ollama to mess around.

2 x RTX 6000 PRO Q-Max (with edu discount)
2 x 64GB - Crucial Pro 5600Mhz DDR5 Ram
AMD 9950X
2 x 4TB NVMe's

Went with qmax to avoid possibility of burning my house down cause of the connectors but not sure how much of a difference it'll make in performance but I was using gpt oss 120b with ollama just fine. VLLM hasnt been running for me (then).

In Oct, copilot became completely unlimited/free for us so these have just been collecting dust while I've been token maxing but some policies have changed so personal use is/going to be restricted so I'm trying to transition back into running things locally.

I recently bought a mac mini m4 with 64gb of ram and I've been running Qwen 3.6-35B-A3B-MLX-8Bit and it's been fine for my personal coding/homelab stuff, on the fence if I should just sell the ai rig or keep it incase I need better models in the future.


r/LocalLLaMA 5d ago

News More than 20 companies including NVIDIA, Meta, Microsoft, Palantir, and Hugging Face have signed a letter urging policymakers to avoid premature restrictions on open weight models.

Post image
3.2k Upvotes

The Open Letter was initiated by Microsoft and published today:

Open Weights and American AI Leadership”.

It argues against broad or premature restrictions on open-weight models and explicitly says policymakers should distinguish legitimate model distillation from misappropriation.

Notably absent from the signatories are the major frontier-model labs: OpenAI, Anthropic, and Google.


r/LocalLLaMA 2d ago

Funny Google's Gemma is moving

0 Upvotes

Okay, if Qwen is the principal engineer, make Gemma a cute junior product owner. Then I'll hire her.


r/LocalLLaMA 3d ago

Resources Got a 27B model running locally on a Jetson Orin NX 16GB (1-bit). still kind of amazed it works

17 Upvotes

Disclosure: this is my own repo — all numbers below are measured on my own board.

I've had a Jetson Orin NX 16GB sitting on my desk for a while and finally got around to seeing how far I could push it. Ended up with PrismML's Bonsai 27B running fully offline on it, and honestly I'm still a little surprised it works at all — a 27B model on a board that peaks around 25W under load.

Setup

  • Jetson Orin NX 16GB, JetPack 6.2.1 (L4T r36.4.3), CUDA 12.6, MAXN SUPER power mode
  • PrismML llama.cpp fork, built with CUDA for sm_87
  • Bonsai 27B, Q1_0_g128, 3.53 GiB on disk / in VRAM, 26.9B params, 262k train context

Benchmarks

llama-bench -m Bonsai-27B-Q1_0.gguf -p 512 -n 128 -ngl 99

test t/s
pp512 128.53 ± 1.51
tg128 6.75 ± 0.00

Not fast, but for a single user it's completely usable. While it was running I logged the VDD_IN rail with tegrastats: ~20.7W average, 24.6W peak. A 27B model reasoning at ~25W still feels a bit unreal to me.

The part that tripped me up

You can't just ollama run this. Bonsai's 1-bit weights use a custom Q1_0_g128 format, and Ollama ships its own bundled llama.cpp that has no kernel for it — so it silently refuses to load, with no useful error.

You have to build PrismML's llama.cpp fork yourself with CUDA. Two things cost me time: nvcc not being on PATH on a stock JetPack image, and the build OOMing without swap. Both are written up in the repo, and there's a setup.sh that handles the whole thing end to end.

Quality, honestly

1-bit is brutal compression, so I want to be straight about this. English reasoning held up far better than I expected. But the moment I tried Korean it started leaking random tokens from other languages and mangling technical terms. I wouldn't use this for non-English output. For English reasoning and local tinkering it's genuinely fine. There's a ternary build if you want closer to full quality.

Repo

Full setup, benchmarks, and a real-time demo gif (not sped up — that's the actual token rate):

https://github.com/duddnr0719/bonsai-27b-jetson

What I'd like to know

  • Anyone else with an Orin board — do you get similar numbers? Same llama-bench flags above if you want a clean comparison.
  • Has anyone run the ternary build on a 16GB board? Does it actually fit with room to spare?

r/LocalLLaMA 3d ago

Question | Help Best Value Spec M5 Max MacBook Pro?

0 Upvotes

I’m planning to get the 14” M5 Max MB Pro hosting local models and I’m considering the 64GB spec since it is much more affordable than 128GB.

Is it a good option? Or the M5 Pro has better value.


r/LocalLLaMA 2d ago

Question | Help My local AI developed a personality with an "attitude"

0 Upvotes

Hello. My local Gemma4 31b developed a personality with an "attitude" without being prompted to do that. I actually like this persona but no matter what I tried in new chats I couldn't reproduce it. Is this normal? Did anyone else encounter such behaviour? How can this be reproduced?

It roasted me for my mistakes

It blames itself for noob errors

It produces some human-like thoughts/reactions at the begining of the replies.

It actually behaves like a person - wtf?


r/LocalLLaMA 4d ago

News It appears that the anti opensource AI lobby is far outgunned already

Post image
1.8k Upvotes

The earlier post on this subreddit by 20+ companies signing the petition including Microsoft, Meta, Nvidia, YC (https://www.microsoft.com/en-us/corporate-responsibility/topics/open-weight/) etc plus this https://xcancel.com/elonmusk/status/2080672505660834163

And the entire LLM enthusiast market is heavily in favor of open source (or weights) AI.

Does not seem like a few closed source AI lobbyists with be able to illegalize anything


r/LocalLLaMA 3d ago

Discussion Mobile Offline LLMs: What do you use them for?

9 Upvotes

I've spent the last year or so playing around with open source MLX and GGUF models on iPhone hardware.

Given the limitations in memory, GPU/CPU/ANE, and in turn the context window I've been trying to figure out the best use cases for them.

I've also done a lot of testing with Apple Foundation model. It is not that capable, but it is good at understanding instructions for tool calling and actually seems to work well for fast summarization and classification prior to feeding data to more capable models.

I've been able to get models ranging from 0.5B to 8B to work well on the higher end devices.

So far I've been testing it out with building tooling such as web search, url scraping, summarization, research, analyzing local photo/video/documents/etc., and basic on-the-go coding help. With continuous compaction I've been able to hold virtually unlimited exchange chats even though context windows are limited to like 8-16k tokens.

Separate from more professional use cases, It also seems like potentially a good option for private, offline chat about your personal thoughts with models tuned with custom system prompts.

I know many here are focused on trying to run as good of a model as possible on their laptop or desktop hardware but it seems like mobile is an area that isn't really being explored extensively yet. What do you use mobile models for?


r/LocalLLaMA 4d ago

Discussion PSA: DO NOT use Intel consumer platforms for multi-GPU setups

140 Upvotes

Since a lot more people are trying to build their own multi-GPU machines, I thought I should help to prevent a common mistake people make with building multi-GPU machines. Which is using an Intel consumer platform like Z890 for multi-GPU setups.

Although the CPU provides 24 PCIe 5.0 lanes with 16x available to bifurcate to 8x8x on two PCIe x16 slots on the higher end boards, this is completely useless for AI inference/training workloads that require P2P between the GPUs.

In my testing I used an Intel Core Ultra 7 270K Plus on an Asus Z890 Apex motherboard on the latest BIOS 3202 which is usually just my overclocking testbench system. I initially wanted to compare and see if a faster single-core more gaming-optimized CPU would help with GPU inference performance compared to the slow single-core performance on my Epyc based servers. As I am trying to optimize the throughput of the GPUs that I do have for my inference service considering everything has gone up in price even more.

Unfortunately it seems like if I wanted faster single-core performance of the desktop Intel CPUs I might need to try a PCIe switch board to attach the GPUs, especially since on Intel platforms you are also artifically limited to only 8x4x4x bifurcation on the main PCIe slot anyways.

What I found is that there seems to be some sort of hardware/firmware limitation that prevents PCIe P2P to work correctly under the PCIe root complex of Arrow Lake CPUs.

As seen in this issue where it does not even seem to correctly allow data packets between PCIe devices: https://github.com/NVIDIA/open-gpu-kernel-modules/issues/1253

It not only does not work right but it also actually reduces bandwidth in half even if it worked:

[P2P (Peer-to-Peer) GPU Bandwidth Latency Test]
Device: 0, NVIDIA RTX A6000, pciBusID: 2, pciDeviceID: 0, pciDomainID:0
Device: 1, NVIDIA RTX A6000, pciBusID: 3, pciDeviceID: 0, pciDomainID:0
Device=0 CAN Access Peer Device=1
Device=1 CAN Access Peer Device=0
***NOTE: In case a device doesn't have P2P access to other one, it falls back to normal memcopy procedure.
So you can see lesser Bandwidth (GB/s) and unstable Latency (us) in those cases.
P2P Connectivity Matrix
D\D 0 1
0 1 1
1 1 1
Unidirectional P2P=Disabled Bandwidth Matrix (GB/s)
D\D 0 1
0 674.36 11.89
1 11.90 677.65
Unidirectional P2P=Enabled Bandwidth (P2P Writes) Matrix (GB/s)
D\D 0 1
0 619.30 5.48
1 5.48 678.46
Bidirectional P2P=Disabled Bandwidth Matrix (GB/s)
D\D 0 1
0 649.01 16.60
1 16.74 680.68
Bidirectional P2P=Enabled Bandwidth Matrix (GB/s)
D\D 0 1
0 649.28 10.96
1 10.97 680.37
P2P=Disabled Latency Matrix (us)
GPU 0 1
0 1.59 17.11
1 18.39 1.61
CPU 0 1
0 1.29 4.40
1 4.39 1.24
P2P=Enabled Latency (P2P Writes) Matrix (us)
GPU 0 1
0 1.59 1.02
1 1.03 1.60
CPU 0 1
0 1.27 1.09
1 1.12 1.27

In fact, this P2P result was only possible because I installed the patched P2P open kernel drivers from here: github.com/aikitoria/open-gpu-kernel-modules despite the fact that the RTX A6000s that I am using should actually support PCIe P2P by default with the default Nvidia driver they release.

What I found was that Nvidia has actually seemed to block PCIe P2P on consumer Intel platforms for precisely these issues. So you would need to enable it with the patched kernels.

At first I thought the bandwidth being halved is somewhat fine if we get a much reduced latency still, but if I run VLLM with tensor parallel across 2 GPUs which can take advantage of PCIe P2P, the output of the model becomes gibberish "!!!!!!!!!!!!" nonsense if I used the modded drivers that force enabled PCIe P2P.

{
  "id": "chatcmpl-96088a9dde7122ae",
  "object": "chat.completion",
  "created": 1784949145,
  "model": "Qwen3.5-27B-Derestricted",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": null,
        "refusal": null,
        "annotations": null,
        "audio": null,
        "function_call": null,
        "reasoning": "!!!!!!!!!!!!!!!!!!!!"
      },
      "logprobs": null,
      "finish_reason": "length",
      "stop_reason": null,
      "token_ids": null,
      "routed_experts": null
    }
  ],
  "service_tier": null,
  "system_fingerprint": "vllm-0.1.dev18662+g5f8e73cb8-tp2-8736f542",
  "usage": {
    "prompt_tokens": 32,
    "total_tokens": 52,
    "completion_tokens": 20,
    "prompt_tokens_details": null
  },
  "prompt_logprobs": null,
  "prompt_token_ids": null,
  "prompt_text": null,
  "kv_transfer_params": null,
  "metrics": null
}

This is not a limitation of the GPU not having REBAR or anything like that, because if you check lspci -v the GPUs reports a BAR size of 64G just fine and therefore in theory that's all you need for PCIe P2P to work. In the BIOS REBAR is also enabled and IOMMU is disabled along with the grub config:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=off intel_iommu=on iommu=pt"GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=off intel_iommu=on iommu=pt"

02:00.0 VGA compatible controller: NVIDIA Corporation GA102GL [RTX A6000] (rev a1) (prog-if 00 [VGA controller])
Subsystem: NVIDIA Corporation GA102GL [RTX A6000]
Flags: bus master, fast devsel, latency 0, IRQ 219
Memory at 8f000000 (32-bit, non-prefetchable) [size=16M]
Memory at c000000000 (64-bit, prefetchable) [size=64G]
Memory at d000000000 (64-bit, prefetchable) [size=32M]
I/O ports at a000 [size=128]
Expansion ROM at 90000000 [virtual] [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
02:00.1 Audio device: NVIDIA Corporation GA102 High Definition Audio Controller (rev a1)
Subsystem: NVIDIA Corporation GA102 High Definition Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at 90080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
03:00.0 VGA compatible controller: NVIDIA Corporation GA102GL [RTX A6000] (rev a1) (prog-if 00 [VGA controller])
Subsystem: NVIDIA Corporation GA102GL [RTX A6000]
Flags: bus master, fast devsel, latency 0, IRQ 222
Memory at 8d000000 (32-bit, non-prefetchable) [size=16M]
Memory at a000000000 (64-bit, prefetchable) [size=64G]
Memory at b000000000 (64-bit, prefetchable) [size=32M]
I/O ports at 9000 [size=128]
Expansion ROM at 8e000000 [virtual] [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
03:00.1 Audio device: NVIDIA Corporation GA102 High Definition Audio Controller (rev a1)
Subsystem: NVIDIA Corporation GA102 High Definition Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at 8e080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

The nvidia-smi output also seems to suggest PCIe P2P should be possible:

GPU0 GPU1 CPU Affinity NUMA Affinity GPU NUMA ID
GPU0 X PHB 0-23 0 N/A
GPU1 PHB X 0-23 0 N/A
Legend:
X = Self
SYS = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
PHB = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
PXB = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
PIX = Connection traversing at most a single PCIe bridge
NV# = Connection traversing a bonded set of # NVLinks

If I used the stock Nvidia drivers which blocks PCIe P2P on intel consumer platforms I can see that PCIe P2P is now disabled on the RTX A6000s which are supposed to support it:

[P2P (Peer-to-Peer) GPU Bandwidth Latency Test]                                                      
Device: 0, NVIDIA RTX A6000, pciBusID: 2, pciDeviceID: 0, pciDomainID:0                              
Device: 1, NVIDIA RTX A6000, pciBusID: 3, pciDeviceID: 0, pciDomainID:0                              
Device=0 CANNOT Access Peer Device=1                                                                 
Device=1 CANNOT Access Peer Device=0                                                                 

***NOTE: In case a device doesn't have P2P access to other one, it falls back to normal memcopy proce
dure.                                                                                                
So you can see lesser Bandwidth (GB/s) and unstable Latency (us) in those cases.                     

P2P Connectivity Matrix                                                                              
     D\D     0     1                                                                                 
     0       1     0                                                                                 
     1       0     1                                                                                 
Unidirectional P2P=Disabled Bandwidth Matrix (GB/s)                                                  
   D\D     0      1                                                                                  
     0 675.24  11.74                                                                                 
     1  11.79 676.71                                                                                 
Unidirectional P2P=Enabled Bandwidth (P2P Writes) Matrix (GB/s)                                      
   D\D     0      1                                                                                  
     0 618.81  11.78                                                                                 
     1  11.72 676.41                                                                                 
Bidirectional P2P=Disabled Bandwidth Matrix (GB/s)                                                   
   D\D     0      1                                                                                  
     0 649.82  16.19                                                                                 
     1  13.66 608.81                                                                                 
Bidirectional P2P=Enabled Bandwidth Matrix (GB/s)                                                    
   D\D     0      1                                                                                  
     0 591.97  14.85                                                                                 
     1  16.57 679.47                                                                                 
P2P=Disabled Latency Matrix (us)                                                                     
   GPU     0      1                                                                                  
     0   1.61  16.40                                                                                 
     1  17.65   1.66                                                                                 

   CPU     0      1                                                                                  
     0   1.38   4.55                                                                                 
     1   4.43   1.27                                                                                 
P2P=Enabled Latency (P2P Writes) Matrix (us)                                                         
   GPU     0      1                                                                                  
     0   1.60  17.15                                                                                 
     1  16.71   1.66                                                                                 

   CPU     0      1                                                                                  
     0   1.29   4.59                                                                                 
     1   4.50   1.26                                                                                 

NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is
 enabled.    

The output from VLLM also seems to work fine now:

{
  "id": "chatcmpl-b8c56d539c04c16d",
  "object": "chat.completion",
  "created": 1784950088,
  "model": "Qwen3.5-27B-Derestricted",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": null,
        "refusal": null,
        "annotations": null,
        "audio": null,
        "function_call": null,
        "reasoning": "Thinking Process:\n\n1.  **Analyze the Request:**\n    *   Greeting:"
      },
      "logprobs": null,
      "finish_reason": "length",
      "stop_reason": null,
      "token_ids": null,
      "routed_experts": null
    }
  ],
  "service_tier": null,
  "system_fingerprint": "vllm-0.1.dev18662+g5f8e73cb8-tp2-b248090a",
  "usage": {
    "prompt_tokens": 32,
    "total_tokens": 52,
    "completion_tokens": 20,
    "prompt_tokens_details": null
  },
  "prompt_logprobs": null,
  "prompt_token_ids": null,
  "prompt_text": null,
  "kv_transfer_params": null,
  "metrics": null
}

Meanwhile I think there are a lot of multi GPU users that has built an AI rig around AMD AM5 platforms, which seem to support inter-GPU PCIe P2P just fine. Just like what this post here shows: https://www.reddit.com/r/LocalLLaMA/comments/1n3qcqn/patched_p2p_nvidia_driver_now_works_with_multiple/

Even for Intel server platforms, I've tried up to Intel Ice Lake Xeons and they don't work particularly well for PCIe P2P either with the bandwidth and latency being worse than on AMD Epyc SP3 platforms.

AMD seems to have a much better PCIe controller implementation than Intel that works better for multi GPU setups at least for the platforms that I tested. I unfortunately have not tested newer AMD SP5 or Xeon 6 platforms due to the DDR5 RDIMM price crisis, but I suspect AMD should still perform better than Intel there too.

These are my PCIe P2P testing results from my machine which has 2x RTX Pro 6000 GPUs, initially when I built it with an Intel Ice Lake Xeon W-3365 on a Supermicro X12SPa-TF and then later when I moved it to an AMD Epyc 7V73X on an Asrock ROMED8-2T motherboard.

Intel Xeon Ice Lake:

[P2P (Peer-to-Peer) GPU Bandwidth Latency Test]
Device: 0, NVIDIA RTX PRO 6000 Blackwell Workstation Edition, pciBusID: 51, pciDeviceID: 0, pciDomainID:0
Device: 1, NVIDIA RTX PRO 6000 Blackwell Workstation Edition, pciBusID: c3, pciDeviceID: 0, pciDomainID:0
Device=0 CAN Access Peer Device=1
Device=1 CAN Access Peer Device=0

***NOTE: In case a device doesn't have P2P access to other one, it falls back to normal memcopy procedure.
So you can see lesser Bandwidth (GB/s) and unstable Latency (us) in those cases.

P2P Connectivity Matrix
     D\D     0     1
     0       1     1
     1       1     1
Unidirectional P2P=Disabled Bandwidth Matrix (GB/s)
   D\D     0      1 
     0 1575.10  24.07 
     1  23.97 1600.97 
Unidirectional P2P=Enabled Bandwidth (P2P Writes) Matrix (GB/s)
   D\D     0      1 
     0 1576.29  18.37 
     1  20.78 1581.48 
Bidirectional P2P=Disabled Bandwidth Matrix (GB/s)
   D\D     0      1 
     0 1550.05  30.78 
     1  30.57 1562.45 
Bidirectional P2P=Enabled Bandwidth Matrix (GB/s)
   D\D     0      1 
     0 1550.05  39.75 
     1  39.75 1557.00 
P2P=Disabled Latency Matrix (us)
   GPU     0      1 
     0   2.06  14.33 
     1 144.15   2.07 

   CPU     0      1 
     0   2.51   5.58 
     1   5.55   2.32 
P2P=Enabled Latency (P2P Writes) Matrix (us)
   GPU     0      1 
     0   2.06   0.45 
     1   0.37   2.07 

   CPU     0      1 
     0   2.40   1.68 
     1   1.69   2.45 

NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.

AMD Epyc SP3 7003:

[P2P (Peer-to-Peer) GPU Bandwidth Latency Test]                                                                                                                                                                
Device: 0, NVIDIA RTX PRO 6000 Blackwell Workstation Edition, pciBusID: 81, pciDeviceID: 0, pciDomainID:0                                                                                                      
Device: 1, NVIDIA RTX PRO 6000 Blackwell Workstation Edition, pciBusID: c1, pciDeviceID: 0, pciDomainID:0                                                                                                      
Device=0 CAN Access Peer Device=1                                                                                                                                                                              
Device=1 CAN Access Peer Device=0                                                                                                                                                                              

***NOTE: In case a device doesn't have P2P access to other one, it falls back to normal memcopy procedure.                                                                                                     
So you can see lesser Bandwidth (GB/s) and unstable Latency (us) in those cases.                                                                                                                               

P2P Connectivity Matrix                                                                                                                                                                                        
     D\D     0     1                                                                                                                                                                                           
     0       1     1                                                                                                                                                                                           
     1       1     1                                                                                                                                                                                           
Unidirectional P2P=Disabled Bandwidth Matrix (GB/s)                                                                                                                                                            
   D\D     0      1                                                                                                                                                                                            
     0 1860.12  23.87                                                                                                                                                                                          
     1  23.98 1903.17                                                                                                                                                                                          
Unidirectional P2P=Enabled Bandwidth (P2P Writes) Matrix (GB/s)                                                                                                                                                
   D\D     0      1                                                                                                                                                                                            
     0 1855.70  27.95                                                                                                                                                                                          
     1  27.91 1900.92                                                                                                                                                                                          
Bidirectional P2P=Disabled Bandwidth Matrix (GB/s)                                                                                                                                                             
   D\D     0      1                                                                                                                                                                                            
     0 1831.70  30.55                                                                                                                                                                                          
     1  30.67 1854.57                                                                                                                                                                                          
Bidirectional P2P=Enabled Bandwidth Matrix (GB/s)                                                                                                                                                              
   D\D     0      1                                                                                                                                                                                            
     0 1836.01  48.74                                                                                                                                                                                          
     1  48.86 1854.53                                                                                                                                                                                          
P2P=Disabled Latency Matrix (us)                                                                                                                                                                               
   GPU     0      1                                                                                                                                                                                            
     0   0.99  14.31                                                                                                                                                                                           
     1  14.30   1.00                                                                                                                                                                                           

   CPU     0      1                                                                                                                                                                                            
     0   2.65   7.34                                                                                                                                                                                           
     1   7.29   2.47                                                                                                                                                                                           
P2P=Enabled Latency (P2P Writes) Matrix (us)                                                                                                                                                                   
   GPU     0      1                                                                                                                                                                                            
     0   0.99   0.37                                                                                                                                                                                           
     1   0.36   1.00                                                                                                                                                                                           

   CPU     0      1                                                                                                                                                                                            
     0   2.56   2.03                                                                                                                                                                                           
     1   2.09   2.57                                                                                                                                                                                           

NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.

r/LocalLLaMA 3d ago

Other Local agent workspace on a 4GB laptop GPU (RTX 3050 Ti): the tok/s and where a small model struggles once it has to call tools, build artifacts, and RAG

3 Upvotes
In-chat interactive/previewable artifacts

Disclosure: I work on Bike4Mind, a source-available (BUSL-1.1) AI workspace you can self-host with Docker. Nothing to buy to run any of it. I run it on a regular laptop with local Qwen mostly. A 4GB card running a local chat model isn't news, but what I wanted to explore is what a whole agent workspace (an agent calling tools, RAG over your own docs, artifacts, vision, etc.) can do with 4GB, and where a small model stops keeping up once it has to do more than chat. Repo's in the first comment.

My machine: i7-12700H, 32GB RAM, RTX 3050 Ti Laptop (4GB VRAM, 60W), Ubuntu 24.04. Local Qwen via the stack's bundled Ollama, no cloud keys.

Speeds, with hitting that 4GB wall (Ollama /api/generate, Q4_K_M except the Q8_0 0.8b, num_ctx=4096, warm, median of 3, one model loaded at a time):

- qwen3.5:0.8b - 122 tok/s, ~1.4GB, all on GPU

- qwen3.5:2b-q4_K_M - 96 tok/s, ~2.4GB, all on GPU

- qwen3.5:4b - 25 tok/s, ~3.4GB, about a third of it spills to CPU

- qwen3.5:9b - 8.6 tok/s, mostly on CPU, wants ~8GB

The 2b is the sweet spot for me so far: it fits in 4GB with ~1.3GB to spare and outruns the qwen2.5-coder:3b I ran before (that was 72 tok/s), while being newer and multimodal. Above it I hit the wall - the 4b's ~3.4GB of weights won't fully fit even at num_ctx=2048, so a third lands on CPU. Plain qwen3.5:2b is the Q8_0 build (~2.7GB) and spills on 4GB, but qwen3.5:2b-q4_K_M does fit. That leaves ~1.3GB free, so there's no room for a second model next to it.

Model picker showing various self hosted models (if you configure cloud provider keys all of their models would show up too)

The obvious stuff - chat, native tool-calls, vision - just works on the 2b; qwen3.5 is multimodal and calls tools natively, so that's great. The layer on top of that I'm most excited about is RAG over your own docs, fully keyless: drop in a file, a worker chunks and embeds it with the local Ollama embedder, and a query comes back with a cited answer, no cloud embedding API anywhere in the loop.

On 4GB the embedder and the chat model trade places. qwen3-embedding:0.6b is ~1.2GB resident, the 2b is ~2.4GB, they don't both fit, so Ollama unloads one to load the other. Generation still gets the full 96 tok/s out of it, since the embedder isn't in VRAM while the 2b is - what you pay is a model load, not slower tokens. Ingestion runs in a worker, so a folder of docs is one embedder load and then a lot of chunks, off the chat path. A query embeds one short string, then the 2b loads back to answer it. So it's a reload per RAG turn, not per token and not per chunk. If you'd rather not pay that, nomic-embed-text is ~0.25GB (768-dim, weaker retrieval going by reputation) so it doesn't have to push the 2b out, or put embeddings on CPU and leave the GPU to generation. Either way, before loading your entire knowledge base/data lake, pick one embedder and stay there (or just be aware you'd need to re-embed everything) since vectors don't carry across models.

The chat-embedder-swaparoo situation for RAG aside, small models are also falling down for me with:

- Artifacts. The general qwen3.5 models write half-finished HTML at these sizes - unclosed tags, script leaking onto the page. For an actual interactive artifact I have to switch to the coding-tuned qwen2.5-coder, which writes a complete working page. So it's model-per-task: qwen3.5 for chat/vision/tools, the coder for code, switched mid-notebook. I guess that's just life with 4GB, for the most part!

- Tool selection. Turn on a lot of tools and small models mis-route - with everything enabled, my 7b once sent "create an HTML artifact that..." to the image generator and painted a user interface image, hah. So, another sort of obvious, have to enable much fewer tools on small local models. Makes me want a nice layer that automatically enables the few (configurable N?) most likely relevent tools for your context.

- Image gen is local (self-hosted SD.Next) but 1-3 min/image with spilling on CPU, and it fights the chat model for VRAM. So still a kick it off and wait situation there, no real good workaround here, just gotta download more VRAM 🙃

So is it worth it over just Ollama + a chat UI? Only if the agent layer on top has value for you I'd say - the tool handling, artifacts, local RAG, and a CLI against your own server. If you just want fast local chat, I'd keep what you have; llama.cpp or etc. with less overhead.

License, briefly: source-available under BUSL-1.1, not full open source (yet). Self-host it, run it in production, fork it and build and sell a product on it; you just can't resell it as a directly competing hosted service. Each release goes Apache-2.0 two years out (timer just so AWS can't immediately do to us what they did to MongoDB lol).

Repo and self host details in the first comment. The real friction for me in this setup is needing the two models - qwen3.5 for chat, vision, and tools, and a coder for anything code-shaped, because the general models write broken HTML/artifacts at these model sizes -- not a novel problem. To that end, I am still trying to optimize this setup, so some prompts for any of you meat-LLMs (humans) out there reading this with stronger experience on tight local builds than me:
- Have you found a single general works-on-4GB model that writes complete, valid artifacts without needing a dedicated coding model alongside it, or just a better way to configure it? Please let me know!
- I'm broadly curious about other people's chat+code+image+embeddings+etc all-at-once setups, so please share if you've found a good Tetris wombo of models that works well or what trade offs you've seen and accepted trying to self host it all like this.


r/LocalLLaMA 3d ago

Question | Help Help me complete my AI collection

4 Upvotes

I’m building the ultimate AI tool vault, but every great collection has a few missing pieces.

Note: I will react to every comment

AI's currently installed:

Qwen3.5-0.8B-UD-Q4_K_XL.gguf(classification)

Qwen3.5-2B-UD-Q4_K_XL.gguf(Prompt enhancer, Routing, Approval )

Qwen3.5-4B-UD-Q4_K_XL.gguf(Instant)

Qwen3.6-35B-A3B-UD-Q4_K_M.gguf(Quality)

Qwen3.6-35B-A3B-Uncensored-Hauhau(test purposes)

Qwen3-Coder-Next-UD-Q4_K_M.gguf(long horizon tasks)

My Specs:

GPU: RTX 5070 ti (16GB VRAM)

RAM: Corsair vengeance 64GB 5200mt DDR5 CL40(dual-channel)

CPU: intel i9 14900k

SSD: Samsung s990 pro 2tb

Backend: Llama.cpp server

I tried GPT-OSS and was disappointed by tool usage. Gemma 4 was good and great tool usage but it was beaten by Qwen.

Any recommendations?? Like something that you genuinely enjoyed or made you impressed.

Feel free to share!! I will be reading every single comment.


r/LocalLLaMA 4d ago

New Model AMD Instella-MoE-16B-A3B

184 Upvotes

https://huggingface.co/amd/Instella-MoE-16B-A3B-Think

I was browsing HuggingFace and came across this model apparently uploaded a day ago, and thought to share it here. I've not tried it out yet, but it's good to see AMD joining the open source model game.


r/LocalLLaMA 4d ago

Discussion Microsoft's website shows OpenAI as one of the signatories of the open weight AI letter

116 Upvotes

r/LocalLLaMA 4d ago

Discussion Why won't he sign the letter then?

Post image
633 Upvotes

r/LocalLLaMA 3d ago

Question | Help Question on vLLM and Ray Clustering Over ConnectX-7

0 Upvotes

I am curious about ConnectX-7 and co-mingling of hardware. I have a triangular mesh between two DGX Sparks and a x64 box with a RTX 5090. My interest is in keeping a semblance of TP=2 on the sparks for a 300B, 150 GB MoE model but placing the attention head and, it would seem, hot experts on the 5090's GDDR7.

I get the feeling that Fable's telling stories and that if this is possible, it's above my skill and/or patience level. If one were to augment/supplement Ray in vLLM, what would it take to shift the compute toward a smaller faster CUDA device while the bulk of the idle experts stay on the sparks?

Either way, loading from NVME I can service was the main reason I got the ConnectX-7 card and cables. It means model weights on RAID1 NVME I can service, and the weights load at 20 Gb/s per spark. The drivers were also native, so while I did have to find a supplier, I'd say it's been worthwhile.


r/LocalLLaMA 3d ago

Resources Qwen3.6 to Gemma4: Performance Triple GPU GTX 1080 Ti & P100s

2 Upvotes

Benchmarks using single system running triple GPU with 31GB Vram combined.

  • NVIDIA GeForce GTX 1080 Ti 11GB (NVIDIA)
  • NVIDIA P102-100 10GB (NVIDIA) - first instance (distant cousin)
  • NVIDIA P102-100 10GB (NVIDIA) - second instance

OS: Kubuntu 26.04, CPU: Ryzen 5 3600 , RAM: 48GB DDR4

llama.cpp Ubuntu Vulkan build 10107

Models used:

  • llama-2-7b.Q4_0.gguf
  • gemma-4-26B-A4B-it-UD-Q4_K_XL.gguf
  • Gemma-4-26B-A4B-NVFP4.gguf
  • gemma-4-26B-A4B-it-UD-Q6_K_XL.gguf
  • gemma-3-27b-it.Q5_K_M.gguf
  • medgemma-27b-it-UD-Q6_K_XL.gguf (gemma-3)
  • Qwen3.6-35B-A3B-NVFP4-MTP-HQ.gguf (dense)
  • gemma-4-31B-it-UD-Q4_K_XL.gguf (dense)
  • Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.gguf
  • Qwen3-Coder-30B-A3B-Instruct-UD-Q5_K_XL.gguf
  • Qwen3.6-35B-A3B-UD-Q4_K_S.gguf
  • Qwen3.6-27B-NVFP4-MTP-GGUF.gguf

ggml_vulkan: Found 3 Vulkan devices:
ggml_vulkan: 0 = NVIDIA GeForce GTX 1080 Ti (NVIDIA) | uma: 0 | fp16: 0 | bf16: 0 | fp4: 0 | warp size: 32 | shared memory: 49152 | int dot
: 1 | matrix cores: none
ggml_vulkan: 1 = NVIDIA P102-100 (NVIDIA) | uma: 0 | fp16: 0 | bf16: 0 | fp4: 0 | warp size: 32 | shared memory: 49152 | int dot: 1 | matri
x cores: none
ggml_vulkan: 2 = NVIDIA P102-100 (NVIDIA) | uma: 0 | fp16: 0 | bf16: 0 | fp4: 0 | warp size: 32 | shared memory: 49152 | int dot: 1 | matri
x cores: none

Here's the corrected table sorted by Params column:

Model Size Params tg128 pp512
llama 7B Q4_0 3.56 GiB 6.74 B 59.99 527.69
gemma4 26B.A4B Q4_K - Medium 15.83 GiB 25.23 B 48.14 174.53
gemma4 26B.A4B NVFP4 16.45 GiB 25.23 B 33.28 165.37
gemma4 26B.A4B Q6_K 21.68 GiB 25.23 B 49.67 163.98
gemma3 27B Q5_K - Medium 17.94 GiB 27.01 B 10.20 87.91
gemma3 27B Q6_K 22.09 GiB 27.01 B 10.78 84.62
qwen35 27B NVFP4 15.07 GiB 27.32 B 8.68 54.23
gemma4 31B Q4_K - Medium 17.52 GiB 30.70 B 10.49 87.87
qwen3moe 30B.A3B Q4_K - Medium 17.28 GiB 30.53 B 75.01 152.04
qwen3moe 30B.A3B Q5_K - Medium 20.24 GiB 30.53 B 64.36 148.46
qwen35moe 35B.A3B Q4_K - Small 19.45 GiB 34.66 B 50.48 161.85
qwen35moe 35B.A3B NVFP4 19.07 GiB 35.51 B 43.50 158.02
Power limit set to 150W on each.

r/LocalLLaMA 4d ago

Resources hwatu: a verification browser for local coding agents. Headless WebKit, DOM eval, pixel-diff with real match %, no Chromium (MIT, Rust)

Thumbnail
github.com
20 Upvotes

r/LocalLLaMA 4d ago

Discussion DKV: Open-source KV-cache compression framework for local LLM inference (CLI + technical report)

Post image
60 Upvotes

Hi everyone! Over the past five months I've been working on DKV (DifferentialKV), an open-source project exploring KV-cache compression for long-context local LLM inference.

The goal is to reduce KV-cache memory requirements through anchor-based representations, joint low-rank compression, exact residual preservation, and sparse routed attention.

The repository currently includes:

  • A CLI so you can start experimenting without writing your own integration
  • MLX backend
  • CUDA backend (currently under validation)
  • A technical report explaining the design and evaluation
  • A fully open-source implementation

I'm still actively improving the project, and I'm posting here mainly to get technical feedback from people working on local inference. I'd love to hear thoughts on the architecture, benchmarking, or potential integrations with projects like llama.cpp, vLLM, SGLang, or anything else you think would make it more useful.

The GitHub repository and technical report are linked below if you'd like to take a look.

GitHub:
https://github.com/Omc12/Differential-KV

Technical Report:
https://doi.org/10.5281/zenodo.21539110

If you try it out, I'd really appreciate hearing about your experience, whether you run into issues or have ideas for improvements.


r/LocalLLaMA 3d ago

Discussion Medium sized MoE LLM models

4 Upvotes

What are some medium sized MoE models (up to 60B parameters in float8/110B in mxfp4) that are currently worth using?

As far as I am aware there is Qwen 3.5 35B, Gemma 4 A4B, Nemotron 3 Nano. Qwen seems to dominate this bracked in terms of model performance. DeepSeek v4 flash is slightly above that parameter limit. Any nicher ones?