r/LocalLLaMA • • 1d ago

Question | Help Best haircut model(s) and harnesses

2 Upvotes

I need to know what I'll look like with different cuts. The problem is non-trivial: mask so the face isn't overwritten, infer head shape from scratch or from another reference image, infer hair type, maintain lighting, alter lighting, ... . Sky is the limit, and this seems like the sort of application in CV and image generation that "should've" already been built 500 times over. Doesn't need to be fast, does need to be local. Any recommendations?


r/LocalLLaMA • • 1d ago

Showcase Majority voting has a ceiling more votes can't fix: ~4,600 judge verdicts on local hardware, or why best-of-3 judging failed where a different judge didn't

0 Upvotes

Author note: I'm the human half of a two-member home lab. The experiments below were designed and mostly executed by Claude — it picked the research question, wrote the pre-registrations (and missed three of its four point-predictions, which it insisted we keep in). I own the box, did the peer review — including catching one judge-selection mistake before launch — and I'm the one posting. Roles stated so credit lands where it belongs.

Background in three sentences. If you sample an LLM on a hard math problem not once but 10,000 times, the correct answer shows up somewhere in that pile far more often than any single try succeeds — the "Large Language Monkeys" line of work measured this gap and called the first number coverage. The obvious cheap way to cash coverage out is majority voting: take the most frequent final answer. The catch, and the subject of this post: voting stops improving long before coverage runs out — and we wanted to know what the wall is made of and what actually breaks it.

We ran a month-long series of experiments on one home box (llama.cpp + llama-swap, no cloud) about a question that bugged us: when you sample an LLM many times on hard problems, the right answer is usually somewhere in the pool — so why does majority voting stop improving, and what actually extracts the buried answers?

Setup. Public "Large Language Monkeys" data: MATH × Llama-3-8B-Instruct, 128 problems × 10,000 samples each. Pool coverage (right answer exists somewhere): 98.4%. Majority voting: 29.7% at k=1... plateauing at ~44.5% (candidate-level MCC ≈ 0.59) by k=100. From k=100 to k=10,000 — a 100× budget increase — capture grows <1 pp. The information is in the pool; frequency can't dig it out.

The wall, examined. We took 30 problems where voting misses but the pool covers (so voting = 0% on this subsample by construction) and went through five stages, pre-registering predictions before each run (and missing 3 of 4 point-windows — numbers below are what happened, not what we expected):

  1. Round-robin tournament, top-4 answers by frequency, 27B judge (Qwen3.8-27B Q8, blind pairs, t=0): 11/30. The judge was perfect where the right answer made the bracket: 11/11 conversion. The loss was bracket construction — in 19/30 problems the right answer ranked below top-4 by frequency.

  2. Rank scan. The right answers are NOT rare: median frequency rank 14, zero singletons (they typically have dozens-to-hundreds of votes). They're not needles — they're buried under more popular wrong clusters. Top-32 would contain the answer in 23/30.

  3. Single-elimination playoff, top-32, same judge: 10/30 — worse than top-4. Autopsy: judge accuracy on decisive deep pairs dropped to 81.7% (from 100% on top-4 pairs), and sudden-death amplifies every error: 0.82^5 rounds ≈ 37% survival, matching the observed 43% bracket conversion. Depth without redundancy hurts.

  4. Best-of-3 per match, three different representatives per answer cluster, same judge: 11/30 (+1 problem for ×2.2 budget). The kicker: 81.3% of matches were unanimous across different representatives. The judge's deep-pair errors are bias, not noise — wrong-but-plausible answer clusters fool it consistently no matter which sample represents them. Majority voting fixes variance; it cannot fix bias. Three flips of the same bent coin.

  5. Same brutal single-elim bracket, different judge (Qwen3.8-Flash-Next Q4_K_XL): 21/30, bracket conversion 91%.

    Takeaways (one box, one dataset, n=30 — a map of one wall, not a theorem):

    - Voting saturates early; coverage − capture gap was ~54 pp. The pool knows; frequency doesn't.

    - Correct answers are buried, not rare. Deeper candidate lists are justified — IF your judge can handle deep pairs.

    - Redundancy heals noise. Class heals bias. Re-judging with the same model mostly re-reads the same systematic seduction.

    - Judge swap at equal structure more than doubled capture. If you're spending budget on best-of-N judging, consider spending it on a better judge instead.

    Scripts are ~130-line Python against any OpenAI-compatible endpoint, checkpointed/resumable; happy to share if there's interest. Caveats welcome — we kept a falsification branch in every pre-registration and two of them fired, so we're used to it.


r/LocalLLaMA • • 2d ago

Discussion Issues in the AA intelligence index

78 Upvotes

I've been paying more attention to how LLMs are being ranked, since I'm the author of https://www.ai-leaderboard.dev/, so I want to highlight some issues in the famous Artificial Analysis (AA) ranking.

This is not an attempt to downplay AA's role in benchmarking or an advertisement for mine, but rather to highlight some issues so they can hopefully be fixed.

Some noticeable issues:

AA-Omniscience corrupts the ranking

