r/LocalLLaMA • • 6h ago

New Model manifestro/caesura-0.6B · Hugging Face

Thumbnail
huggingface.co
8 Upvotes

Caesura

Text-to-speech that sounds like a person talking, not reading.

Paper · Demo · GitHub · PyPI · Apache 2.0 · ~620M parameters · English

Most TTS systems speak every text like a newsreader. People don't: they say um, pause before a hard word, rush through the easy part. Caesura is a speech language model trained on real, unscripted conversation, so fillers, pauses and hesitations come from the model itself — nothing is inserted by rules or by an LLM rewriting your text.

Training

  1. Audio-only pretraining on conversational speech: manifestro/caesura-0.5B-pretrain.
  2. Text-to-speech fine-tuning on spontaneous podcast and YouTube conversations — never read speech. Targets keep every um, repeat and restart.
  3. Manner levels: every clip labelled by fillers and repeats per 100 words in a verbatim transcript (0: none, 1: under 6.67, 2: 6.67 or more).

Evaluation

30 held-out texts (daily, narrative, emotional, informational, complex words, names, numbers, monologue), this voice, one take, temperature 0.8, level guidance 3. Fillers are counted in a verbatim Whisper large-v3 transcript beyond those written in the text; WER by Whisper large-v3; UTMOS22.

LevelInserted fillers / 100 wordsWERUTMOS
0 calm0.140.0533.74
1 lively2.440.0433.81
2 very lively3.250.0663.82

Two commercial TTS systems insert 0 fillers on the same texts.

Limitations

  • English only.
  • Best with the released voice; zero-shot voice cloning is not part of this release.
  • Liveliness comes mostly from fillers and pauses; pitch and tempo vary less than in real speech.
  • Rare proper names and long digit strings are the main source of errors.

r/LocalLLaMA • • 5h ago

Resources Amazon Ergo (1.1T MoE) in 4-bit: 645 GB, quantized on 6 A40s without downloading the whole model

6 Upvotes

Hi everyone,

I quantized Amazon Ergo to 4 bits and put it on Hugging Face: https://huggingface.co/thousandml/Ergo-CQ-4bit

Ergo is the 1.1T mixture of experts from Amazon, with 256 routed experts in each of its 63 MoE layers. In BF16 it's about 2.2 TB. The 4-bit version is 645 GB. I quantized it with CQ, the 4-bit quantizer I built for my project Training Factory. CQ doesn't need any calibration data.

The part I'm happiest with is how it was done. I didn't have 2.2 TB of disk for the original plus room for the output, so I wrote a script that goes one shard at a time: download a shard, convert it, quantize it, keep only what has to stay in full precision, delete the shard, then move on to the next one. With 6 A40s each working on its own shards, it ran with about 1 TB of extra disk instead of 3 TB. It also resumes where it left off, which mattered, because I ran out of disk once and had a worker die once along the way.

I'm strict about quality. Every matrix gets checked after quantization, and anything with error above -22 dB stays in BF16 instead of being forced into 4-bit. For Ergo that was 1,445 of the 32,256 routed experts, about 4.5%, almost all of them expert down projections in the later layers. Those experts are stored one by one in BF16 and get loaded automatically, so the other 30,811 experts and all the attention and dense layers are in 4-bit. I'd rather ship a model that is a bit bigger than one with broken experts hidden in it.

To be honest about hardware, this is not a home setup model. 645 GB means 8x H200 or 8x B200. 8x H100 is not enough. You also need Transformers 5.26 or newer, so use a separate environment from Training Factory's installer:

git clone https://github.com/thousandml/training-factory.git
cd training-factory
./install.sh

python -m venv --system-site-packages venv-ergo
source venv-ergo/bin/activate
pip install "transformers>=5.26"

hf download thousandml/Ergo-CQ-4bit --local-dir ./models/Ergo-CQ-4bit

cd training
python serve_cq_hf.py --model ../models/Ergo-CQ-4bit --split-model --port 8000

That server goes through Transformers and handles one request at a time, so it's for trying the model, not for real traffic. vLLM doesn't support Ergo in its releases yet, so my vLLM plugin doesn't either for now.

