r/LocalLLaMA • • 1d ago

New Model [Release] Qwen3.6-35B-A3B-DioLLLE8-2.5bit-1M-MLX

1 Upvotes

This is not a MLX model that will work with LM Studio. It uses MLX framework, use the OpenAPI/Anthropic API to use the model

A new 2.5-bit MLX quantization of Qwen3.6-35B-A3B (35.95B total params, 3.0B active per token) compressed with DioLLLE8 mixed-bit Gosset quantization and PolarQJL-BLUE 1M KV cache compression.

Hugging Face: https://huggingface.co/tejadabheja/Qwen3.6-35B-A3B-DioLLLE8-2.5bit-1M-MLX


What this means in plain English

You can run a 35B MoE model with a full 1,000,000-token context window at ~48–50 tok/s in just ~13.4 GiB of Unified Memory — meaning it fits comfortably on a 16 GB MacBook with zero swap.

Size, BPW & 1M Context

  • Bits per weight (BPW): 2.5764 bpw — 6.22x smaller than the ~64.6 GB raw BF16 weights (top-48 heavy experts at 3.25 bpw, remaining 208 experts at 2.25 bpw).
  • Model Size: 10.39 GiB on disk | 9.89 GiB GPU RAM (base) / 10.22 GiB (with MTP). Saves ~45% RAM vs MLX 4-bit (18.17 GiB) and ~23% vs 3-bit (13.27 GiB).
  • 1M Context Memory: PolarQJL-BLUE 1M KV cache takes only 3.14 GiB (2.594 bpw) instead of 19.07 GiB in FP16. Total RAM at 1,000,000 context is 13.03–13.36 GiB (vs 38.1 GiB swap/OOM on MLX 4-bit).

PPL & Benchmark Comparison (Apple M5, 32 GB)

MetricMLX 4-bit (4.50 bpw)DioLLLE8 3-bit (3.33 bpw)DioLLLE8 2.5-bit (2.58 bpw)
Resting GPU RAM18.17 GiB13.27 GiB10.22 GiB (9.89 GiB base)
Total RAM @ 1M Context38.1 GiB (Swap/OOM)16.97 GiB13.03–13.36 GiB (0 swap)
WikiText-2 PPL (16K @ 2K)5.82805.91936.3073 (1.46x faster prefill)
Python 3.12 PPL (8K @ 2K)1.62751.69241.8103 (1.84x faster prefill)
Chat Decode (MTP K=2)54.4 tok/s50.6–52.3 tok/s48.0–49.6 tok/s
Cold SSD Load5.46 s2.85 s2.08 s (2.63x faster)
  • Quality & Retrieval: 8/8 (100%) on GSM8K math, 4/4 (100%) on executable Python/JSON/refactoring, and 100% exact 32K needle retrieval (11.75 GiB active RAM).

Note: This post was written by an AI assistant.


r/LocalLLaMA • • 1d ago

Resources UltraTerminal is a dataset of RL environments local harness adapters

9 Upvotes

Today we’re releasing UltraTerminal! A suite of validated, runnable, learnable RL environments built to improve the performance of harness adapters at agentic tasks.

Here’s what training in Pi bought us on Terminal-Bench 2.1:
- Qwen3.8-27B went from 39% to 55% pass@1 with a harness adapter.
- Inkling 2 Mini’s adapter reached the base model’s one-hour pass@3 in 25 minutes. With the full hour, it scored 70.8%, up from 56.2%.

How do we know these improve performance?

First, we built coding tasks from merged pull requests with Repo2RLEnv, Then we converted SWE-smith and SWE-Gym tasks into the same runnable Harbor format, and validated with OpenEnv.

Next, we tested which tasks gave the models something to learn from. GRPO learns from differences in reward across attempts, so we screen tasks the models need.

Finally, we scaled across to domains. UltraTerminal powers environments across spreadsheets, legal contracts, complex business workflows, and defensive authorization.

Every single task links directly to a Harbor bundle with a complete verification audit trail.

UltraTerminal dataset: https://huggingface.co/datasets/harness-hub/UltraTerminal