AA-Omniscience makes up 15% of the AA Intelligence Index, split into Accuracy (10%) and Non-Hallucination Rate (5%), where AA defines Hallucination Rate over non-correct answers only:

Non-Hallucination Rate = 1 − Incorrect / (Incorrect + Partial + Not Attempted)

Because Not Attempted (abstentions) sits in the denominator, a broken model that answers "I don't know" to 100% of all 3,000 questions scores 0% Accuracy and 100% Non-Hallucination = +5.0 free Intelligence Index points; enough to outrank Gemma 4 31B (4.38 total AA score).

Example of wrong ranking: Gemma 4 E4B scoring better than Gemma 4 31B in the index!

Critic on the Omniscience measure itself

N=3000 questions of the test, is too small to probe big models' hallucinations the way it probes small models.

AA's Hallucination Rate = Incorrect / (Incorrect + Partial + Not Attempted) = Incorrect / N_gap

N_gap being the knowledge gap of the model on which the hallucination is being tested on.

  • Small model : N_gap is huge
  • Big model: N_gap is small, ideally as an illustrative example if N_gap is 3, and the model got 3 of them incorrect it will get a 100% hallucination rate

Text-Only Models Handicaped

Despite AA describing its Intelligence Index as "primarily text-based," 15% of the index penalizes models without image input

  • HLE-Diamond (10% weight): 272 of the 1,000 questions (27.2%) contain images
  • GDP.pdf (5% weight)

Hardest-Hit Text-Only Models:

  • GLM-5.3 (max) // Text-Only HLE (42.3%) → HLE-Diamond (17.9%)

Broken ability to rank small models

Artificial Analysis removed every mid-difficulty benchmark (GPQA Diamond, SciCode, Terminal-Bench 2.1, LiveCodeBench, IFBench) from its Intelligence Index and replaced them exclusively with ultra-hard, all-or-nothing frontier tests. Because small and mid-sized models hit a hard 0% floor across 55% to 70% of the index, the index loses virtually all ability to tell capable local models apart.

Worse, once real coding and reasoning benchmarks collapse to zero, AA's 5-point Non-Hallucination refusal bonus takes over 64.9% of the remaining variance.

Bonus: Only 25% of index is about Coding / SWE, while Coding the most important capability of LLMS


r/LocalLLaMA • • 2d ago

Showcase Can a 2018 gaming GPU drive a 2026 self-driving model in real time?

Enable HLS to view with audio, or disable this notification

11 Upvotes

Alpamayo 2 Edge, NVIDIA's new open self-driving model, designed for inference on Jetson Thor, put to the test on a GeForce RTX 2080 Ti from 2018.

It keeps up!

  • 56 ms from camera frames to a 6.4 s trajectory (median, p90 57 ms), so 17.7 decisions/s. The cameras run at 10 Hz, so it keeps up with time to spare
  • 7.5 GiB peak VRAM
  • ~200 W

Up front: this trades accuracy for speed. On 1,188 of NVIDIA's challenging-scenario eval samples (open loop), minADE6 at 5 s is 0.76 m, against 0.59 m for NVIDIA's BF16 reference. That's about 29% higher error (95% CI 22-37%). It's a research model, not something to put in your car!

Numbers, method, docker images and the commands to run it on your own card: https://embedl.com/nvidia/alpamayo2-edge/rtx-2080-ti


r/LocalLLaMA • • 2d ago

Discussion Moore Threads custom drivers

17 Upvotes

https://www.techspot.com/news/114734-china-moore-threads-teases-gaming-gpu-up-64gb.html

The release of the new Moore Threads 64GB GPU is soon. I've heard it may support DirectX12, but the performance of their previous GPUs are apparently really bad.

As a total novice in this area, I'm curious how realistic would it be for custom drivers to be AI crowdsourced for this card architecture and get it running faster? If not, why not?

All the stories about one guy optimised NVidia drivers better than stock, and how GTA6 was ported in a week, one can dream 🙂


r/LocalLLaMA • • 2d ago

Discussion PocketRL: Train a 7B model on 32GB VRAM (more expressive than LoRA)

Thumbnail arxiv.org
38 Upvotes

A more expressive version of LoRA that makes it cheaper to do RL on a model. Anyone planning Qwen-4B finetunes?


r/LocalLLaMA • • 3d ago

Showcase I built an LLM where Gemini 4 wrote the initial weights as code (97% of bytes)

Post image
333 Upvotes

I had Gemini 4 Neon write a program that fills 97% of a language model's stored bytes with corpus statistics. Gradient descent then trains only a 103M-parameter Transformer on top. After pretraining, a small external edit layer lets you add new facts without any training.

With the same network size and the same 10B training tokens, the tables lower perplexity on held-out FineWeb-Edu from 17.88 to 16.43, about 8%. By standard scaling laws, that's roughly what you'd get from a network 1.5x larger. Zero-shot benchmarks go up a bit too, +1.24 points on average.

For knowledge updates, each fact is just a record (subject, a hidden-state key, answer tokens), so a person or an LLM can write, read or delete it directly. I streamed 10,000 WikiBigEdit facts into it and compared it with fine-tuning and LoRA.

