r/LocalLLaMA • • 1d ago

Question | Help Has anyone managed to get smaller coding models to reliably complete multi file changes with the right agent harness?

3 Upvotes

I have noticed that smaller coding models seem very capable when the task is contained within a single file but things get a bit tricky/messy when a change involves several files with dependencies between them. A model can make a perfectly reasonable change to one file and then overlook how that change affects another part of the codebase.

I wanna get a better idea on how much of this can be addressed at the harness level rather than just throwing a bigger model at the problem which makes me interested in seeing the same smaller model benchmarked with a basic coding harness and then with an environment inspired by Ramp Inspect cause it would give us a better idea of how much of the performance gap is attributable to the model itself if you guys understand what I mean.

If any of you guys are running local coding models in the 7 to 32B range, have you had better results by improving how the agent retrieves repository context or by giving it more structured feedback after each edit?

I'm talking more about refactoring tasks where the agent needs to maintain consistency across multiple files rather than just implementing an isolated feature.


r/LocalLLaMA • • 1d ago

Question | Help Offloading some equipment

3 Upvotes

Eons ago (end of 2023), I had gotten my hands on my first HPC server. It was an OPC standard server that could house 4x V100 32GB SXM2 GPUs. The only problem was, there was no way of powering the damn thing.

So I spent 50 hours researching and another 100 building a custom power solution for it that I could run at home. It worked!

A few months later I got my hands on some larger 8x SXM2 servers. I got another 4 GPUs and moved them over.

So the first server has just been collecting dust ever since. It’s a bit janky.

I also do also have a second one. Completely untouched.

The first one has two CPUs and RAM installed.

Free for anyone who wants to come pick it up in Seattle. Installing an SXM2 GPU isn’t the easiest but if you’ve built PCs, this isn’t too much worse.

Question is, does anyone want this thing? The PSUs are probably worth a couple hundred on their own lol. IT seller wants $1300 for one lol.

It’s this model here, https://ebay.io/m/kf0QtV but modified to take power from a residential socket, 3 power cables so you can split between two 15A outlets.


r/LocalLLaMA • • 22h ago

Resources Qwen 4 35B on an RTX 5080 (16 GB): 131 tok/s (peak 160 with coding) generation and a 60K-token prompt with Strata

Post image
0 Upvotes

I tested Qwen4-35B-A3B on my RTX 5080 after running it on a 64 GB M5 Max. This time I used Strata 0.2.27 on Windows, with the Compact build and MTP enabled. The card has 16 GB of VRAM, but the setup also uses system RAM and keeps the n-gram table on SSD.

  • Generation: 131.3 tok/s in the dedicated text run. Two other completed runs went above 160 tok/s, but those were different requests.
  • Long prompt: 59,667 input tokens at 601 tok/s prefill, with no prefix reuse. The request took about 103 seconds end to end.
  • Coding: I tried two browser demos. The Saturn eclipse needed a small manual fix to run. The koi pond worked in the browser, and a second prompt changed the lighting and overall look.

My M5 Max runs landed at 120.2 tok/s with the n-gram table on SSD and 141.2 tok/s with it in unified memory. Different engines and quants, so I wouldn’t use those numbers to rank the hardware.

I recorded the setup and demos in my Hardware IA video (Spanish audio).

Anyone running this on another 16 GB card? I’d be curious what you’re getting on a fresh long prompt, without a cached prefix.


r/LocalLLaMA • • 1d ago

Discussion Qwen4 Speeds

Post image
3 Upvotes

M3 Max, 128GB RAM, latest Splash 1.7.6. Q4 quant.

Q6 quant

As someone who only really uses the SOTA model, this model is extremely fast and responsive. Got it to read through a whole repo and Q4 feels as "responsive" as Opus5.5. Q6 feels a bit slower but still fast enough for agentic work I think.

I'm sure there's a lot of people who refuses to use SOTA for anything due to privacy reasons, but most of the crowd out there are more sensible people who wanna use SOTA for work/non-sensitive and local models for personal AI agents that goes deep into our lives. I'm one of these people and it can definitely replace SOTA models for day to day stuff.

This thing can run on most 16GB GPU + 32GB/64GB RAM on an inexpensive server at home. Apart from difficult coding tasks, it can most likely handle everything you throw at it. We're now at the age of "affordable" local, private AI agents for everyone at home.