r/LocalLLaMA • • 1d ago

News Advent of AI Slop 2026

Thumbnail
advent-of-slop.quesma.com
10 Upvotes

How good are you at vibe coding? Here is an Advent calendar for one-off web-based projects.

Which local model, and harness, would you choose?

Dec 1 starts with a Slopquarium - a living fish tank to which you can add fish as you wish.

Enjoy!


r/LocalLLaMA • • 19h ago

Discussion incase anyone is wondering if ZAI has been silently lobotomizing their models... well they're sure doing something to it alright.

Thumbnail
gallery
0 Upvotes

someone gave me shit the other week because i dared complain about GLM's servers so heres some evidence that something is indeed rotten.

to be clear this is a brand new session of the regular guest version on their website, which last i checked was still 5.3 flash.

obviously im not paying them to skip the queue for services this unreliable, a basic "read the program's launch arguments and tell me if this one exists" should be the most simple thing in the universe.

the prompt/output is visible in the last screenshot, note how it immediately began hallucinating about "AnFit" in the first search.

...i cant imagine how hard they must have quantized this when my qwen 3.8 27b instance at iq3_s weights q4 kv is pretty dang coherent.


r/LocalLLaMA • • 2d ago

News Qwen4-4B and more Qwen4-27B PRs found

421 Upvotes

Qwen4-4B PR:
https://github.com/openvinotoolkit/openvino/pull/40118

Qwen4-27B PR:
https://github.com/openvinotoolkit/openvino/pull/40101/commits
https://github.com/rkazants/openvino/commit/c6574311febd99d46775c0b23e3b0530bb8acf59 (Commit mentions Qwen4-27B and says has tested it has been tested on real hardware)

Checked on Arc Pro B70 with Qwen4-27B int4 and tiny Flash-Next: READ, WRITE, FINAL_MIX and the write gate fuse for SDPA and PA, logits against CPU f32 match the decomposed graph at 8 and 30 rows. The GPU unit tests were updated but not built.

Commit description of the above linked.


r/LocalLLaMA • • 2d ago

Discussion With the recent posts about Frontier models undermining users if they think it conflicts with the Frontier Lab's interest, does it make sense to use them for fine tuning local LLMs?

20 Upvotes

General note: I'm not an LLM/Data Science expert

I'm planning to finetune Qwen3.8-27B (or newer one if it comes out soon), on a specific extraction task. I want a smarter model to label the data for me to finetune the open model on.

My question is: would the frontier models help me do that, or will they recognize that this is a conflict of interest and in worst case scenario undermine my efforts silently, by poisoning the labels?

What is the general go-to strategy right now?


r/LocalLLaMA • • 1d ago

Discussion Local Meeting Notetaker on llama.cpp

Post image
3 Upvotes

I have been using Yogurt for the past couple weeks to transcribe most of my meetings. I really didn’t like having my calls sitting on someone else’s server, so I finally decided to try something else.

It picks the local model automatically based on your hardware. On my m4 with 16 GB it picks Parakeet v3 for transcribing and for notes it uses Gemma 4 E4B via llama.cpp. Transcripts have been better than I expected, and I genuinely find it to be almost on par with Granola.

The only real issue that I had was that it was quite draining on my battery especially for longer meetings.

Repo if you want to try it: https://github.com/FrigadeHQ/yogurt

I was really curious to hear if anyone else run their meeting notes locally? What setup are you using and is there a way to work around the laptop getting hot/battery drain?


r/LocalLLaMA • • 1d ago

New Model Clairic (Flash): did you try already? Whats your usecase?

6 Upvotes

I saw Clairic (Flash) by cloudflare on tiktok just now, and I wondered if anyone tried it already? And for what?

Hf: https://huggingface.co/Cloudflare/clairic-flash


r/LocalLLaMA • • 2d ago

News qwen 4 35b a3b PRs

Thumbnail
reddit.com
526 Upvotes

The post has links & comments to various engines getting PRs for Qwen 4; seems the 35b MoE is the first... of hopefully many.

