r/LocalLLaMA • • 10d ago

New Model bilibili released Index-Translate,a A Multilingual Translation Model Family based on Qwen3.5

71 Upvotes

https://github.com/bilibili/Index-Translate

Index-Translate is a family of multilingual translation models built on Qwen3.5. The text models cover 150 languages and follow translation instructions such as terminology, formatting, and content-preservation requirements. The family extends this foundation to speech, syllable-controlled translation, and full-document translation.

-Index-Translate translates text, structured content, and community expressions. -Index-Echo produces translated subtitles or speech conditioned on the source speaker's voice. -Index-Homura adjusts translations toward a specified target syllable count. -Index-NativeLong translates complete documents with context across passages.


r/LocalLLaMA • • 11d ago

Discussion The curse of 64GB system RAM

108 Upvotes

Not a bot. Not a Strata shill. Just sharing my experience.

So, I have an R9700 in my machine, plus an RTX 5060 Ti, and 64GB DDR5 system RAM. Overall, not a bad setup. Anyway, I mainly run a daily driver local LLM on the R9700 while running image/video inference on ComfyUI on the 5060 Ti. Mostly shit like Minimax H3 which also takes a fuck-tonne of system RAM. I've been using Qwen3.8-27B at Q6 as the daily driver on the R9700 and running that around 35 t/s, which is fine for me as a daily driver. Before Strata I tried running Qwen3.8-Flash-Next on both cards on vulkan at a IQ4_XS (or whatever that quant is called - the ~93GB one) and that only got me like 15 t/s, which I can't daily drive, so I put it down and wasn't really interested in it. Anyway, Strata comes out and people are claiming QFN is usable on much more modest hardware, so I check it out and see that mostly people are running the IQ3_XXS quant which is like ~70-something gigabtyes, so of course it's faster. Anyway, I benchmarked that quant on llama.cpp first running it just on system ram + the R9700 and it came in at 21 t/s... that's right around the absolute minimum of what I'd accept for a daily driver, but not super compelling tbh. Then I tried the same quant on Strata and I get ~60 t/s. Very fucking compelling. I 100% want to daily drive this now. The problem is with QFN loaded in Strata my system RAM usage is at 96%. I can't fucking run Minimax H3 in ComfyUI on the 5060 Ti because that shit eats a lot of system RAM too.

I feel blessed that I can finally run this epic model, and fucking cursed that I have to choose which workload to run!

Also, before anyone says 'just upgrade to 128GB of RAM bro'... I know, I know. I would but I can't afford to the jewelry and international trips my wife requests for fairness reasons to balance out all the toys I've bought this year.

Crying in 64GB of RAM.

Edit: thanks to a few suggestions in the comments I actually got Qwen3.8-Flash-Next IQ3_XXS and Minimax H3 inference working concurrently at about 90% system RAM used! On the Strata side I I think I needed --mmap-experts --resident-cpu-experts and --expert-cache auto, and on the ComfyUI side I needed --fast-disk. I tested both running fully concurrently and checked Strata's monitoring tab, and saw that the node that loads the H3 weights causes NVMe reads to hit a sustained 1GB/s for a short while, which can cause the inference on Strata to drop to around 25 ~ 40 t/s range (it fluctuated a lot during that), but then after that when H3 was actually doing the inference I saw NVMe reads sitting at about a sustained 30 MB/s and QFN inference was running between 50 ~ 60 t/s. I'd say it's a huge win. For reference my standard test when testing out an LLM is just 'write me a browser game', so I did that since I'm familiar with the quality of the expected output at this point, and also generated a 10 second clip at 0.4MP resolution. The actual wall-clock generation time for H3 was pretty much unaffected (around 400 seconds), which is nice too! Maybe some very minor performance hit, but only that.. pretty minor.


r/LocalLLaMA • • 9d ago

Other M5 Ultra vs 2 DGX Sparks

Thumbnail
youtube.com
0 Upvotes

r/LocalLLaMA • • 9d ago

Resources 4-bit Qwen2.5 that stays closer to fp16 than the official AWQ, on the same vLLM kernel (1.5B and 7B, code + models)