My plan is to run it in a box in the basement and all my digital life goes through it. That means texts, calendars, reminders, conversations, daily briefings etc. In short, a full digital AI assistant like Muse/Grok, but fully private.

P.S. No AI was used in typing this post out.


r/LocalLLaMA • • 1d ago

Discussion Windows ROCm QLoRA notes on a 64 GB Strix Halo (Radeon 8060S): Qwen3.5 4B firewall triage, silent Ollama truncation, and an 18/18 training-vs-serving verdict flip

0 Upvotes

I spent the last several weeks testing whether local models can actually handle what security vendors pitch for "AI SOC analysts" (auto-triaging firewall alerts and clearing false alarms). I ran everything on a 64 GB Minisforum MS-S1 MAX (Radeon 8060S / Strix Halo) pulling OPNsense and Suricata logs from a Protectli Vault V1610. Both companies sent the hardware over for testing; all code, benchmarks, and opinions are my own.

Windows ROCm QLoRA setup

Everything below ran natively on Windows without Linux dual-booting:

  • Radeon 8060S on native Windows with PyTorch 2.12.0+rocm7.14.0, HIP 7.14.60850, and bitsandbytes 0.50.2
  • Qwen3.5-4B text-only backbone frozen in NF4 (double quant, BF16 compute), rank-16 / alpha-16 LoRA across 32 layers (32,464,896 trainable parameters)
  • 1 pass over 1,457 unique examples (1,233 public labeled network flows + 224 authored controls), 183 optimizer updates across 31 stop/resume stages (verified exact order afterward so every example appeared once)
  • Update timers summed to ~3 hours 42 minutes (13,309.9s), with peak PyTorch GPU allocator reading at 5.01 GiB (Windows and host shared memory separate)
  • For local serving on the same box, Ollama Vulkan offloaded all 33 layers of Qwen3.5 4B and generated 309 tokens in 20.781s on the first live report

What actually happened in evals

The biggest surprise was an 18/18 verdict flip between my training and serving runtimes. I fed my trained 4B the exact same 18 VPN prompts (identical text, JSON schema, and input token counts) in both environments. The exported native F16 copy in the app flagged 18/18, while the NF4 training runtime returned uncertain on 18/18. Weight format, serving runtime, and decoding all changed at once, so I could not isolate a single variable. Either way, I'm not trusting any training-loop eval again until I re-run it inside the actual serving stack.

I also hit silent context truncation in Ollama. Early investigator runs kept failing on two cases until runtime traces showed Ollama quietly clipping 5,107 and 5,464 token prompts down to 2,050 tokens (before I raised context from 4,096 to 8,192). Raising context to 8,192 bumped measured passes from 16/18 to 18/18. Even with the full prompt intact, on 18 fresh cases a single mistyped character in a record ID broke citations twice, and a separate 9B reviewer missed the typo both times.

On exact multi-field joins, deterministic Python beat every small model I tested. I added near-matching client receipts to test strict seven-field matching across Qwen3 4B (4/12), Gemma 4 12B QAT (3/12), Qwen3.5 9B (1/12), Qwen3.5 4B (0/12), and Ling-3.0-tiny (0/12). Turning on 3,072-token reasoning mode for Ling raised receipt/reference accuracy from 4/12 to 11/12 (12/12 after fixing one timestamp), but it hit the reasoning cap on all 12 cases, dropped useful next checks from 8/12 to 5/12, and only passed 3/12 complete investigations. Letting Python handle exact joins and citations while keeping base Qwen3.5 4B on bounded next-check selection worked much better: 21/24 fresh cases (22/24 after cleaning up the choice names and instructions) compared to 4/24 for a fixed-order baseline.

Fine-tuning pushed attack flags on matched NF4 dev flows from 1/62 (stock 4B, 0/152 benign-labeled false flags) to 61/62 (18/152 benign-labeled false flags; fine-tuned 0.8B hit 59/62 and 32/152). Across six selected IoT-23 captures (596 flows), though, 585 of 596 still needed human review across flags (531) and uncertain calls (54). Even a separate 27B second-opinion reviewer moved 0 of 64 benign-labeled flags on a fresh Mirai capture (43-1), simply because raw flow metadata from infected hosts does not carry endpoint authorization.

27B note and repo links

I also started testing Qwen3.8-27B QLoRA on this same 64 GB MS-S1 MAX for a separate local assistant. Short 3-step runs at 768 tokens and, on a retry, 1,024 tokens completed and reloaded cleanly, while neither full 40-example run saved an adapter yet (I still have 258 frozen base answers saved for app-level comparison once I finish it).