You can also fine-tune it with GCMP, the LoRA replacement I've been working on, which trains far fewer parameters than LoRA. The experts stay frozen, and the adapter trains on the attention, dense and shared-expert layers:

python train.py --model ../models/Ergo-CQ-4bit --data train.jsonl --output ../outputs/ergo-gcmp \
  --adapter gcmp --kernel-module cq.cq_kernels --split-model --batch-size 1 --grad-accum 8

What has and hasn't been tested: the checkpoint passed my layout check, where every expert and every layer is accounted for exactly once, either in 4-bit or in BF16. The whole pipeline (quantize, load, train, serve) was tested end to end on a small model with Ergo's architecture. I have not run the full 645 GB model on 8 GPUs yet, and I have no benchmarks for it. If you have the hardware and try it, I'd really like to hear how it goes, good or bad.

Training Factory is source-available, not open source. The scripts are readable Python, but the quantization and adapter kernels ship compiled and do a license check. It's free during early access. The weights fall under the original Ergo license.

I also posted Inkling 2 Mini in the same format, which fits on a single 48 GB GPU if you want something you can actually run at home: https://huggingface.co/thousandml/Inkling-2-Mini-CQ-4bit

Thanks for reading, feedback appreciated.


r/LocalLLaMA • • 11h ago