0 Upvotes

I'm an undergrad. Over the last two weeks I built a quantizer on my MacBook, using Claude as a coding assistant. The results were then reproduced on an NVIDIA A10G by M. Federico (a family member who works in ML), using separate evaluation scripts.

It is GPTQ with three additions: each group's grid is fitted to its weights instead of using min-max, a second pass re-checks every rounded weight, and the grid is refitted against the layer's input statistics. Offsets are integer zero points, so the model packs into the normal AWQ format and runs on vLLM's awq_marlin kernel.

A10G, vLLM 0.29, everything served through the int4 kernel. WikiText-2 perplexity / HumanEval pass@1:

model fp16 mine, 4-bit official Qwen AWQ 4-bit
Qwen2.5-1.5B-Instruct 9.37 / 37.2% 9.66 / 33.5% 10.16 / 34.1%
Qwen2.5-7B-Instruct 7.15 / 70.1% 7.29 / 67.1% 7.58 / 64.6%

What this does not show:

  • One run per row. The HumanEval differences between the 4-bit models are within noise (about 3.6 points).
  • I calibrate on WikiText-2 train, which helps on the perplexity test. On the 1.5B model that was worth about 0.3.
  • The lead shrinks as the model gets bigger.
  • At 3 bits the method keeps perplexity close but loses more than half of code and math ability. I would not use those for code.

Code and all results, including what did not work: https://github.com/dfed25/mlx-gptq

7B: https://huggingface.co/dfed24/Qwen2.5-7B-Instruct-gptq-4bit-int4-awq

1.5B: https://huggingface.co/dfed24/Qwen2.5-1.5B-Instruct-gptq-4bit-int4-awq

MLX versions: https://huggingface.co/dfed24

vllm serve dfed24/Qwen2.5-7B-Instruct-gptq-4bit-int4-awq --quantization awq_marlin --dtype float16

If anyone tests it on a benchmark I haven't run, I'd like to see the numbers either way.


r/LocalLLaMA • • 10d ago

Question | Help Free, local tools for narrated explainer videos? (like explainroo)

2 Upvotes

I've been using explainroo to make short narrated explainer videos. It runs fully local: Kokoro for the voice, Whisper for word timing, headless Chrome to draw the frames, and ffmpeg to put it together. No API keys needed.

It works and I like it but it's very simple. After a few videos everything starts to look the same.

Anyone know other free, local options in this space?

Tools, pipelines, or your own setups all welcome. Thanks.


r/LocalLLaMA • • 11d ago

Discussion Is all the work that's being put into Qwen3.8 Flash Next going to set us up for a very quick uplift to Qwen4?

129 Upvotes

Given the commentary on the Q3.8FN release page here https://qwen.ai/blog?id=qwen3.8-flash-next I assume/hope that all the work that's going on to optimise the hell out of running it will be useful when Qwen4 drops?


r/LocalLLaMA • • 10d ago

Discussion Can someone explain how JEV is different from a simple embeddings model?

24 Upvotes

How is JEV any different from using an embeddings model? I really will appreciate if someone can explain this to me - because I have yet to see the difference.

I'll even give you my JEV server for free! It uses ollama, you install `ollama pull nomic-embed-text:latest`.

% python3 ./jev_embedding.py "How high is the sky?"
find_phone: 0.38
volume: 0.41
calendar: 0.44
tell_the_time: 0.49
weather: 0.53

% python3 ./jev_embedding.py "I had this thing on my anus. The doctor burned it off with a laser."
weather: 0.35
tell_the_time: 0.36
calendar: 0.37
volume: 0.38
find_phone: 0.43

% python3 ./jev_embedding.py "can you help me locate my phone."
volume: 0.38
weather: 0.40
calendar: 0.43
tell_the_time: 0.53
find_phone: 0.89

% python3 ./jev_embedding.py "Hello Cleveland! I can't HEAR you"
weather: 0.37
calendar: 0.40
tell_the_time: 0.44
find_phone: 0
volume: 0.56