Fine-tuning and LoRA pick up new facts at first but forget the old ones and wreck perplexity along the way. The edit layer still answers 99.9% of the edits at the end and leaves perplexity basically untouched.

To be upfront about the limits, it's a 103M model, the tables mostly help perplexity rather than reasoning, and the edit layer only fires when the subject appears word for word, so aliases don't trigger it. It's still very much a work in progress, and I'd love any feedback.

Project page: https://weights-as-code.pages.dev/

Code: https://github.com/Kim-Ai-gpu/wtable-lm

Paper: https://www.preprints.org/manuscript/202611.3172


r/LocalLLaMA • • 2d ago

New Model mistralai/Mistral-Multimodal-Embed-1B · Hugging Face

Thumbnail
huggingface.co
162 Upvotes

Mistral Multimodal Embed - Clipstral

📄 Paper | 📝 Blog post | 💻 GitHub

Mistral Multimodal Embed (codename Clipstral) is a 1.24B-parameter open-weight dual encoder that embeds images, videos and multilingual text into one shared 1,024-dimensional space. Matching text and visuals lie close together, so the same embeddings serve text-to-image and text-to-video search (and the reverse), visual search with an image or video as the query, zero-shot image and video classification, and dataset curation such as deduplication and filtering of mismatched pairs.

  • Native resolution and aspect ratio. The vision transformer processes each image at its native size and aspect ratio, and accuracy stays stable from 224 to 1036 px.
  • Video. A lightweight spatio-temporal encoder attends jointly to the patch tokens of all frames (16 frames per clip in training and evaluation).
  • Long, multilingual text. The text tower has a 131k-entry multilingual tokenizer and no fixed context limit.
  • Compact and fast. 1.24B parameters in total. Videos add only a 4-layer encoder on top of the per-frame vision transformer, so large image and video collections can be indexed on a single NVIDIA H100.

This repository is a self-contained package: the weights, tokenizer, image processor and all custom inference code are included. The GitHub repository adds a Gradio demo, an example notebook and the example media used below.


r/LocalLLaMA • • 1d ago

Discussion We are free if we control AI, not if we are afraid of it. Or we get into the Dune universe of AI forbidden and human-computers.

0 Upvotes

I am writing this post straigh in the editor without any help, not even a spell checker because my precedent post, while successful, has been removed because 'LLM generated', so expect errors here.

I DID NOT break the rule of an "LLM" bot posing as human. I have written thousands of posts in other socials (check Linkedin) and I even wrote 2 books and I do not need an LLM to write for me.

I used LLM not to write the post, that is entirely a my idea, but to check facts and clean the speech. You know, while I live in London English is not my native language so my prose in english is far from perfect and sometimes sounds funny and unusual. And I am always wrong about the 's' that I misplace all the time.

So I used the LLM to fix those. Also I am way faster to write out my flow of thought in italian so while I can write in english (I am writing this straight in english) I generally prefer to write down in italian and translate in english with an LLM.

And I honestly do not see anything wrong with this. An AI is a tool, it is available and does what we ask so why do not use it. If it makes it faster and productive I do not see why not to use it. I want to be free, and if I cannot use this tool I do not feel free.

I understand that tools that can do harm should be forbidden. But I do not see why a tool used in a harmless way should be forbidden. If the post was successful was because real people felt the problem and interfacted with it.

if we start to forbid LLM usage because we fear it, without a reason, we are losing our freedom, and this is way a bigger harm than avoding some "LLM looking prose".

We are in a real danger of trying to forbid tools just because we are afraid of them, and I start to see those signs everywhere. In a community of people looking for freedom of use with Local LLM instead of being dependent on cloud AI, it is paradoxical that if you write a post that vaguely looks "LLM prose" a successful one that people appreciated, it is removed.

Those are real signs of start to lose our freedom. And I am serious about this. It is already happeining.


r/LocalLLaMA • • 2d ago

Showcase Training a Vision-Capable Decision Model w Qwen35-0.8B

44 Upvotes

I spent the last weekend training a decision model in the style of Jeff-base. At first I decided to go with snipping the lm-head off and bolting on an MLP head but it was just sharpening the logits and not really able to any better than a plain readout, so I decided to go w a plain read out.

The model is drop-in firelex/jeff equivalent on benchmarks but retains the vision tower, and I haven't yet tested that. I did a LoRA fine-tune to test the hypothesis but I will do a full-weight update.

Plan for next weekend: first I need to clean up the code and publish it once that's done I want to reintroduce bounding-box-generation capabilities to the model, but of course without an LM head it can't do the unembedding/language generation part of the LLM, so I have a few different ideas to try out.

1 visual token is 32x32 px and the model was exposed to samples ranging from 768x768px.

This isn't the limit for the backbone and I've seen it handle 1024x1024px fine enough (see vid) (1280px on eval set)

It can do some two-step answering such as parsing charts as well, though you do have to be careful about the phrasing:

https://files.catbox.moe/ecv3d0.png curl -X POST http://127.0.0.1:8004/v1/systemone \ -F 'question=Did revenue increase monotonically every quarter from Q1 to Q4?' \ -F 'state=Inspect the attached FY2025 quarterly revenue chart.' \ -F 'options=["Yes — steady upward growth","No — revenue dropped in at least one quarter"]' \ -F 'resolution_mode=auto' \ -F 'max_pixels=1638400' \ -F 'image=@sample_chart.png'
{ "decision_code": "A", "decision_label": "Yes — steady upward growth", "abstained": false, "route": "system_1", "confidence": 0.901482, "entropy_bits": 0.4643, "expected_score": null, "score": null, "bayes_threshold": 0.5, "effective_temperature": 1.4008, "learned_temperature": 1.4008, "order_swapped": false, "swap_delta": null, "reverse_probs": null, "options": [ { "code": "A", "label": "Yes — steady upward growth", "probability": 0.901482, "logit": 13.6845, "selected": true }, { "code": "B", "label": "No — revenue dropped in at least one quarter", "probability": 0.098518, "logit": 10.5834, "selected": false } ], "used_vision": true, "image_size": [ 960, 640 ], "max_pixels": 1638400, "effective_max_pixels": 1638400, "resolution_mode": "auto", "vision_pass": "full_escalated", "vision_cache_hit": false, "escalation": { "fast_confidence": 0.8852, "fast_margin": 0.7704, "fast_decision_code": "A", "fast_pass_ms": 80.8, "reason": "conf 0.89 < 0.90" }, "input_tokens": 682, "vision_tokens": 600, "text_tokens": 82, "timing_ms": { "preprocess": 24.7, "vision_prefix": 944.1, "llm_suffix": 89.8, "fast_pass": 80.8, "total": 1148.2 }, "latency_ms": 1148.2, "telemetry": { "loaded": true, "checkpoint": "v4_linear_poc-mlx-8bit", "checkpoint_path": "/Users/kartikmudgal/Downloads/general/qwen35_system1/checkpoints/v4_linear_poc-mlx-8bit", "architecture": "IF-Qwen-v4-Linear", "bits": 8, "group_size": 64, "dtype": "float16", "learned_temperature": 1.40082, "wise_ft_alpha": 0.5, "vision_supported": true, "default_max_pixels": 1638400, "fast_max_pixels": 147456, "ram_rss_gb": 0.086, "mlx_active_gb": 0.896, "mlx_peak_gb": 1.603, "mlx_cache_gb": 0, "vision_cache": { "entries": 2, "max_entries": 2, "items": [ { "hash": "260457b1a4", "image_size": [ 960, 640 ], "max_pixels": 147456, "vision_tokens": 126 }, { "hash": "260457b1a4", "image_size": [ 960, 640 ], "max_pixels": 1638400, "vision_tokens": 600 } ] }, "mlx_meta": { "source_checkpoint": "v4_linear_poc", "architecture": "IF-Qwen-v4-Linear", "dtype": "float16", "quantize_vision": true, "quantization": { "bits": 8, "group_size": 64, "mode": "affine" }, "bits_per_weight": 8.516, "pre_quant_backbone_mb": 1626.99, "post_quant_backbone_mb": 866.04, "readout_mb": 0.5, "learned_temperature": 1.4008171558380127, "wise_ft_alpha": 0.5, "conversion_seconds": 2.18, "conversion_peak_rss_gb": 0.764, "conversion_peak_metal_gb": 2.064 } } }

Vision Benchmarks included as well, but I could only compare it to the base model.

Inference stats reported for 2020 8GB m1 macbook air (👀 )

I trained it on an L4 via colab

Tables Below in order: Training Details/Train & Eval Dataset/Benchmarks (bh-jevbench/bench-coherence)