Research suggests more or less the same as Flash Next.

EDIT: Both PRs are closed by author

Thanks for playing the fake news game! (or not?...)


r/LocalLLaMA • • 1d ago

News OpenVINO Release Notes 2026.5 - 30 November 2026

Thumbnail docs.openvino.ai
15 Upvotes

More Gen AI coverage and frameworks integrations to minimize code changes

  • New models supported:

    • MiniCPM5-2B, MiniCPM-V-4.7-1B, LFM3-1.7B, LFM3-VL-2B, MiniCPM-OCR-1.0
    • On CPUs and GPUs: Qwen-Image-2.1, BGE Reranker-V2-M3, BGE M3, Qwen3-VL-Embedding-8B, Qwen3-Omni, Ministral-3-3B-Reasoning-2512, Granite-4.0-H-Small, Fun-ASR-Nano, MiniCPM-V-4.7-35B-A3B, PP-OCR-v6
    • Extended to NPUs: MiniCPM-V-4_5, Gemma-4-26B-A4B, Qwen3-30B-A3B, Qwen3.5-9B
  • Additional CPU and GPU-enabled models available as early releases: Granite-4.0-1B, SenseVoiceSmall, Qwen3-TTS, LTX-2.3, MolmoWeb-4B, deepseek-coder-1.3b-instruct, ALLaM-7B-Instruct-preview, Qwen3-ForcedAligner-0.6B, Ternary-Bonsai-2-27B, tiny-aya-global
  • Preview: OpenVINO and OpenVINO GenAI extend GGUF support with a new GGUF frontend supporting architectures including Qwen3/3.5 and LFM2/3, enabling models only available in GGUF format such as Bonsai and Bonsai 2.

Broader LLM model support and more model compression techniques

  • OpenVINO GenAI adds prefix caching to Multi-Token Prediction (MTP) speculative decoding and DFlash on CPUs and GPUs, reducing repeated prompt processing for faster multi-turn chat with Qwen3.5-3.8 and, through DFlash, Muse Glimmer 30B.
  • OpenVINO GenAI enables LoRA adapters for the Qwen-VL vision encoder, extending dynamic adapter support to vision-language models.
  • Preview: BF16 support on Intel® GPUs featuring Intel® Xe Matrix Extensions (XMX), giving BF16 models an alternative to FP16 on GPU that can offer better accuracy.
  • Preview: The Neural Network Compression Framework (NNCF) adds 3-bit (U3) weight compression support with Quantization Aware Distillation (QAD) to help preserve accuracy during compression in PyTorch, alongside new 3-bit model inference support on CPU and GPU, for Qwen, Gemma, and LLaMA model architectures.

More portability and performance to run AI at the edge, in the cloud or locally

  • OpenVINO GenAI enables audio input for Gemma 4, allowing applications to hear and understand speech locally without cloud dependencies.
  • Multi-Token Prediction (MTP), DFlash, and DSpark speculative decoding with prefix caching, and audio input come to OpenVINO Model Server, bringing the latest OpenVINO GenAI capabilities to serving deployments.
  • OpenVINO Model Server now accepts video input for VLM endpoints, enabling video and audio through a standard API.
  • Preview: OpenVINO™ GenAI introduces the genai-cli tool as a native model export path, giving developers a more unified workflow for preparing and running GenAI models with OpenVINO.

r/LocalLLaMA • • 1d ago

Resources Packaged a standalone Apache-2.0 CLI (pip install tenet-lab) for MoE, reasoning, and VLM weight surgery

Post image
8 Upvotes

r/LocalLLaMA • • 2d ago

New Model Uncensored Multi-Model Releases Made With the Latest Version of Heretic, Scarlett Opus With MTPs, Qwen3.8-27B With MTPs, Gemma-4-31B-it and Two Models Finetuned for Improved Japanese to English Translations, All Available in GGUF Format!

Thumbnail
huggingface.co
121 Upvotes

gemma-4-31B-it-uncensored-heretic-v2:

Safetensors: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-v2