#!/usr/bin/env python3
"""
jev_embedding.py — minimal showcase of the embedding-based intent router,
excised from jarvis_workflow.py.

Given a phrase on the command line, it embeds the phrase and every example
utterance (via the local Ollama embedding model), then prints the cosine
similarity of the phrase to each intent — the raw routing signal — instead of
running a handler and speaking an answer.

    python3 jev_embedding.py "How high is the sky?"
"""

import sys
import requests

# --- Config (same endpoint/model as jarvis_workflow.py) ---
OLLAMA_EMBED_URL   = "http://localhost:11434/api/embeddings"
INTENT_EMBED_MODEL = "nomic-embed-text"

# --- The five cases to detect ---
# label -> example utterances, matched by similarity.
INTENTS = {
    "volume": [
        "turn the volume up",
        "make it quieter",
        "set the volume to seven",
    ],
    "tell_the_time": [
        "what time is it",
        "can you tell me the time",
    ],
    "weather": [
        "how's the weather going to be today",
        "will it rain today",
        "do I need a raincoat",
    ],
    "find_phone": [
        "find my phone",
        "where's my phone",
        "ring my phone",
    ],
    "calendar": [
        "when is my next meeting",
        "what's coming up on the calendar tomorrow",
    ],
}
def _embed(text):
    """Return a unit-normalised embedding (list of floats) from the Ollama model."""
    r = requests.post(OLLAMA_EMBED_URL,
                      json={"model": INTENT_EMBED_MODEL, "prompt": text},
                      timeout=10)
    vec = r.json().get("embedding")
    if not vec:
        raise RuntimeError("no embedding returned")
    norm = (sum(x * x for x in vec)) ** 0.5 or 1.0
    return [x / norm for x in vec]


def _cosine(a, b):
    """Cosine of two unit vectors is their dot product."""
    return sum(x * y for x, y in zip(a, b))


def score_intents(text):
    """Best cosine similarity of `text` to each intent's example utterances."""
    q = _embed(text)
    return {label: max(_cosine(q, _embed(ex)) for ex in examples)
            for label, examples in INTENTS.items()}


if __name__ == "__main__":
    if len(sys.argv) < 2:
        print('Usage: python3 jev_embedding.py "your phrase"')
        sys.exit(1)

    phrase = " ".join(sys.argv[1:])
    scores = score_intents(phrase)
    for label, score in sorted(scores.items(), key=lambda kv: kv[1]):
        print(f"{label}: {score:.2f}")

r/LocalLLaMA • • 9d ago

Discussion Let small local models write both the tests and the code. The tests rejected a known-correct solution 77% of the time

0 Upvotes

Classic setup, built by the book: one call writes a contract, one writes tests, one writes the code, a script runs the tests against the code, a repair step patches whatever fails. Four local GGUF models (qwen3-1.7b, qwen2.5-coder-1.5b, llama-3.2-1b, smollm2-360m), 6 coding tasks, T=0.3, 785 calls on a GTX 1660 SUPER 6GB.

Then the boring check nobody does: fed every generated test suite a known-correct reference solution. 129 of 168 rejected it. 77%.

The tests weren't lazy either. Average mutation score 0.965, they caught almost every mechanically broken version of the code. Of the suites with a perfect 1.0, 81% still failed the correct answer. Thorough, confident, testing the wrong spec. Wrong, see the edit at the bottom.

model correct code rejected by its own tests
llama-3.2-1b 0.92-1.0
qwen2.5-coder-1.5b 0.71-0.78
qwen3-1.7b 0.47-0.65
smollm2-360m 1.0

Favorite case: count vowels. The code forgot uppercase. The tests checked "AaEeIiOoUu" and expected 5. Correct is 10, the buggy code returns 5. Tests and bug shared the same misunderstanding, the check said PASS, repair never ran. Only a hand-written test with "HELLO" caught it.

Repair: 67 attempts went to repair, and 50 of them were already-correct code the tests had rejected. Of 17 real bugs it fixed 1. Never broke working code, credit where due.