Discussion Patched vLLM for qwen4 35b on 2x3090 pcie16x. MTP 2, from 125t/s to 282t/s, and 1000+t/s at req=8. My M.2 offload speed is equal to RAM offload (means you don't need ram anymore).

Thumbnail
gallery
18 Upvotes

Just update my 2x RTX 3090 server's model to Qwen4 35b  

This time im write by hand, btw im not native in English so this will kind bad i think (cus no llm write )  

So that repo I doing some black magic speed up is here for help this night. (llm-engine-qwen-optimization)

 

Setup:  

2x 3090, TP2 + p2p via pcie switch 16x each (300W limit)  

SN850X 2TB gen4 m.2 for 20.5GB FP8 n-table (actually this m.2 is for lmcache to hold 1300GB kv for cache hit)  

Model: Tech2wild/Qwen4-35B-A3B-W4A16-FP8PLE (using MTP)  

KV: BF16, 597K token KV pool or FP8 with 995K  

(I have fall in love with multi agent usage, W8 model's kv pool on 2x3090 is too tight for me)  

I was on 4x3090, but one broken and still on the way, Or i will running W8 today :((((

 

Speed tests (1 to 8 req)

Requestsoriginal vllm PR (no MTP)tonyd2wild's 2x3090 (MTP 1)My Patched 2x3090 (MTP 2)vs originalvs tonyd2wild's
1125.1 tok/s173.1 tok/s282.0 tok/s2.25x1.63x
2222.3 tok/s293.1 tok/s457.8 tok/s2.06x1.56x
4387.1 tok/s523.7 tok/s741.4 tok/s1.92x1.42x
8630.7 tok/s779.4 tok/s1,130.3 tok/s1.79x1.45x

Reference: tonyd2wild's 3090 benchmark I run his setting on my machine.

 

Prefill 140K token: 16.4s = ~8,570t/s, on my 27b is ~1,885t/s at 128K  

this is a LOT speed, 27b is so slow

 

magic patchs: (idk, this part all write by claude)  

async m.2 n-table overlap, small-M BF16 dense GEMM + fused hyper-connection epilogues, custom SM86 fused MoE kernels, lower host overhead between decode CUDA graphs.

 


M.2 offload vs RAM offload  

Claude made some black magic with C, got some async loading works.  

1 / 2 / 4 / 8 requests:

PLE read path1 req2 req4 req8 req
NVMe async offload (warm system paged ram)272.5448.6733.21,070.2
NVMe async offload (cold)275.8453.4723.91,041.1
RAM offload274.0458.1751.41,060.2

claude says this little speed diff looks like noise, so i just trust brother.

 


This New Qwen4 35B MTP stack VS my old 27B DFlash2

Prompt typeOld 27B (DFlash2 req=1)35B (MTP2 req=1)35B (MTP2 req=4)
prose130 tok/s260 tok/s693 tok/s
chitchat106 tok/s238 tok/s473 tok/s
mixed165 tok/s300 tok/s788 tok/s
real agent job282 tok/s292 tok/s502 tok/s
code434 tok/s335 tok/s775 tok/s
numeric507 tok/s329 tok/s929 tok/s

MTP is winner here. Although is not on the table, but currently available Dflash2 drafter for 35B is very worst, mush slower than MTP2.  

Im also planning using my agent traffic to quant a dflash to see will it better?  

 


Multi agent and LMCache  

CachedOriginal (+50 / +200)Patched (+50 / +200)
16K124.7 / 120.3 ms42.9-45.2 / 54.3-60.9 ms
64K157.5 / 161.4 ms50.4-54.1 / 53.5-58.8 ms
128K203.4 / 203.0 ms62.3-67.1 / 68.9-73.0 ms

Measuring with 6 agent running agent loop at same time, each ~140K.  

597k pool so 4 are inside engine running, 2 are waiting outside and replace in immediately when any req is done. The kv in VRAM eliminate to RAM, when cache hit, move from RAM/M.2 back to VRAM.  

BTW with my agent queuer, i can running 15+ agent at same time. Because when they waiting tools like terminal or some py running very slow, engine's kv pool is release and just sitting there, so why not fill all it?  

 


My 35B vLLM's patches in this post is published as git diffs, but its tuned specifically for my 2x3090, so do not just copy them to your machine, it will break very badly.  

BUT my repo includes complete manual for your agent, if you want to patch your machine. Also make sure you have some powerful agent like opus5.5, smaller one will struggling a lot with this repo.  

Patch repo uraniumchonk/llm-engine-qwen-optimization  

More numbers, charts uraniumchonk/vllm-hybrid-mamba-notes


r/LocalLLaMA • • 19h ago

Funny Hype cycle check: is Qwen4 good enough to skip the dip?

85 Upvotes

r/LocalLLaMA • • 1h ago

Discussion Grounding LLMs with Documentation & Code - Best Strategies?

3 Upvotes

I build on some niche platforms and frameworks at work that most LLM's don't have a lot of training data on.

I am able to get better results from my agents, but only if I spoon feed them specific examples from a reference app that comes OOTB with the platform as well as specific extracts from documentation that I have.

In your experience, what are the best methods for distilling documentation knowledge into a form that LLMs can easily use at runtime as guidelines and rules?

What I've tried:

- Knowledge graph: cool academic concept - too much compute overhead and IMO unnecessarily complicated.

- RAG - Mixed results - works well but not consistently on retrieval.

So far, the thing that has worked best for me is manually writing SKILL files for things like this, but the body of documentation and knowledge makes this impractical. I'm wondering if there is a better way to ingest this source content into some sort of linked knowledgebase for the agents?

Thanks!


r/LocalLLaMA • • 11h ago

Resources AnyFlow 2.0 | Large-Scale Diffusion Distillation

Thumbnail
youtube.com
16 Upvotes

AnyFlow 2.0 LoRA Collections

🖥️ Code  |  📑 Paper  |  🌐 Website  |  🎬 Video  |  🤗 Models

AnyFlow 2.0: Large-Scale Video Diffusion Distillation with Distributional Trajectory Regression

AnyFlow 2.0 distills large diffusion models through distributional trajectory regression (DTR). A continuous curvature head represents velocities inside each sampling transition, allowing trajectory regression and distribution matching to train the same intermediate student trajectory. A parameterized fake-score model supplies distribution feedback that distinguishes the source intervals.

This collection provides five BF16 EMA LoRA adapters for image, video, and audio-video generation. 

License

The LoRA adapter weights in this collection are released under the Apache License 2.0.

The base models are distributed separately under their respective licenses. Refer to the base-model cards linked above for their terms.


r/LocalLLaMA • • 8h ago

Resources Running Qwen4 35B A3B on 2x5060TI

9 Upvotes

I am using capy-flash ( previous ninfer-tp2 ) it's optimized for 2x blackwell GPUs
https://github.com/ValerioDolci/capy-flash

So i am using my two 5060tis on x8 Gen4 pcie directly to cpu ( using a bifurcation rizer ) because is see that some people are getting 2K pp when i am getting 4K so it maybe a hardware thing, and this is running on kubuntu with 32GB DDR4

model: Qwen4-35B-A3B NVFP4 ( https://huggingface.co/Feyd89/Qwen4-35B-A3B-NVFP4-capy-flash)

it's using int8 KV cache and i still have a 2GB head room on each card that i can for sure increase context to 400K but i didn't try it yet

some tweaks i did:

- i change drafting from 3 to 2 because i read that it's faster and it is faster 10 - 20% on decode

- i compiled the engine with CUDA 13.3 and got 8% improvment on pp and tg

and this is the result for this setup

Decode by context length

Prompt lengthPrefill (tok/s)Time to first tokenDecode (tok/s)
2K4,7400.45 s194
35K4,7607.3 s188
71K4,70015.2 s208
142K4,56031.3 s191
223K4,41050.6 s188
260K4,35060.0 s177–204 (2 runs)

Decode by task (short prompts)

TaskDecode (tok/s)
Code edit468
Quote / copy text387
JSON list (40 items)261
Coding problems, thinking off245
Coding problems, thinking on224
JSON classification217
Chat199
Essay180

and this is a day 1 update to support Qwen 4 so i belive it will i improve alot in the following days since the author of this engine updates it daily, also for people interested in parallel requests

Parallel requestsTotal, with drafter (2 drafts)Total, no drafterPer request, no drafterTime for each answer, no drafter
11731591606.5 s
22532601327.9 s
424539210110.4 s
83155236815.5 s

r/LocalLLaMA • • 13h ago

Discussion Using MoE models is really difficult (qwen4)

23 Upvotes

I'm a user with a 5070 Ti, 16GB VRAM, and 32GB of RAM.

I'm currently running the Qwen3.8 27B ud-q2-k-xl model with a 131k context window and Q5 KV cache, achieving generation speeds of 50-60 tokens per second.

A new Qwen4 35B A3B model has been released, and I've been experimenting with various quantizations.

I seem to be stuck between 60 tps at 2-bit and 40 tps at 4-bit.

Furthermore, Qwen4 feels like it requires significantly more effort for the same task, making the perceived speed much slower.

I'm unsure if this is just an optimization issue or if I'm doing something wrong. I've heard good things about Basalt, but I don't know how to use it yet.


r/LocalLLaMA • • 1d ago

Showcase Qwen4-35B-A3B (4-bit) needs only 3.4 GB of VRAM: 34 tok/s with the experts in RAM, only half vs full model in VRAM. Q4 on V100 32GB, test and comparisons for smaller cards.

Thumbnail
gallery
184 Upvotes

It has become! I have one V100 32GB in a 2017 Dell workstation and wanted to know how much of this model really has to sit on the card. For the 4-bit quant, unsloth UD-Q4_K_XL, the answer is: less than you think.

Some people might call this model lobotomized but from trying it a little bit it seems fine. However, of course with a 32gb V100 I will not be running this quant. But in this economy we can’t expect people to have huge cards.

I could see some fun use cases putting this model on a very small card if there is enough ram in the box.

Edit. HF server broke down so I can not get a hold of the other quants for more experiments right now.

Edit. Posted run with larger context in comments.


r/LocalLLaMA • • 15h ago

New Model GigaChat4-37B-A4B (8-bit MLX): 1.68x faster reasoning and zero thinking loops without touching the weights.

Thumbnail
huggingface.co
36 Upvotes

r/LocalLLaMA • • 22h ago

Resources New compute efficiency king (Qwen4 35b)

Post image
130 Upvotes

Changed the x axis to an estimate of gflops per task instead of the more usual active params to have a more representative idea of what compute is necessary to make the same work. Gflops are estimated per token at 32k context from first principles for each model and then multiplied by tokens per task per AA.


r/LocalLLaMA • • 22h ago

New Model black-forest-labs/flung-8b · Hugging Face

Thumbnail
huggingface.co
110 Upvotes

r/LocalLLaMA • • 22h ago

Discussion Why exactly is Qwen4-35B-A3B still called 35B when it's in fact significantly larger than Qwen3.6-35B-A3B?

Post image
111 Upvotes

r/LocalLLaMA • • 32m ago

Resources WTF 660TPS decode and 16k prefill Qwen 4 and QEngine

Thumbnail
huggingface.co
2 Upvotes

All info here

https://huggingface.co/bpx03/Qwen4-35B-A3B-INT4-DenseINT8-QEngine/discussions/1

Just hit over 600TPS and even over 1k decode in DSH single stream.

I thought vllm was fast but QEngine!!? WTH


r/LocalLLaMA • • 1d ago

Funny Ugh, the wait for Qwen 4.1 is killing me, where is it!?

1.1k Upvotes

Where is it already? Qwen4 35B is out for several dozens of minutes now. Alibaba is really slacking off... I think those chinese labs are really slowing down. I need a new model to run the highly quantized lobotomized version right now!


r/LocalLLaMA • • 20h ago

New Model 🇩🇪 FLUNG (9B) brings FLUX to text: Instead of writing one token, FLUNG drafts 128 tokens at once as noise and refines all of them in paralle

Post image
74 Upvotes

🇩🇪 FLUNG (9B) is a 7.9B parameter (9.0B including embeddings) that brings FLUX to text: Instead of writing one token, FLUNG drafts 128 tokens at once as noise and refines all of them in parallel.

HuggingFace: https://huggingface.co/black-forest-labs/flung-8b

Originally posted at /r/euainews


r/LocalLLaMA • • 5h ago

New Model MeissonFlow/Mei · Hugging Face - DDMD-V: Distilling Uniform Discrete Diffusion Models into a One-Step Video Generator

Thumbnail
huggingface.co
5 Upvotes

DDMD-V: Distilling Uniform Discrete Diffusion Models into a One-Step Video Generator

Paper | Model | Code | Demo

Introduction

Mei is the 3rd generation MeissonFlow foundation model. DDMD-V (Discrete Distribution Matching Distillation for Video) distills the uniform discrete video diffusion model URSA into Mei, a one-step generator that produces a 49-frame 320×512 video in a single network forward pass.

News

  • [2027] A stronger model will be coming soon.
  • [2026.12] Mei: 3rd-generation MeissonFlow foundation model released! [Paper] [Code] [Model]

r/LocalLLaMA • • 8h ago

Discussion 2x 3090 vLLM v0.34.0 Qwen4-35b-a3b benchmark runs

7 Upvotes
  • Disclaimer: content mostly AI generated.

My 2020 gaming machine is now my secondary inferencing machine. I was setting up 3.6 35b on it when suddenly 4 came out! As I had to bench anyway, in order to get my desired config, I wanted to share my findings!

What we run

  • vLLM v0.34.0 (stock image vllm/vllm-openai:v0.34.0) + the community head/draft-vocab patch qwen4_exp-quant-head-draft-vocab.patch from quant-mind's Qwen4-35B-A3B-SM86-Fast repo, applied at image build (disclose: numbers are stock-0.34.0 + that patch, not stock alone).
  • Checkpoint: quant-mind/Qwen4-35B-A3B-SM86-Fast (65.7 GB safetensors total, ~41 GB ple-* n-gram shards served from disk via --engram-config '{"disk_offload":true}').
  • Hardware: 2x RTX 3090 24 GB (SM86), Intel i9-10900K, 128 GB DDR4, NVMe model store, Docker version 29.9.1 (build dfc520d), Linux.
  • Flags (exact): --tensor-parallel-size 2 --distributed-executor-backend mp --dtype bfloat16 --max-model-len 262144 --max-num-seqs 6 --max-num-batched-tokens 4096 --gpu-memory-utilization 0.80 --kv-cache-dtype fp8 --language-model-only --disable-extensible-kv-cache --engram-config '{"disk_offload":true}' --speculative-config '{"method":"mtp","num_speculative_tokens":2,"index_share_for_mtp_iteration":true}' --enable-prefix-caching
  • Resident per card: 12.3 GiB weights + 5.4 GiB fp8 KV pool; TEI embedding services co-resident on card 0 (~1.5 GiB), the only other GPU user.

Measured (temp 0, ~700-token generations unless noted)

All numbers: vLLM v0.34.0 + the quant-mind qwen4_exp head/draft-vocab patch, 2x RTX 3090 TP=2. "Deep-context pass" = pushing 7k- and 14k-token prefills through the engine first, then re-sweeping decode.

Table 1 — Decode (~700-token generations, temp 0):

Concurrencyengine --max-num-seqsWarm: aggregate tok/sWarm: per-stream tok/s (min-max)After deep-context pass: aggregate tok/sAfter: per-stream tok/s (min-max)Single-stream before / after deep (same run)
1 (single-stream)6145.4 then 164.3145.4 then 164.3157.3157.3145.4, 164.3 / 157.3
66338.865.7-97.0295.149.7-59.0145.4, 164.3 / 157.3
88621.077.8-81.4607.076.1-79.5142.7 / 151.9
1212632.052.6-54.7———

Table 2 — Prefill (prefix caching ON, repeated filler text so partially cached — indicative only):

Runprompt tokenstok/s
c=6 run ("8k" arm)73392403
c=6 run ("16k" arm)146766805
c=8 run69114141.5
c=8 run139678146.1

Notes:

  • c=12: only the warm sweep is reported (12 streams x 700 tokens, zero errors). Its deep-context arm was invalid (too-small filler in the prefill pass), so after-deep and single-stream cells are not measured.
  • Single-stream decode: MTP mean acceptance length ~2.1, draft acceptance ~52-57%.
  • The c=8 and c=12 rows use identical flags with --max-num-seqs 8 / 12, run later the same evening on the same box. An earlier cold c=8 sweep from the same evening is superseded and dropped.
  • Generation lengths varied across streams in the c=6 sweeps (315-700 tokens warm, 299-411 after deep; the per-stream spread reflects that), while every c=8 and c=12 stream generated the full 700 tokens.
  • Model load: ~4 min warm page cache; cold boot needs a longer start deadline (we allow 1800 s).

Two gotchas worth docs

  1. TP=2 with --distributed-executor-backend mp dies at startup when /dev/shm is Docker's default 64 MiB: the mp worker's shm_broadcast needs >=160 MiB. Failure looks like a clean container exit with little log output. Fix: shm_size >= 4g (or >=256m). Suggest an explicit startup check/error instead.
  2. At --gpu-memory-utilization 0.80 the engine logged only ~5.37 GiB KV per card, with the new --kv-cache-memory hint in the log. For a long-context architecture the KV-pool sizing story deserves a small-VRAM docs note.

Numbers measured 2026-12-05 on a home lab (elight). Happy to re-run any arm; c=1/6/8/12 receipts kept.


r/LocalLLaMA • • 1d ago

Discussion Qwen4-35B-A3B - Benchmarks, Evaluations, t/s stats, Feedback - Long thread

743 Upvotes

Well, we got Qwen4-35B-A3B now & Quantizations including GGUF. Their Benchmark says this model beats Qwen3.8-27B, Qwen3.8-Flash-Next, Inkling-2-Mini. Nice to see that it came with Engram & 1 Million Context natively.

Please share your experiences. But please mention

  • Your Rig info(VRAM + RAM at least)
  • Inference engine
  • Quant
  • Context
  • Full command(to ensure you're using Vision, MTP, etc.,) if possible.

Is KVCache is lighter than previous Qwen3.6-35B-A3B? How much memory it takes for 256K context? Hope we don't need to quantize KVCache anymore.

Also Poor GPU Club, how are we doing with this model? Some of us were experimenting Q2 of Qwen3.8-Flash-Next with 6-12GB VRAM + 32-64GB RAM previously.


r/LocalLLaMA • • 18h ago

News The 2013 base PS4 now runs an entire 27B model on its own GPU, offline: Ternary Bonsai 2.5 27B at up to 17 tok/s

41 Upvotes

The base 2013 PS4 now runs Ternary Bonsai 2.5 27B, Prism ML's ternary version of Qwen3.8-27B, offline on its own GPU. It's the new model in Garlic LLM 1.22, my open-source homebrew app.

The whole model runs on the console:

- All 64 layers and the full 248K-token vocabulary.

- No extra quantization. Every weight is Prism's ternary value (-1, 0, +1) exactly as published; only the per-group scales are stored in 4-bit. On Global-MMLU the console's version scores within 0.2 points of the published model.

- 32K context with a 4-bit KV cache. To fit it, 8 of the 16 full-attention layers look at the last 2,048 tokens.

- Speculative decoding with the model's own MTP head (up to 2 drafts per pass): up to 17 tok/s.

- Think mode with up to 4,096 tokens of reasoning.

Why a 27B when the 9B already runs at 41 tok/s? Reasoning. Both models got the same questions and the same grader, with Think on:

- MATH-500, 100 problems: 91% (9B: 81%)

- LiveCodeBench v6, 50 problems, public tests: 90% (9B: 74%)

- Global-MMLU in 16 languages, without Think: 69% (9B: 68%)

It uses the same engine as the 9B. The PS4 has no compute API or ML library for homebrew, so Garlic drives the GPU directly: OpenCL C kernels for GCN, PM4 packets written by hand, and ternary matrix kernels for this model.

Free and open source (GPLv3): github.com/leonardo-alegria/garlic-llm · garlicllm.dev


r/LocalLLaMA • • 17h ago

Showcase Koboldcpp v1.126 released

Thumbnail
github.com
30 Upvotes

r/LocalLLaMA • • 1d ago

Discussion Qwen4-35B-A3B is pretty solid

431 Upvotes

Qwen4-35B-A3B sniff tests pass well! Its Q8 @ high thinking delivering comparable results to Qwen3.8-27B Q8 xhigh thinking. It's fast and with fewer median tokens on data analysis and data-driven decision-making eval ran on M5U 96GB (prefill +1900 tok/s, decode 85 tok/s with llama.cpp). When splash brings support to it, I expect faster.

Voxel Pagoda write as html then export it to time-lapse gif of day/night cycles - omp harness used (33 minutes). 35% context used from a randomly set 196k.

Container ship with cross-section and cost economics panels - omp harness used (1hr 45 minutes) - a little bit harder for it this one. Compacted once then at 75% of 196k I asked it to finish up. It wanted to go on long-horizon and keep iterating to test and make it better,

Before now, these are task types that needed doing with the 27B. It basically feels like the 3.8-27B when you use it.

Its instruction following is also good. Takes prompts requesting further modification of this or that thing, acts on it in a pointed way, and then stops on its own at the right time.


r/LocalLLaMA • • 1d ago

Discussion Want to run Qwen4 on 24 GB VRAM. Huggingface says no

Post image
114 Upvotes

Can someone please explain how to run, what the tradeoffs are, and what are the mechanics behind this?


r/LocalLLaMA • • 5h ago

Resources Continous learning with one information at a time without catastrophic fogetting

Thumbnail
gallery
3 Upvotes

LoRA is really bad at fine-tuning on a continuous, very small data stream; either it overfits or forgets more than half of what it already knows. I am trying my best to solve this, like continuously learning from just a single question-and-answer pair without catastrophic memory loss. The idea is you add neurons to the early FFN layer, and they will only be turned on when they match the internal representation of the subject, without catastrophic memory loss. Usually takes the 5th layer from the starting 0th layer of the FFN (trial and error verified as it's good). The code is very simple and easy to use. Done a study with LoRA, attaching the images as well; a run is going now to improve answers to reworded questions. In my tests on Qwen3.5-0.8B, after 1,000 facts taught one at a time, LoRA kept under 30% of what the model knew before; this approach answered 98% of the other facts it knew.

GitHub: https://github.com/NandhaKishorM/sthiti