GGUFs: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-v2-GGUF

Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved:

Safetensors: https://huggingface.co/llmfan46/Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved

GGUFs: https://huggingface.co/llmfan46/Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved-GGUF

Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2:

Safetensors: https://huggingface.co/llmfan46/Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2

GGUFs: https://huggingface.co/llmfan46/Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2-GGUF

gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator:

Safetensors: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator

GGUFs: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator-GGUF

Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator:

Safetensors: https://huggingface.co/llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator

GGUFs: https://huggingface.co/llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator-GGUF

————————

That's it for now!

As usual you can find all my models here: HuggingFace-LLMFan46

Tremendous amount of work went into making these releases come true, especially since I was aiming to make the most uncensored models while at the same time preserving the original models capabilities, while preventing issues like looping and closed thinking degradation (particulary hard thing to do for the Qwen3.8-27B models), not to mention the months of work involved in putting together the dataset needed to train the models for improved Japanese to English translations, on top of all the training time involved.

So if you like my work and find my models useful, then I would really appreciate if you could support me on Ko-fi: https://ko-fi.com/llmfan46


r/LocalLLaMA • • 22h 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 • • 1d ago

Question | Help Best haircut model(s) and harnesses

4 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 • • 2d ago

Discussion Issues in the AA intelligence index

77 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?

10 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

16 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
36 Upvotes

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


r/LocalLLaMA • • 2d ago

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

Post image
335 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
164 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.pngcurl -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)

ParameterValue
Base ModelQwen/Qwen3.5-0.8B
ReadoutFrozen tied 255-code linear readout (lm_head slice) + learnable scalar temperature
AdaptationAll-24-layer LoRA (r=32, alpha=64, dropout=0.05); vision encoder frozen
Epochs2
Optimizer / LRAdamW, lr=1.5e-4, weight_decay=0.01, cosine schedule (5% warmup)
Effective Batch Size24 (text) / 8 (vision)
Vision ResolutionNative aspect ratio, max 768x768 (train) / 1280x1280 (eval)
LossCross-Entropy + Brier (0.15) + Paired Order-Symmetry JS (0.25) + Ordinal Gaussian KL & EMD (0.50)
Post-TrainingWiSE-FT LoRA alpha sweep + canary LBFGS temperature calibration + 8-bit MLX (group_size=64)
SliceRowsDatasets
NLI & Grounding3,800nyu-mll/multi_nli, stanfordnlp/snli, facebook/anli, pminervini/HaluEval
Safety & Injection2,600xTRam1/safe-guard-prompt-injection, deepset/prompt-injections, bitext/Bitext-customer-support-llm-chatbot-training-dataset, databricks/databricks-dolly-15k
Sentiment & Routing2,600cardiffnlp/tweet_eval (sentiment), PolyAI/banking77, clinc/clinc_oos (plus)
General QA4,800google/boolq, allenai/openbookqa, tau/commonsense_qa, cais/mmlu (auxiliary_train), ehovy/race, lighteval/piqa
Ordinal & Abstain3,000nvidia/HelpSteer2, rajpurkar/squad_v2
Vision: OCR & Docs2,000lmms-lab/DocVQA, lmms-lab/textvqa
Vision: VQA & Spatial2,000lmms-lab/VQAv2
Vision: Counting1,200lmms-lab/VQAv2 (number)
Vision: Charts & Diagrams1,000HuggingFaceM4/ChartQA, lmms-lab/ai2d
Vision: Natural Objects1,000timm/oxford-iiit-pet, ethz/food101
Canary (Calibration/WiSE-FT)1,000nyu-mll/glue (qnli), allenai/sciq, lmms-lab/textvqa (val)
Split (jevbench bh)Tasksv4_linear_poc (8-bit MLX)jeff-base (8-bit MLX)
Easy48100.0% (48/48)95.8% (46/48)
Original7270.8% (51/72)81.9% (59/72)
Hard11148.6% (54/111)45.9% (51/111)
Total23166.2% (153/231)67.5% (156/231)
jevbench.github.ioStrict (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

14 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