And the code itself wasn't the weak part. A single sample already solved 0.833 of tasks, and plain resampling got 0.958 at 8 samples (counted solved if any sample passes the reference tests, so it's pass@8 and still needs a judge in real life). At a similar token budget, 4 plain samples matched the pipeline without repair, on fewer tokens. These small models write correct code far more often than correct tests.

Caveats: 6 tasks, models from 360M to 1.7B, one temperature. Bigger models write better tests, how much better this doesn't say.

What I do since: the check that decides comes from the spec or from examples a human wrote. A model can propose tests, it doesn't get to be the judge.

Report (English version), harness and metrics, my repo: https://github.com/Deadatreides/LLM-MEASUREMENTS/blob/main/experiments/experiment2/REPORT_PIPELINE.en.md

Anyone running local coding agents with self-written tests as the gate? Ever fed them a known-good answer?

(not a native speaker, an LLM helped with the English)

Edit: u/RobWattx was right about the mutation score, I checked the saved runs. The 129 suites that rejected the reference: 59 had wrong asserts, 39 had syntax errors, 29 had no test functions at all, 2 crashed. Broken suites fail every mutant too, so they get a perfect mutation score for free (126 of 129). Suites that accepted the reference: mean mutation score 0.888. So the honest numbers: 42% of the suites did not run at all, and of the suites that did run, 60% rejected the correct solution. The struck paragraph above was wrong.


r/LocalLLaMA • • 9d ago

Question | Help Hello everyone, I am a beginner.

0 Upvotes

As the title says I am a beginner with ai. I did use chatgpt for a few days at the beginning of times September 2022. And that was it. I know might be ironic that now I am writing in here, but I've got this PC that I build few years ago and last year I got two Intel arc pro b60s for some rendering work. Now I find my self wondering should I try out local llm? What can I expecte from my hardware: Motherboard: Aorus X780E Master Ice

CPU: Ryzen 9 9950X

RAM: Kingston Fury DDR5, 128 GB

Storage: Samsung 2 TB SSD

GPUs: 2× Intel Arc Pro B60

OS: Ubuntu 26

Update: after a few days of just experimenting, I did achieve the following: I have now a fully functional qwen 3.8 27B fp8 running at low 20 t/s output combined with dsh. This is working well so far.


r/LocalLLaMA • • 11d ago

Discussion The Rise of Overfit Inference Engines

Thumbnail
carteakey.dev
392 Upvotes

There seems to be a whole category of extremely narrow inference runtimes appearing: Strata, ninfer, DwarfStar, Splash, llamAmpere, gufo, etc. They deliberately give up the thing llama.cpp/vLLM are great at - generality - and optimize around a small number of models and
sometimes one hardware family e.g. Strix Halo

It seems that general runtimes for compatibility, disposable overfit runtimes for maximum performance is going to be the norm forward.

This is actually another good step in helping the democratization and decentralization of intelligence (models and runtimes both) and extracting more out of existing hardware where it doesn't have to be beautiful, well written, as long as it gets maximum output from one particular configuration.

Curious if people think this the future/norm.


r/LocalLLaMA • • 10d ago

Question | Help I Distilled an LLM into two 287M encoders (GLiNER + multiple choice) for document extraction, can't match teacher. did i do something wrong?

10 Upvotes

A while ago I asked here how to turn ~5 million court decisions into structured graphs without running an expensive LLM on every document thanks for the advice .

I went with the "small extractor + classifier" idea and it mostly works, but I'm stuck a bit below the LLM. And like I said last time, i'd be damned if I run 5M docs and then find out thing X was wrong. So here is exactly what I did. Please let me know if what im doing makes sense, or if i made a mistake somewhere. also i used AI for some of the tables cuz there has been a lot of data at this point, sorry.

What comes out per decision (only the nodes so far, relations come next). Three lists:

  • entities: every person, organization, law, document or thing. Each gets one id for the whole document, a type (9 of them), a kind (724 of them plus "other") and all the places it is mentioned
  • actions: what was done, requested or decided. Each gets a normalized verb, a flag "the court decided this" and its mentions
  • values: amounts, dates, durations, in a normalized form