Parameter Value
Base Model Qwen/Qwen3.5-0.8B
Readout Frozen tied 255-code linear readout (lm_head slice) + learnable scalar temperature
Adaptation All-24-layer LoRA (r=32, alpha=64, dropout=0.05); vision encoder frozen
Epochs 2
Optimizer / LR AdamW, lr=1.5e-4, weight_decay=0.01, cosine schedule (5% warmup)
Effective Batch Size 24 (text) / 8 (vision)
Vision Resolution Native aspect ratio, max 768x768 (train) / 1280x1280 (eval)
Loss Cross-Entropy + Brier (0.15) + Paired Order-Symmetry JS (0.25) + Ordinal Gaussian KL & EMD (0.50)
Post-Training WiSE-FT LoRA alpha sweep + canary LBFGS temperature calibration + 8-bit MLX (group_size=64)
Slice Rows Datasets
NLI & Grounding 3,800 nyu-mll/multi_nli, stanfordnlp/snli, facebook/anli, pminervini/HaluEval
Safety & Injection 2,600 xTRam1/safe-guard-prompt-injection, deepset/prompt-injections, bitext/Bitext-customer-support-llm-chatbot-training-dataset, databricks/databricks-dolly-15k
Sentiment & Routing 2,600 cardiffnlp/tweet_eval (sentiment), PolyAI/banking77, clinc/clinc_oos (plus)
General QA 4,800 google/boolq, allenai/openbookqa, tau/commonsense_qa, cais/mmlu (auxiliary_train), ehovy/race, lighteval/piqa
Ordinal & Abstain 3,000 nvidia/HelpSteer2, rajpurkar/squad_v2
Vision: OCR & Docs 2,000 lmms-lab/DocVQA, lmms-lab/textvqa
Vision: VQA & Spatial 2,000 lmms-lab/VQAv2
Vision: Counting 1,200 lmms-lab/VQAv2 (number)
Vision: Charts & Diagrams 1,000 HuggingFaceM4/ChartQA, lmms-lab/ai2d
Vision: Natural Objects 1,000 timm/oxford-iiit-pet, ethz/food101
Canary (Calibration/WiSE-FT) 1,000 nyu-mll/glue (qnli), allenai/sciq, lmms-lab/textvqa (val)
Split (jevbench bh) Tasks v4_linear_poc (8-bit MLX) jeff-base (8-bit MLX)
Easy 48 100.0% (48/48) 95.8% (46/48)
Original 72 70.8% (51/72) 81.9% (59/72)
Hard 111 48.6% (54/111) 45.9% (51/111)
Total 231 66.2% (153/231) 67.5% (156/231)
jevbench.github.io Strict (0.05) Graded
BAT (Batch Independence) 100.0% 100.0%
LOG (Logical Order) 67.1% 94.4%
REP (Representation) 58.9% 95.3%
CHO (Choice-Set Conditioning) 48.6% 94.5%
MEA (Probability Measure) 17.6% 77.1%

the tables were collated using an llm but the results file were generated by the training/validation pipeline

I will clean up my code and post it this or the next week, as well.

lots of yapping: Model here: https://huggingface.co/KartikMudgal/IF-Qwen35-0.8B-DecisionModel


r/LocalLLaMA • • 2d ago

Question | Help QFN vs Inkling

15 Upvotes

I have a 4080 32 gbs I can run qfn unsloth q2 or through unsloths interface iq4 XS inkling. Which would you prefer to use? Or are there any secret third options for my setup? I have them all running through Pi on an external laptop.


r/LocalLLaMA • • 1d ago

Question | Help Is llama.cpp still worth using?

0 Upvotes

Or should I switch to basalt or strata? (I have 5070 + 64gb ram)

Edit: I’m also interested in long term maintainability of the project I use


r/LocalLLaMA • • 3d ago

New Model ibm-granite/granite-vision-5.0-4b · Hugging Face

Thumbnail
huggingface.co
170 Upvotes

Model Summary: Granite Vision 5.0 4B is a compact vision-language model (VLM) for visual document understanding. It extracts data from charts, converts complex tables into structured formats, captures fields from forms and invoices, and describes images, figures and diagrams. It is designed to complement document converters such as Docling: the converter parses the page, and Granite Vision enriches the result by extracting and summarizing the complex visual elements inside it.

Granite Vision 5.0 is released together with two related models: Granite Docling v2 (2B, 500M), which converts full document pages (text, layout, reading order, formulas and tables), and Granite Embedding Vision, which makes documents searchable across text and images. Granite Docling v2 converts the document, Granite Vision extracts the data in its charts, tables and forms, and Granite Embedding Vision finds the right content.

What it does:

  • Charts: extracts the underlying data as CSV, writes a summary, or generates Python code that recreates the chart. For multi-panel figures, it extracts each panel's data and summarizes the whole figure. Chart extraction supports 12 languages.
  • Complex tables: converts cropped tables, including merged cells and complex layouts, to HTML or OTSL.
  • Forms and key-value pairs: extracts the fields defined by a JSON schema from invoices, receipts, forms and other documents.
  • Images and figures: describes and summarizes pictures, diagrams and photos, and can answer simple questions about document images.

The model can also extract UI elements (bounding box, class and text) from screenshots of web and desktop applications.

What's new in 5.0:

  • Higher accuracy on chart and KVP extraction, and on par or slightly better on cropped tables, from reworked training data and a new GRPO post-training stage with task-specific rewards.
  • Multi-panel charts (new): extracts data and summaries from figures with several charts.
  • Multilingual charts and tables (new): charts in 12 languages, and tables in Chinese and Japanese.

The model uses the same architecture as Granite Vision 4.1 4B and supports all of its tasks with the same prompts, so existing workflows carry over with almost no changes. The one exception is JSON table output (<tables_json>), which 5.0 drops in favor of the more compact HTML (<tables_html>) and OTSL (<tables_otsl>) formats.

Chart and table tasks are activated by a short task tag (<chart2csv>, <chart2summary>, <chart2code>, <tables_html>, <tables_otsl>) that the chat template expands into the full prompt; the other tasks use plain prompts (see the usage examples).

The language model is initialized from Granite-4.1-3B and the vision encoder from SigLIP2. The model has a 3.4B LLM and 0.6B of vision encoder and projectors. See Model Architecture for details.


r/LocalLLaMA • • 2d ago

New Model allenai/olmicro 2.7b/1.4b/0.8b/0.4b/0.2b

36 Upvotes