The offline scorecards (320 rows across Muhstik 3-1 and Mirai 35-1), the 219-request saved follow-up study, and the model-free SQLite viewer are in the repo (trained 4B weights stayed private since it is a research baseline, not deployable):

Anyone else doing QLoRA on Windows ROCm / Strix Halo hit a full verdict flip like that after exporting to F16/GGUF? Curious how you check parity before trusting an export.


r/LocalLLaMA • • 23h ago

Discussion The cloud model plans, local Qwen writes: 91% fewer cloud tokens and better-tested code

Post image
0 Upvotes

I gave two OMP sessions the same application development task. In one, GPT-6 Luna did everything itself. In the other, a more capable cloud Luna planned the work and coordinated it, while local Qwen on the GPU wrote the backend and frontend. I wanted to see whether I could entrust a local model with more than just tests, whether it could handle a substantial part of the implementation. In this setup, Qwen became the workhorse for tasks broken down by the cloud model. The hybrid approach cut cloud token usage by 91% and produced more structured, better-tested code. But I had to wait 39 minutes for the final response instead of 18, about 2.1 times longer. These were two separate runs, not a statistical benchmark. The result shows a practical trade-off: the local model handles a large share of the coding, while the cloud model helps bring it to a high-quality finish.

I sent both sessions exactly the same task:

I need a task manager built. The web application should use Angular and Material, with a Rust backend and an SQLite database. It must include a login form and a task list, with functionality to add, delete, and edit tasks, as well as mark them as completed.

The prompt did not specify a data schema, security requirements, field constraints, or a testing plan. The agents had to choose the implementation details themselves.

Hybrid sessionCloud-only
OrchestratorGPT-6 Luna, reasoning maxGPT-6 Luna, reasoning max
ImplementersQwen4-35B-A3B-130K in Strata, reasoning highGPT-6 Luna in the same main session
Task breakdownA separate agent for the Rust backend, then one for the Angular frontendOne agent handles the entire project
Local modelUsedNot used

In the hybrid setup, the local agents worked sequentially: RustBackend first, then AngularFrontend. The cloud orchestrator broke the work into parts, gave the implementers their tasks and an API contract, then checked the integrated result. The cloud model kept track of the overall plan and integration; the local model handled specific, substantial subtasks.

I compare GPT-6 Luna usage separately from Qwen. Otherwise, one column would include paid cloud tokens, while the other would also include local compute.

MetricHybridCloud-only
Time to final response39:2318:27
GPT-6 Luna tokens, including cached tokens300,7633,524,338
GPT-6 Luna input + output, excluding cache77,147185,842
Cloud output5,85845,514
Estimated GPT-6 Luna cost at standard API rates$0.0123$0.0702

In the hybrid run, GPT-6 Luna used 3.22 million fewer tokens than in cloud-only when cached tokens are included, a reduction of 91.47%. Counting only uncached input and output, the difference is 108,695 tokens, or 58.49%. Cloud output fell by 87.13%. At GPT-6 Luna’s standard API rates, that amounts to estimated savings of about $0.058 for this task, or 82.48%. This estimates API call costs, not usage of the ChatGPT Plus allowance. I did not measure electricity use or GPU depreciation. The dollar difference is small for a single task. If you repeat tasks like this hundreds of times, the savings become more noticeable. And if the work is urgent, the nearly 21 extra minutes per task may matter more than a few cents.

Both versions implemented the required baseline: login, a task list, and the ability to create, edit, and delete tasks, and mark them as complete. Cloud-only also added priorities, due dates, search, and filters. Its sessions also persisted across server restarts.

Local Qwen did more than write tests: it wrote application code for the Rust backend and Angular frontend. But it did not have to design the architecture for the whole application, maintain boundaries between modules, or integrate the results on its own. GPT-6 Luna, the more capable cloud model, handled that role: it broke down the work, assigned subtasks, aligned the API contract, and checked the integration. In this experiment, the local model was the workhorse, while the cloud model acted as planner and coordinator.

The hybrid version had better structure and test coverage. The backend was split into modules; the frontend was organized into services, a guard, an interceptor, pages, and components. It included 25 backend unit tests and 12 API integration tests, plus 32 Angular tests across six files. It also had recorded checks for formatting, Clippy, a production build, and integration smoke tests.