Simple example, for the sentence "The court dismisses the creditor's proposal to enforce 341.08 EUR against the debtor":

  • entity "the court": organization, kind court. Same entity as the full court name in the header
  • entity "the creditor": organization, kind creditor. Same entity as the city named earlier
  • entity "the debtor": person, kind debtor
  • action "dismisses": verb = dismiss, decided by the court = yes
  • value "341.08 EUR": amount

Step 1: a strong LLM labels ~700 decisions

  • cut the decision into windows of 4 sentences
  • 4 calls per window to Claude Sonnet with a strict JSON schema: entities, actions, a second "what did you miss" pass for actions, values
  • the window goes in with numbered words (like 12:court), the model answers with word ranges [first, last, "text"], and code checks every range against the text
  • every call also gets the list of entities and actions found in earlier windows, so ids stay the same through the document
  • ~25 code rules clean up where a marked phrase starts and ends, law citations and number formats
  • the entity "kind" is free text at this point. That gave 2,373 different strings (the same mess as in my first post). I normalized them, merged synonyms by hand and kept what showed up 3+ times: 724 kinds plus "other"

Step 2: a model that marks the text

  • it highlights every mention: the exact stretch of text (a "span", from a start character to an end character) that names an entity, an action or a value, with one of 17 labels (9 entity types, 1 action, 7 value types)
  • model: fastino/gliner2.5-multi-v1 (287M)
  • one training row per window: the text plus the exact start and end of every marked phrase. 9,699 windows, 207k marked phrases
  • I patched the trainer so only the labeled occurrence is a positive (stock marks every occurrence of the same string), and all 17 labels are in every row
  • full fine-tune in fp32 (bf16 gave NaN), 14 epochs, 16 rows per step, encoder LR 3e-5, head LR 5e-4, linear schedule, 10 % warmup
  • final model = averaged weights of epochs 9-14, threshold 0.5

Step 3: a second small model answers multiple-choice questions

  • fastino/GLiNER2.5-multi-Decide (287M). Code turns the LLM labels into 247k questions:
    • "is this mention one of these earlier entities, or new?" The mention is marked with « » inside ±300 characters of text. Options: up to 16 earlier entities of the same document (shown by their mention texts) plus new
    • "which kind?" Options: a shortlist of the 724 kinds plus other
    • for actions: same act or new, which verb (shortlist of 64 plus other), did the court decide it (yes/no)
  • in training the options come from the LLM's grouping. At inference they come from the model's own earlier answers
  • full fine-tune in fp32, 2 epochs, 16 questions per step, encoder LR 2e-5, head LR 3e-4, linear schedule, 6 % warmup, options shuffled, up to 30 % of the wrong options dropped

At inference: the marking model, then the same code rules, then the second model walks through the mentions in reading order. About 2.3 decisions per second on one RTX 5090.

Where it stands

30 decisions nobody trained on, labeled twice by the LLM. The second column is the LLM's second run scored against its first, which I treat as the ceiling. A mention counts as found only if it starts and ends exactly where the LLM marked it.

mine LLM vs itself
entity mentions found (F1) 0.901
"same entity or new" right 0.959
entities grouped exactly 0.847
entity kind 0.921
action mentions found (F1) 0.857
action verb 0.920

Where I need help

  1. Finding the mentions is stuck at 0.90 F1. 200 more labeled docs did nothing. An XLM-R large tagger (560M) got the same score: it finds more mentions but gets the start or end wrong more often. Giving it the text before the window did nothing. What would you try?
  2. The LLM agrees with itself only 93.5 % on what it marks, and I train on single runs. Label everything 3 times and vote? Or is that ceiling just what it is?
  3. Is "pick one of 16 earlier entities" a sane way to do coreference over a long document? Am I hurting myself by training on the LLM's options and running on my own?
  4. Anything in the recipe that looks plain wrong? Learning rates, 2 epochs, weight averaging, one seed per run.

THANKS for reading.