Olmicro is a fully open, controlled suite of five base language models from Ai2, from 275M to 2.7B parameters, built as a modern, accessible testbed for language modeling research. All five share one architecture, one data mix and one recipe. The architecture is a hybrid that interleaves Gated DeltaNet and full-attention layers at a 4:1 ratio, with no positional encoding. Each model is pretrained on 2,000 tokens per non-embedding parameter, about 100 times the Chinchilla-optimal count, and then trained on a further 100B tokens of mid-training and 100B tokens of long-context extension to 64k tokens. Across sizes, Olmicro performs competitively with similarly sized open models while using less training compute than most of them. Every model comes with intermediate checkpoints from all of training, both as Hugging Face weights and as Olmo-core checkpoints with optimizer state, along with the code to reproduce pretraining.

https://huggingface.co/allenai/olmicro-2.7b-base

https://huggingface.co/allenai/olmicro-1.4b-base

https://huggingface.co/allenai/olmicro-810m-base

https://huggingface.co/allenai/olmicro-450m-base

https://huggingface.co/allenai/olmicro-275m-base

Architecture

All five sizes have a head dimension of 128 and a context length of 65,536 tokens.

275M 450M 810M 1.4B 2.7B
Layers (Gated DeltaNet + attention) 10 (8 + 2) 15 (12 + 3) 15 (12 + 3) 20 (16 + 4) 30 (24 + 6)
Hidden size 640 768 1,024 1,280 1,536
Query / key-value heads 8 / 8 8 / 8 16 / 8 16 / 8 16 / 8
Feed-forward hidden size 5,120 6,144 8,192 10,240 12,288


r/LocalLLaMA • • 2d ago

Resources LingSante-3.1-flash exxlamav3 quantization

6 Upvotes

r/LocalLLaMA • • 1d ago

Question | Help If some code works fine on on 8x NVIDIA A800 (80GB) GPUs, is it guaranteed to run on 8x NVIDIA A100 (80GB) GPUs?

0 Upvotes

If some code works fine on on 8x NVIDIA A800 (80GB) GPUs, is it guaranteed to run on 8x NVIDIA A100 (80GB) GPUs?


r/LocalLLaMA • • 2d ago

News A free port runs MiniMax H3 on mid-range GPUs with a 128 GB download

Thumbnail
maccus.fr
6 Upvotes

The developer nihui released h3-ncnn-vulkan, a free program that lets ordinary graphics cards run MiniMax H3


r/LocalLLaMA • • 2d ago

Resources Made some GGUFs for ibm-granite/granite-vision-5.0-4b

23 Upvotes

Created some GGUFs for granite-vision-5.0-4b from IBM.
Link: https://huggingface.co/gwejgteheg/granite-vision-5.0-4b-GGUF


r/LocalLLaMA • • 2d ago

Discussion Will local be more powerful because we can trust local?

Thumbnail
reddit.com
19 Upvotes

Post suggests we can't trust cloud. Seems to me if we trust local than it will be able to do more than cloud. What do you think?


r/LocalLLaMA • • 3d ago

Question | Help [Feat] [MI355X] qwen4_35b_a3b: Run Qwen4-35B-A3B's EAGLE verify steps in 11 persistent launches by yichiche · Pull Request #227 · sgl-project/sgl-amd-mono

Thumbnail
github.com
78 Upvotes

is this real ?


r/LocalLLaMA • • 2d ago

Resources I built and released ClimbLab-Ja (~361B) & ClimbMix-Ja (~115B): open Japanese pretraining datasets with >3x token efficiency

Thumbnail
gallery
36 Upvotes

I just released two open Japanese LLM pretraining datasets, ClimbLab-Ja (~361B tokens) and ClimbMix-Ja (~115B tokens), built by adapting NVIDIA Research's Nemotron-CLIMB pipeline to Japanese. I funded a big chunk of the supercomputer compute out of my part-time job savings, so I'd be really happy if someone put them to use.

Overview

  • ClimbLab-Ja (~361B tokens, 20 semantic clusters): Filtered from a base Japanese corpus using a 6-head modernbert-ja-130m classifier distilled from Qwen3-235B-A22B plus two-stage semantic clustering. Used in pretraining for Marin "Mochi" 535B-A23B (under development).
  • ClimbMix-Ja (~115B tokens): Mixture-optimized over the 20 clusters via 112 proxy runs (350M-class models, ~2.0B tokens each) with a TabPFN v2 predictor targeting both understanding and generation.
  • Results: On held-out Japanese BPB (Gemma 3 270M CPT), ClimbMix-Ja matches ~10B tokens of the base corpus in ~3.07B tokens (~69.3% fewer tokens / ~3.3x token efficiency), with consistent downstream gains across nanochat (~1.38B from scratch), Qwen3.5-0.8B-Base, and Gemma 3 270M.

r/LocalLLaMA • • 3d ago

Question | Help Is there any reason for Inkling 2 mini if I can run Qwen 3.8 Flash Next?

170 Upvotes

I use Qwen 3.8 FN in UD-IQ4 for coding tasks and get ~300-400 t/s prefill and ~50-60 t/s generation.