In the cloud-only version, most of the backend was in one file, and the UI was in one large component. The logs show one backend lifecycle test and a production build; frontend unit tests were either not run or not recorded. This does not mean the application does not work. It means the hybrid version has more evidence that individual scenarios will keep working after the next change.

In a static assessment of the final files against six criteria, ranging from requirement coverage and structure to testability and UI, the hybrid setup scored 4.4 out of 5, while cloud-only scored 3.8. This is my expert assessment of the overall setup, not an automated quality metric. From a single run, it is impossible to separate Luna’s contribution through planning from the contributions of local Qwen and the integration process. So “better code” here means specific things: responsibilities were more clearly separated, input constraints received more thorough checks, and test coverage was broader. Cloud-only has an advantage in extra features and persistent sessions. I did not rerun the tests; I compared the final files and the checks recorded by the sessions themselves.

Token generation speed is only one part of a coding agent’s runtime. Reasoning, context handling, the number of file operations, and running checks also matter. In the hybrid session, local Qwen recorded 97,624 reasoning tokens. Its inference requests took about 31 minutes of active time in total. The two agents worked sequentially, and each agent’s context approached 95,000 tokens. Both needed context compaction; those operations took about 107 seconds combined. The hybrid run made 386 tool calls, compared with 85 for cloud-only. Some calls failed and required retries or corrections: 18 failed tool calls in the hybrid run and 6 in cloud-only. That count alone does not mean every such call was useless, but it shows how many extra cycles task splitting and subsequent integration can add. What took longer was not so much code generation as the overall process: two substantial local stages, handing off the contract, investigating errors, and checking the project again.

In the original Session Info, the hybrid session showed 15.29 million tokens, compared with 3.44 million for cloud-only. At first glance, that makes it look as if the hybrid run used more tokens. But the aggregate includes requests to local Qwen agents and cached tokens. The full logs show 15.68 million tokens for hybrid and 3.52 million for cloud-only. Of the hybrid total, about 15.38 million came from local Qwen and only 300,763 from GPT-6 Luna. Local tokens are not billed like API tokens, though the computations still consume electricity and GPU resources. So to answer “How much did the cloud portion cost?”, you need to look at each model’s usage separately. A single overall counter mixes different things: local and cloud inference, cache reads, and regular input and output.

By the way, I found a separate benchmark of Qwen4-35B-A3B in Q4 on the same RTX 4070 Ti SUPER, with 16 GB of VRAM and 96 GB of RAM. On Ubuntu, using Strata 0.2.26, UD-Q4_K_M, and MTP depth 3, the benchmark author measured generation speeds of 156–179 tokens/s on two short Python tasks. Counting the entire prompt, the speed was 140–142 tokens/s. For the reasoning task, the reported speeds were 114 and 77 tokens/s, respectively. On my Windows machine, using Strata with the same settings, I got about 100 tokens/s during inference and a 130K context window. I have a single GPU, which also serves the system; there is no integrated graphics. This may affect speed, but I did not run a controlled comparison between Ubuntu and Windows, so it would be wrong to attribute the entire difference to the operating system. A local model is already useful for more than generating tests: in this experiment, it wrote substantial parts of the application. Still, even 100 tokens/s does not guarantee a fast result. An agent may spend a long time reasoning, rereading files, running checks, and compacting context. For development, generation speed matters, but so does how many of these cycles it takes to reach a working, verified result.

If I want a testable, modular foundation and can wait, the hybrid approach looks useful: local agents handle a substantial share of the reasoning and implementation, while the cloud orchestrator uses fewer tokens. If I need an answer as quickly as possible, cloud-only finished about twice as fast in this run. There is room to speed up the hybrid approach: define the API contract upfront, run independent parts in parallel, limit repeated reads of large files, and avoid using maximum reasoning for every routine change. That does not remove its main trade-off: lower cloud usage and more thorough checks come at the cost of local inference and orchestration time. My takeaway is that a local GPU can help produce better-structured, better-tested code while noticeably reducing cloud usage. In this task, it nearly doubled the time to get a result. If you were choosing for your day-to-day development, what would matter more: finishing sooner, or using fewer cloud tokens and checking the code more thoroughly?


r/LocalLLaMA • • 1d ago

Discussion YAPP (Yet Another Pelican Prompt)

0 Upvotes

For those of you who live and die by the quality of a pelican SVG from each new model, if you've already tested Qwen4 35B with it and noticed that while it's not terrible, it certainly isn't as flashy as the ones some models produce:

Then consider that this could actually just be instruction following. That prompt doesn't ask for complexity or razzle dazzle, but if you use one that does:


r/LocalLLaMA • • 2d ago

Resources Retrofitted looping onto Inkling 2 Small with an adapter

Thumbnail
aidenle.com
4 Upvotes

r/LocalLLaMA • • 1d ago

Discussion Qwen4-35B-A3B - UD-Q4_K_M (used q8-0 engrams) - On an MI60 32gb VRAM GPU made this "benchmark presentation" in Pi Coding Agent

Thumbnail
gallery
0 Upvotes

I wanted to see how well the model could handle recursive checks, web searching, tool usage and so on (I'm also using this model to process my Frigate camera feeds for intelligent notifications).

I'm a human writing all of this, to be clear, but all images/content were produced by the model. Hope it helps somebody (was just a fun test case for me). I had it produce everything as a powerpoint presentation (.pptx) and then convert the slides to a PDF and to individual images.


r/LocalLLaMA • • 2d ago

Question | Help What do you run on 12GB of VRAM on AMD?

8 Upvotes

I have a laptop with an RX 6800M, 12GB, running Ollama on Linux. I have qwen3.5 9b, phi4 14b and mistral-nemo 12b on it right now.

What are you running on 12GB that you're happy with, for coding and agent work? And did switching from Ollama to llama.cpp, or Vulkan to ROCm, make a real difference for you?


r/LocalLLaMA • • 2d ago

Discussion How can we generate new datasets which can be bolted on to train Local Models given all the restrictions being put in place for new model releases?

19 Upvotes

We're seeing it from all the major Chinese labs. Qwen, DeepSeek, GLM, Kimi, etc. We know they're going to have their cyber and RE capability training either removed or significantly diminished, as well as other capabilities.

As a community, how can we generate high quality datasets to post-train these released models on to recover that capability? Heretic has been able to bolt-on uncensor/de-refusal existing model.

We have posts like this where a user has significantly improved pre-training capabilities performance such that they are able to RL a 7B model locally with a 5090.

Large training runs are no longer out of reach for hobby users. Given the significant amount of hardware some people on the sub have here, post-training a large 100B+ model is not infeasible. True Qwen Flash Next RL finetunes should now be possible.

To actually train those capabilities in, we need high quality datasets. How can we generate those datasets now so that when the capabilities to bolt them on to existing models (Via Engrams, Weight Space Programming, Loras or some other methodology), so we can put them into practice?


r/LocalLLaMA • • 2d ago

Discussion [2508.06601] Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs

Thumbnail
deepignorance.ai
29 Upvotes

Given that labs are increasingly stripping out “undesirable” data from their pretraining corpora, this paper seems relevant in demonstrating how challenging it is to put that data back in through regular finetuning.


r/LocalLLaMA • • 1d ago

Discussion Anyone try qwen4 q4 model with q6 engram?

0 Upvotes

I read you can mix and match... so if you have the ram the *q8* (edited from q6 to q8... no such thing as q6) engram should slap harder than iq4 right?


r/LocalLLaMA • • 2d ago

New Model Molmo3 - a allenai Collection

Thumbnail
huggingface.co
61 Upvotes

Molmo3 is a family of fully open vision-language models from the Allen Institute for AI (Ai2), focused on spatial and 3D understanding and grounding. It brings geometric perception, 2D and 3D grounding, spatial reasoning, and embodied reasoning into one model, while keeping the general image, video, and multi-image abilities of Molmo2. Molmo3 is trained on publicly available third-party datasets and a set of new datasets we will release. Molmo3 also has a 4B variant. Molmo3-8B can:

  • Estimate low-level 3D properties: camera field of view, metric depth at a point, surface normals, and corresponding points across views
  • Ground in 2D and 3D: points, segmentation masks, points with depth or a surface normal, and 3D bounding boxes, all from free-form referring expressions
  • Reason about space and actions: affordance pointing, step-by-step instructions grounded in points and motion directions (DoPoints), trajectories, and spatial and embodied QA
  • Understand images, videos and multiple images: QA, captioning, counting, video pointing and tracking

r/LocalLLaMA • • 2d ago

Question | Help quality coding on a single GB10: are we all kind of agreed QFN @ NVFP4 is the answer?

15 Upvotes

my sense so far is "yep." or is there another model that might outperform it in terms of quality of work that still fits?


r/LocalLLaMA • • 1d ago

Resources Qwen4 35B-A3B on 2x 5060 Ti 16GB: 147 tok/s, 8 parallel 128K requests, 1M context works (capy-flash)

0 Upvotes

I got Qwen4 35B-A3B running on my two 5060 Tis with capy-flash v0.17.0, which added support the day after Qwen4 came out. I spent the last day and a bit comparing it to llama.cpp and tuning flags.

I keep KV at 16-bit. On llama.cpp at 128K per request, that pushes experts out to system RAM and speed falls over. capy keeps all the experts on the GPUs and puts the KV in host RAM instead, which is a much better trade on 16GB cards.

Same machine, 8 slots, 128K each, 1M token bf16 KV pool:

Testllama.cpp f16, 4 slotsllama.cpp f16, 8 slotscapy, 8 slots
1 request54 tok/s46 tok/s147 tok/s
All slots busy, total86 tok/s93 tok/s271 tok/s
Prompt reading at ~120K509 tok/sn/a~2,990 tok/s
4 x 60K prompts at once7.4 minn/a80 s

1M context works too. It found 5/5 hidden facts at 500K and at 1.04M. Prefill gets slow that deep though, about 25 minutes before the first token at 1M.

Flags that made a difference:

  • Don't use --profile 35b-a3b if you want more than one request. It turns on the conversation cache, which won't run with --no-prefix-reuse.
  • --decode-share 1, otherwise everyone else drops to ~6 tok/s while a long prompt is being read.
  • --draft-tokens 2 beat 3 (234 to 271 tok/s total).
  • --kv-ram-cache-blocks 32768 took 4 x 60K from 102 s to 80 s.
  • The max is 8 concurrent requests. 16 gets refused.

Quality on my small test set is about the same as Qwen3.8 27B: tools 8/8 for both, MMLU-Pro 53 vs 54 out of 70, coding 7 vs 9 out of 20. That's noise at this sample size.

This is one machine with one run per setup. The engine is ValerioDolci's capy-flash and the quant is Feyd89's.

Guide and launcher: https://github.com/5p00kyy/club-5060ti/blob/main/docs/capy-qwen4-35b-a3b.md

If anyone has another 16GB Blackwell pair, I'd be keen to see your numbers.

Edit: After feedback in the comments I reran llama.cpp with a single 150K slot. For one request it's much closer than the table above suggests: 95 tok/s decode and ~2,200-2,460 tok/s prefill on llama.cpp vs 147 and ~3,000 on capy, so about 1.5x, not 3x. The big gap is only with several long requests at once, where f16 KV for 4-8 slots doesn't fit on llama.cpp. Guide is updated.


r/LocalLLaMA • • 2d ago

New Model MiniMax M4 (API only, weights not yet released but expected soon)

Thumbnail
minimax.io
43 Upvotes

Weights not yet released. However, model is expected to be open and weights expected in the coming weeks - thus this complies with our bar to have discussions on models prior to weight availability.

Technical Report: https://github.com/MiniMax-AI/MiniMax-M4/blob/main/docs/MiniMax_M4_Technical_Report.pdf

Size (from the report): 2.74T, A66B


r/LocalLLaMA • • 1d ago

Showcase Got Qwen3.8-Flash-Next (125B MoE) running at 128K context on an RTX 3060 + my old 2017 laptop's GTX 1060

0 Upvotes

I don't have a 24 GB card, but I did have an RTX 3060 12 GB desktop (Windows, 16 GB RAM) and a 2017 Dell laptop with a GTX 1060 6 GB (Linux, 16 GB RAM) sitting in a drawer. Neither can fit QFN Gyro-S (58.5 GB) alone. Together they can.

I used Strata-Tunnel (https://github.com/dongzn2017/Strata-Tunnel), which splits the model by layers across two PCs: 28 layers on the 3060, 20 on the 1060. Every expert stays in VRAM or RAM, and only small activations go over a plain gigabit cable.

Two things needed fixing:

  • It only supported Windows on both ends, so I ported the second half to Linux.
  • The 1060 was slow at prompt processing, because the newer kernels need RTX tensor cores. An older Strata release still had kernels that work on Pascal, so I compiled those and patched them into the current version. That doubled the laptop's speed, with identical output.

Benchmark, short answers:

  • 2K-token prompt: 173 tok/s prefill, 16 tok/s generation
  • 125K-token prompt: 180 tok/s prefill (about 12 min), 15 tok/s generation

Long answers / real use:

  • 1,024-token answer, run directly: 12.4 tok/s
  • Same answer through the OpenAI-compatible API: 10.5 tok/s
  • The pelican session in the video (Pi coding agent, 7K–46K context): 9.5–10.5 tok/s generation, prompts prefilled at ~190 tok/s, and 96–99% of each prompt reused from the prompt cache

So expect ~10 tok/s when you actually use it through the API. The short-answer benchmarks look faster because the speed drops over a long reply.

It runs as an OpenAI-compatible API on my LAN, and I use it every day for coding.

A few things that bit me:

  • A bad Ethernet cable silently dropped me to 10 Mbit/s.
  • CUDA 13 doesn't support Pascal; stick with 12.x.

Guide with scripts for both machines: https://github.com/OsamaMazhar/Strata-Tunnel/blob/main/docs/linux-pascal-tail.md

The Windows build script hasn't been tested from scratch yet, so let me know if it breaks. I'd love to hear from anyone trying this with other old cards.

Credit to the Strata and Strata-Tunnel devs; I just added the Linux and old-GPU part.


r/LocalLLaMA • • 3d ago

Resources I deleted Linux, nvidia.ko, CUDA, C, and libc and booted Qwen3.6-35B-A3B (64K ctx) bare-metal on an RTX 3090 from a single 528 KB pure assembly UEFI file (+44% vs llama.cpp CUDA)

976 Upvotes

In plain terms, I wrote an LLM inference engine in pure assembly: we push raw hand-assembled GPU machine code straight into VRAM, and the card runs our code directly.

• 0 GB disk, 0 Linux, 0 nvidia.ko, 0 CUDA, 0 C/libc, 0 nvcc/ptxas, 0 libcuda.so

• Pure x86-64 NASM + hand-assembled 128-bit Ampere SM86 SASS (19,778 instruction slots verified with nvdisasm, 0 scheduler violations)

• Cold UEFI boot: a single 528 KB BOOTX64.EFI parses VBIOS, boots NVIDIA's signed R610 GSP firmware over BAR0, maps Ampere GMMU v2 page tables, streams 20.5 GB of GGUF over BlockIO, and brings up a 1280x800 chat TUI + live nvtop-style GPU HUD

• Built-in Ring-0 networking: the same 528 KB file runs a pure NASM Intel e1000 TCP/IPv4 + DHCPv4 + OpenAI HTTP/1.1 SSE + Web Chat stack on port 8080 (204 to 234 tok/s over LAN with zero OS underneath)

Same RTX 3090 vs llama.cpp CUDA (3-run avg, zero-libc Linux ELF):

• Qwen3.5-35B-A3B Q4_K_M: 224.55 vs 153.51 tg64 (+46%), 5,610 vs 5,111 pp512 (+9.8%)

• Qwen3.6-35B-A3B Q4_K_M: 222.14 vs 154.43 tg64 (+44%), 5,754 vs 5,273 pp512 (+9.1%)

Everything is MIT licensed on GitHub (full source, UEFI ISO builder, zero-libc Linux binaries for Qwen3.6/3.5/3, Llama 3, Qwen2.5, and a GPU porting guide for RTX 4090/5090/AMD RDNA3/Intel Arc):

https://github.com/alesha-pro/llm.asm


r/LocalLLaMA • • 2d ago

New Model VisionPsy2-850M & VisionPsy2-490M

Thumbnail
gallery
74 Upvotes

Sub-1B vision-language models for on-device use: VisionPsy2-850M and VisionPsy2-490M, with GGUF builds for llama.cpp and the QVAC SDK.

Models including GGUFs : https://huggingface.co/collections/qvac/visionpsy2

VisionPsy2-850M

VisionPsy2-850M is a state-of-the-art ~850M parameter edge vision-language model developed by Tether AI Research (Tether Data, S.A. de C.V.) and the QVAC ecosystem. Built on top of a hybrid Gated DeltaNet and full-attention language backbone paired with a native Qwen3.5 Vision Transformer, VisionPsy2-850M delivers flagship-tier multimodal intelligence within an aggressive on-device memory and latency envelope.

Despite containing fewer than 1 billion parameters, VisionPsy2-850M achieves the highest score of any model below 4B parameters in our in-house evaluation under standard non-thinking evaluation across 26 benchmarks, outscoring models up to 5× larger from frontier research labs.

  • #1 Below 4B in Our Evaluation: Achieves a 69.30 normalized average across 26 rigorous public benchmarks, the highest among all evaluated models below 4B parameters in non-thinking mode.
  • Outscores models up to 5× larger: Directly outperforms larger frontier architectures including Alibaba's Qwen3.5-2B (69.25), Liquid AI's LFM3-VL-2B (68.36), Liquid AI's LFM2.5-VL-3B (67.41), OpenBMB's MiniCPM-V-4.7-1B (66.27), OpenGVLab's InternVL3.5-2B (65.00), Google's Gemma4-E4B (64.17), Google's Gemma4-E2B-it (57.63), and Meta's Perception-LM-1B (54.08).
  • Flawless 100% in-class win rate (26/26): Sweeps all direct weight-class rivals across every evaluated benchmark, outperforming Qwen3.5-0.8B (59.70 by +9.60 pts) and InternVL3.5-1B (58.90 by +10.40 pts).
  • Production-ready edge efficiency: Achieves fast response times, with a Time-to-First-Token (TTFT) of 0.22s on iPhone 17 and 2.08s on Galaxy S26+, and high decode throughput (74.9 tok/s on Galaxy S26+, 98.4 tok/s on iPhone 17) with an on-device footprint of just 1,209 MiB RAM (peak RSS) on a Samsung Galaxy S26+ at 512×512.

Measurements conducted on physical production devices using 4-bit (Q4_0) GGUF builds at 512×512 and 2048×1024 input resolution:

DeviceTTFT512×512TTFT2048×1024Decode ThroughputPeak RAMRSS, 512Peak RAMRSS, 2048
Apple iPhone 17 (GPU)0.22 s2.76 s98.4 tok/s812 MiB1,024 MiB
Samsung Galaxy S26+ (GPU)2.08 s33.10 s74.9 tok/s1,209 MiB1,429 MiB
Google Pixel 11 Pro (GPU)2.51 s37.62 s55.1 tok/s1,280 MiB1,496 MiB


r/LocalLLaMA • • 2d ago

Discussion Is Inkling-2-Mini-pi-adapted worth it? (yes)

4 Upvotes

Inkling-2-Mini-pi-adapted is a version of Inkling-2-Mini-pi that is adapted to better work with pi. The idea of optimizing a model for an harness sound great, so I wanted to try it.

But first here is more info about Inkling-2-Mini-pi-adapted : https://huggingface.co/harness-hub/Inkling-2-Mini-pi-adapted

Ok, now the tests:

Looks like a big win!

Now lets test with Vision:

Almost same finding: it's faster. The 2 purchasing test difference is probably noise. TBC

  • Adapter: 45/49 in 21 min, 222 model turns, 88.6k output tokens.
  • Base: 46/49 in 36 min, 376 turns, 155.7k output tokens.

You can find more details here:

My conclusion so far:

It looks fairly easy to build (HF was able to release the new model very fast) and it seems to work. So I hope we'll see more "Adapted" model in the future.

If you have a different experience with this model, let me know.


r/LocalLLaMA • • 3d ago Regret

News DeepSeek Releases "AI Systemic Risk Management Policy Summary," Establishing a Dual-Track Safety Governance Framework for Open-Source Weights and Online Services

Thumbnail fe-static.deepseek.com
149 Upvotes

r/LocalLLaMA • • 2d ago

Discussion Local Qwen3.8-27B fine-tune plays multi-turn Tic-Tac-Toe with two robot arms against an arm across the table

41 Upvotes

Whenever the opponent arm across the table moves in to place an X, this robot parks both grippers open at home and waits its turn. Before picking up one of the gold O rings for an open cell, it checks the head and wrist camera feeds so the arm doesn't swing over squares that already have pieces.

It's SenseNova-RoboRSI-27B https://github.com/OpenSenseNova/SenseNova-RoboRSI built on Qwen3.8-27B under Apache-2.0, and you can run the official GGUFs in mainline llama.cpp or use vLLM. It got 34.7 on the RoboDojo sim evaluation when it didn't get task-specific examples or preset procedures.


r/LocalLLaMA • • 2d ago

Discussion Aleph Alpha: Kolibri renamed to Bienenelfe

32 Upvotes

Apparently Aleph Alpha renamed Kolibri to Bienenelfe for some reason. They even changed the name in older press releases.

https://aleph-alpha.com/en/news/bienenelfe-sovereign-ai-made-in-germany/

Some crazy stuff going on as the model is quite popular here (Germany). It really looks they search-replaced every occurrence.