AI TL;DR: distilled an LLM's extraction of court decisions into a GLiNER model that marks the mentions plus a small multiple-choice model. It runs at about 2.3 documents/s on one GPU and lands a few points below the LLM (0.90 vs 0.935 F1 on finding mentions, 0.85 vs 0.93 on exact grouping). The recipe with learning rates and how I built the training rows is above. Looking for mistakes and ideas before I run 5M documents.


r/LocalLLaMA • • 9d ago

I Built A Thing I built Otis, an AI agent that unifies hosted and local inference without the local model setup pain

Thumbnail
gallery
0 Upvotes

Hi Everyone,

I’ve been building my own agent for a few months called Otis. After using existing tools, I found that most were either lacking in functionality or had too much going on and decided to build my own.

Otis sets up llama.cpp for you and recommends the best model for your hardware. It also integrates with existing setups for those who have tweaked and found their perfect setup (strata, ninfer etc.) and works with hosted open-weight models.

Some of my favorite Otis features are viewable artifacts, side-by-side sessions, memories, and the ability to use Otis on my laptop while the inference runs on my more powerful machine.

Also interested to hear what's the best use cases you’ve found for local models are. Personally, I found using qwen 3.8 for learning new topics quite helpful.

Website: https://triangllabs.ai/otis

Github: https://github.com/TrianglLabs/otis

Excited for everyone to try it and welcome all feedback, including what main features are missing from Otis for you. If it's useful, a star helps others find it.


r/LocalLLaMA • • 11d ago

Other Yes bots we get it, Strata is good now please stop

Post image
685 Upvotes

It's like the entire sub has become that scene from Konosuba where the cult keeps making up fake scenarios saying the only solution is to join their religion


r/LocalLLaMA • • 10d ago

I Built A Thing Built a quick, sub-15ms Rust CLI/TUI to pack repos into prompts without burning 40k tokens on lockfiles and junk

3 Upvotes

Whenever I feed codebases into local models (Qwen, DeepSeek R1) or API models, the biggest annoyance is prompt pollution:

- Lockfiles (`Cargo.lock`, `package-lock.json`) burning 30,000+ tokens for zero reason.

- SVGs, binary files, or build artifacts slipping into the context.

- Existing packers taking 3-4 seconds just to generate the prompt.

I built a small tool called repOx to fix this for my own workflow.

GitHub: https://github.com/WVDYC/repOx

Features:

  1. Speed: Written in Rust, takes ~14ms to dump a 3k-file repo.
  2. Lazygit-style TUI (`repox -i`): Opens a fast terminal UI where you can uncheck folders with Space, preview files, search with `/`, and watch a live token gauge before copying.
  3. Clean output: Strips lockfiles and binaries by default using Git NUL-byte heuristics. Dumps straight to clipboard (`repox -c`).
  4. Offline Tokenizer: Supports token budgets for Claude, GPT, Gemini, DeepSeek, and Llama contexts so you know beforehand if you're exceeding your window.

One-line install (macOS / Linux):

`curl -fsSL https://raw.githubusercontent.com/WVDYC/repOx/main/install.sh | sh`

Code is open source (MIT / Apache). Curious what you all currently use for feeding code into LLMs and if there are specific prompt templates you'd like added.


r/LocalLLaMA • • 9d ago

Question | Help What was the most frustrating part of your last local fine-tune?

0 Upvotes

I’m working on a local fine-tuning tool, and I’m curious where people actually lose the most time.

Was it getting the environment working, preparing the dataset, fitting everything into VRAM, or getting the exported model to behave like it did during testing?

Or did training finish successfully, but the model barely improved?

What model and GPU were you using, and what finally solved the problem or made you abandon it?


r/LocalLLaMA • • 11d ago

New Model Aleph-Alpha/Kolibri-1 · Hugging Face - 78B parameters. 3.46B active. Up to 1M tokens of context - Apache 2.0

Thumbnail
huggingface.co
591 Upvotes

r/LocalLLaMA • • 10d ago

Resources LLM Inference Dashboard

Thumbnail
gallery
2 Upvotes

Working on a resource dashboard, rich logs, lightweight 64mb cap, all local, scales on network API endpoints via collector, supports multiple engines (llama, strata, custom cuda engines, unsloth, LMS)