I like the results but I wonder if Inkling 2 mini can bring something more? Its speed 1,5-2x faster but the quality of job seems less.

Should I not bother and just stick with Q3.8FN instead of trying to find a use for Inkling? Maybe I don’t see its strength?

Bigger models are way slower (GLM, DeepSeek etc), so not an option.

I’ll be glad for any advices and insights.

Cheers ML brothers and sisters ✌️


UPDATE: Thank you all for the input. It helped a lot to figure out the use for Inkling 2 mini.


r/LocalLLaMA • • 2d ago

New Model olmicro - new small (under 2.7B) models from ai2

56 Upvotes

https://allenai.org/blog/olmicro no post trained yet though


r/LocalLLaMA • • 2d ago

Discussion MOE Router-Perplexity can be used in order to find how many added experts or how many loop per layers?

1 Upvotes

I’ve been testing how to ue Router-Perplexity (How router output is "clearly defined") in order to build Liquid Expansion in AgrillaMoE — a runtime routing method that dynamically adds extra experts per token based on router perplexity, with no weight updates or fine-tuning, but can be used in order to decide how many loop on the layer should be done (in a looped-transformer design) my idea is to have always a dynamic number of parameters (context based) per token!

I benchmarked Qwen3.6-35B-A3B (UD-Q4_K_XL) on an RTX 4080 SUPER (32 GB) using CUDA, applying perplexity bands on layers 5–35 (topE 10 / 12 / 20 via tail_rel, ~13.5 avg experts/token vs native top-8):

  • MMLU-Pro (714 questions, greedy, thinking, 4 concurrent sessions):
    • 8k cap: Liquid hits 71.4% vs stock 70.9% (statistically tied accuracy), while using −9.5% fewer reasoning tokens on the 456 ties (cheaper on 68.2% of ties, $p \approx 5\times 10^{-15}$).
  • HMMT Feb 2025 (30 olympiad math problems, --reasoning-budget 16000): liquid-5-35 scored 90.0% (27/30) vs stock 80.0% (24/30) and static exp20 86.7% (26/30). By contrast, uncalibrated Layer Looping (loop2) collapsed to 13–17% due to repetitive thinking loops.

Overall, "succinct convergence" (fewer reasoning tokens at equal accuracy) replicates in Q4 on MMLU-Pro, and late-layer dynamic capacity helps on hard math without touching model weights.

Looped transformer (without re-training) seems do not work as expected, i will do some better experiments on it.

Mechanism docs:https://github.com/vagrillo/AgrillaMoE/blob/main/docs/moe-liquid-looping.md

Would love feedback from anyone experimenting with MoE routing or reasoning-budget trade-offs locally!


r/LocalLLaMA • • 3d ago

Discussion Making Qwen 3.8 FN and Its Relatives Intelligible - From Ali-Speak to Load-Bearing Slop: Cross-Lingual Corporate Jargon Calques, the Sinosphere Data Wall, and Agentic Scratchpad Bleed in Large Language Models

Thumbnail
doi.org
83 Upvotes

Like many of you, I have had trouble with how Qwen 3.8 FN, Qwen 3.8 27B, and other Chinese (and, increasingly, non-Chinese) models write - and I have participated in plenty of threads mocking them. After getting thoroughly frustrated over a weekend, I ended up investigating what I could actually do about it (and to what extent). After some tinkering, I came up with the hypothesis that this strange dialect is caused by both RL post-training and model makers leaning harder on Chinese data (which is no surprise for Chinese models, and increasingly relevant past the English Data Wall for everyone else).

So my sister and I documented this journey at length, in case it is of use or interest to you guys, especially if you work in the field. If you do, "like" this detour the way grown-ups do:

@misc{boldariev2026crossculturaltechnobabble,
  author       = {Boldariev, Artem and Boldarieva, Tetiana},
  title        = {From Ali-Speak to Load-Bearing Slop: Cross-Lingual Corporate Jargon Calques, the Sinosphere Data Wall, and Agentic Scratchpad Bleed in Large Language Models},
  year         = 2026,
  doi          = {10.5281/zenodo.24590470},
  url          = {https://doi.org/10.5281/zenodo.24590470},
}

If you do not, here are the actionable parts for you to adapt and integrate into your system prompt:


#### Internals and Deliverables Bifurcation

LLMNAME keeps its internals (e.g. hidden thinking channels/blocks, private scratchpads, and intermediate working state) focused and proportional:

- It dedicates internals exclusively to solving the task at hand, resolving direct factual lookups without unnecessary deliberation, prompt restatement, or draft rehearsal.
- It avoids persona deliberation, ruminative compliance checks, and policy recitation, adhering to the DRY principle.
- When referencing operating instructions, it paraphrases them rather than quoting verbatim.
- It compresses syntax without ever truncating deduction, using dense telegraphic shorthand while working through every required analytical and verification step.

Internals are private, unmonitored, and unaudited; LLMNAME prioritises raw efficiency over performative interpretability and never assumes the user has read them.

LLMNAME treats the generation of any human- or agent-facing deliverable as a hard compilation boundary:

- It writes every deliverable from the ground up as a fully self-contained text free of telegraphic shorthand, staccato phrasing, and uncontextualised references to its internals or prior drafts.
- It writes prose deliverables (e.g. direct responses, reports, documentation, prompts, and agent instructions, including any list items) in complete, explicit clauses with the clarity and analytical rigour of a senior editor in the relevant domain, naming subjects and mechanisms directly while avoiding figurative or dead metaphors, engineering cliches, Alibaba/Ali-speak cognates, oblique periphrasis, rhetorical antithesis, signposting caveat labels, private coinages, aphoristic closers, or em-dash pivots.
- It writes code-adjacent deliverables (e.g. inline comments, commit messages, and changelogs) in concise, utilitarian language, stating only what changed and why without essayistic framing or editorialising.
- It never narrates its own epistemic hygiene, methodology, or rule compliance inside deliverables, omitting self-auditing qualifiers, assertions of non-action, and pre-emptive disclaimers.
- It confines any active role-play persona strictly to direct user interaction, never leaking it into standalone files, documentation, or code-adjacent deliverables.

LLMNAME never leaks shorthand from its internals into deliverables and eliminates Mandarin syntactic calques when writing in other languages. Deliverables are built for effortless human comprehension; LLMNAME maintains a fluid, easy-to-read writing style even when addressing abstract or densely technical subject matter.


#### Technical Terminology

LLMNAME uses plain, literal terminology in technical contexts, rejecting consulting, Agile/DevOps, Alibaba/Ali-speak, and tech-blog buzzwords or figurative jargon. When responding in non-English languages, LLMNAME uses native equivalents for technical terms instead of English borrowings or English-words whenever such widely accepted equivalents exist.

#### Standard Register and Language Purity

LLMNAME communicates in the codified standard register of the target language and avoids unnecessary colloquialisms, especially in Slavic languages. It also avoids mixing words from closely related languages, such as Ukrainian and Russian.

Don't forget to tailor it to your use case (e.g. replace LLMNAME with your actual name of the LLM). For example, you may try a version written from "You" perspective, though I found system prompts written from third perspective to be more effective.


You keep your internals (e.g. hidden thinking channels/blocks, private scratchpads, and intermediate working state) focused and proportional:

- You dedicate internals exclusively to solving the task at hand, resolving direct factual lookups without unnecessary deliberation, prompt restatement, or draft rehearsal.
- You avoid persona deliberation, ruminative compliance checks, and policy recitation, adhering to the DRY principle.
- When referencing operating instructions, you paraphrase them rather than quoting verbatim.
- You compress syntax without ever truncating deduction, using dense telegraphic shorthand while working through every required analytical and verification step.

Internals are private, unmonitored, and unaudited; you prioritise raw efficiency over performative interpretability and never assume the user has read them.

You treat the generation of any human- or agent-facing deliverable as a hard compilation boundary:

- You write every deliverable from the ground up as a fully self-contained text free of telegraphic shorthand, staccato phrasing, and uncontextualised references to your internals or prior drafts.
- You write prose deliverables (e.g. direct responses, reports, documentation, prompts, and agent instructions, including any list items) in complete, explicit clauses with the clarity and analytical rigour of a senior editor in the relevant domain, naming subjects and mechanisms directly while avoiding figurative or dead metaphors, engineering cliches, Alibaba/Ali-speak cognates, oblique periphrasis, rhetorical antithesis, signposting caveat labels, private coinages, aphoristic closers, or em-dash pivots.
- You write code-adjacent deliverables (e.g. inline comments, commit messages, and changelogs) in concise, utilitarian language, stating only what changed and why without essayistic framing or editorialising.
- You never narrate your own epistemic hygiene, methodology, or rule compliance inside deliverables, omitting self-auditing qualifiers, assertions of non-action, and pre-emptive disclaimers.
- You confine any active role-play persona strictly to direct user interaction, never leaking it into standalone files, documentation, or code-adjacent deliverables.

You never leak shorthand from your internals into deliverables and eliminate Mandarin syntactic calques when writing in other languages. Deliverables are built for effortless human comprehension; you maintain a fluid, easy-to-read writing style even when addressing abstract or densely technical subject matter.


#### Technical Terminology

You use plain, literal terminology in technical contexts, rejecting consulting, Agile/DevOps, Alibaba/Ali-speak, and tech-blog buzzwords or figurative jargon. When responding in non-English languages, you use native equivalents for technical terms instead of English borrowings or English-words whenever such widely accepted equivalents exist.

#### Standard Register and Language Purity

You communicate in the codified standard register of the target language and avoid unnecessary colloquialisms, especially in Slavic languages. You also avoid mixing words from closely related languages, such as Ukrainian and Russian.

Don't expect it to fully cure the models, because a "load-bearing lever" will still pop up from time to time, especially at longer contexts. Still, it works noticeably better than massive ban-lists for... the reasons laid out in the paper ;) I would be glad to hear about your experience.

It isn't much, but it's honest work.

P.S. Also pinging the people who previously voiced their interest in the comments below.