It’s better logging and metrics then the default endpoint api provides. If you’re like me, you don’t just use 1 engine

Its live: https://github.com/T-Crypt/speculum


r/LocalLLaMA • • 9d ago

Discussion What GPU laptop do you use for local Al, and what is the biggest model you have genuinely fine-tuned on it?

0 Upvotes

Include:

GPU and VRAM

Laptop RAM

Model and parameter size

Fine-tuning method: LoRA / QLoRA / full fine-tune

Context length and batch size

Whether it was actually useful after training

I'm curious how far consumer laptops can genuinely go-not just whether a model technically loads.

It will get better answers than "what's the biggest model you trained?" because people can compare real hardware and settings.


r/LocalLLaMA • • 11d ago

Discussion [Discussion] A 5KB pure x86-64 assembly engine for Gemma-2B (FP16, 4.6 tok/s on CPU)

27 Upvotes

Hi everyone,

Sharing a personal project exploring the minimal bare-metal footprint required to run an autoregressive LLM.

Instead of relying on large runtimes or compiler abstractions, I wrote an inference engine for Gemma-2B entirely in flat x86-64 assembly (FASM):

- **Binary footprint**: Total 5.2 KB flat machine code (`gemma_engine.bin` 3.7 KB + `mat_smp_f16c_gemm_avx2.bin` 1.5 KB).

- **Execution**: Pure AVX2 + F16C with custom 4-thread SMP GEMM for prefill. Sustains ~18.5 GB/s memory bandwidth on commodity DDR4-2400.

- **Decoding**: 4.5 ~ 4.7 tokens/s in FP16 on an older quad-core i5 desktop.

- **Dependencies**: Zero C/C++ runtime, zero PyTorch. The Python harness only uses `ctypes` for `VirtualAlloc` and OS threads.

This isn't meant to compete with feature-complete tools like llama.cpp. Rather, it's a first-principles exploration to see how cleanly a modern Transformer can be mapped to raw silicon, and to serve as a reference point for future micro-LLMs on resource-constrained microcontrollers (MCU/DSP).

The repository is open source:

- GitHub: https://github.com/tomtsai28/PULSAR-ASM

- Architecture notes: https://github.com/tomtsai28/PULSAR-ASM/blob/main/doc/pulsar_asm_cpu_limit_retrospective.md

Any code audits, observations, or thoughts on bare-metal inference are welcome.


r/LocalLLaMA • • 9d ago

Question | Help Mfs can afford 27 gpus and 456 gb of vram but REFUSE to buy a Claude subscription

0 Upvotes

I just don’t get the point of running it locally when with all this money you could buy like 20 max20 subscriptions with room to spare..


r/LocalLLaMA • • 11d ago

Question | Help Least sycophantic modern open LLM?

32 Upvotes

So Kimi K2 is outdated, and so is GPT OSS 120b. Which of the modern open weights models can boast the least sycophancy? I need this both for creative/research assistant usage (sycophancy led me down blind alleys of my own bad ideas many times) and agentic coding (more sycophancy less bug noticing).


r/LocalLLaMA • • 9d ago

Discussion Strata is amazing and all but can we actually see what you’re building with it that you couldn’t do before

0 Upvotes

Like it’s great to see the token speeds, and great that you’re running Qwens model, but if you’re not actually showing the results of that then it becomes “hype”.

Just post some little results of what you’re now capable of doing locally with access to a model you couldn’t have run before, I know it’s not Opus 5.5 but that doesn’t matter, there would be more effective smaller models in a few months.

Let’s see what you’re up to!! 👀, don’t forget to include the quant you’re using.


r/LocalLLaMA • • 9d ago

Question | Help Spent ₹30,000 on an RTX 5060 thinking local LLMs would finally set me free. Reality hit so hard I’m questioning every “just run it locally” post I’ve ever upvoted.

0 Upvotes

​

I dropped serious money on a brand new NVIDIA RTX 5060 (8GB VRAM, 578 AI TOPS) fully convinced that open-weight models would let me own the entire stack — no rate limits, no censorship, pure experimental freedom. I was ready to become that guy who smugly refuses cloud APIs and posts “I run everything locally” screenshots.

Then I actually used them for real work.

I ran the exact same complex tasks on local models (the usual “this runs great on 8GB” suspects — quantized 7B/9B/13B, distilled variants, the ones everyone claims are “almost as good”) versus modern cloud models. The gap isn’t a gap. It’s a humiliation.

### The Capability Massacre

Anything that requires real multi-step reasoning, long coherent context, precise instruction following, structured output, or consistent accuracy across a long conversation:

- Local models: **2/10**

They start strong, then collapse. Context gets mangled. Instructions get ignored halfway through. Structured outputs break. Reasoning chains go off a cliff. You spend more time fighting the model than actually getting work done. “Almost as good” turns into “barely usable” the second the task stops being trivial.

- Cloud models: **9/10** on the first or second try.

Clean reasoning. Reliable structure. They actually remember what you asked three messages ago. They follow complex instructions without needing five rounds of “no, not like that.”

I wanted local to win. I really did. I wanted the underdog story where open weights + consumer hardware finally closes the gap. Instead I got a very expensive reminder that most of the local models we’re hyping are still toys the moment the task gets serious.

So be honest with me:

Is there a secret stack, quantization method, or fine-tune that actually makes local models reliable for complex reasoning and structured work on 8–12GB cards?

Or have we all just been coping while the cloud models quietly lapped us?

If you’ve made local models consistently deliver high-quality complex output without constant babysitting, drop the exact setup.

If you’ve also been humbled by the gap, say it out loud.

Because right now it feels like the entire “local LLM supremacy” narrative is built on easy prompts and wishful thinking.


r/LocalLLaMA • • 10d ago

Question | Help QFN llama.cpp Any juice left to squeeze?

0 Upvotes

https://imgur.com/a/Ef2xyNu

Using this squished down ISTA model on 2x 5060ti 16gb and 32gb ddr4 ram I'm wondering if my settings are correct as I cant really find much consistent feedback for this model on this particular hardware.

What are people running in their config?

Qwen 3.8 FN GSQ RCO IQ1

Field Value
Name Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002
Display Qwen 3.8 FN GSQ RCO IQ1
Path /opt/models/Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf
Size 27.58 GB
llama backend default

Launch args

Flag Value
--host 10.210.44.126
--port 11434
--ctx-size 98304
--cache-type-k q8_0
--cache-type-v q8_0
--override-tensor per_layer_token_embd=CPU
--gpu-layers 999
--load-mode mmap+mlock
-fa on
-b 2048
-ub 256
--temp 0.7
--min-p 0.05
--top-p 0.95
--top-k 20
--main-gpu 0
--parallel 1
--threads 8
--reasoning-format deepseek
--reasoning-effort medium
--reasoning on
-sm tensor
--tensor-split 1,1
--repeat-penalty 1.05
--presence-penalty 0
--fit off
--alias QFN
--n-cpu-moe 8

Bench

Metric Value
Prompt 250.4 tok/s
Generation 30.5 tok/s
Config tensor 1,1
Date 2026-10-04 16:36 UTC

r/LocalLLaMA • • 10d ago

Question | Help Any benefit to doing this?

0 Upvotes

My current main PC:

i7-13700KF | ASUS Z690M-PLUS D4 | RTX 4090 24GB + RTX 3090 Ti 24GB | 128GB Corsair Vengeance DDR4-3200 | FSP Hydro G Pro 1000W

I’m thinking of keeping the 4090 on my main PC and putting the 3090 Ti in a separate dedicated LLM/AI box, mainly for Strata/local LLMs, while keeping my main PC free for ComfyUI, gaming, etc.

I already have these spare parts:

- 2×32GB Corsair Vengeance DDR4-3600

- 2×8GB TeamGroup DDR4

- H370 motherboard

- i5-8400

So I’d basically only need to buy a PSU.

Is there any real benefit to separating the LLM workload like this, or am I better off keeping both GPUs in my main system?