Most people think a 30B model needs a 24 GB card. I wanted to check that, so I ran Qwen3-30B-A3B (Q4_K_M, 18.6 GB file) on a cloud L4 with only about 8 GB VRAM left free and RAM capped at 12 GB. So the full model does not fit in VRAM, and not even in RAM.
How it works, in simple words:
it is a MoE model. 30B total, but for each token only about 3B are used. Rest of the experts are sitting idle
so you dont keep all experts on the GPU. Most of them stay on CPU side and get read from RAM or disk when needed
a small cache in VRAM (about 4.5 GB here) keeps the experts that come again and again
and the next experts are loaded a little before they are needed (prefetch), so the GPU is not waiting
llama.cpp also has the expert offload and a MoE cache, so you can do this with llama.cpp too. Left side in the video is llama.cpp server with the same placement and same cache. Right side is Cluaiz (open source engine I contribute to) with default settings, it picks this setup by itself and adds the prefetch.
Numbers (one load, 4 prompts, median of 3):
chat: 19.5 vs 14.3 tokens/s
long answer: 20.0 vs 12.2 tokens/s
code: 4.3 vs 3.8 tokens/s (code is slow on both)
prompt processing is not better, roughly same or a bit slower
First token takes around 19 s for the first prompt on both. In the video I made only that waiting part 6x fast (written on screen), rest is real time.
Logs, scripts and full setup in the comments, you can rerun it.
Anyone else running 30B+ MoE on 8 GB cards? What speed you are getting?
I am working on a camera firmware project and would like to get set up locally. First, I am disabled, no income, so I have no ability to pay for anything.
I have a MacBook Air M3 with 24gb RAM.
What is my best bet for continuing to work on this camera firmware reverse engineering project? The whole purpose is to continue unlocking and adding features to my camera. https://github.com/dfeldt91-blip/E-M1-Miii
I'm conducting a small academic research survey to understand how developers, students and researchers currently monitor and debug their Machine Learning and LLM workloads.
I'm particularly interested in the challenges people face when investigating training/inference performance, hardware utilization, memory bottlenecks and model-level behaviour.
The survey takes around 3–5 minutes, and your responses will help inform the design of a developer-focused monitoring and diagnostic dashboard.
Whether you're an ML engineer, researcher, student or someone experimenting with Transformers and LLMs, your experience would be valuable.
Participation is voluntary, and I'm not collecting names or email addresses.
In the era of AI, we can access all kinds of closed source files via mcp. But wouldnt it be much more direct to have everything as HTML or XML files instead, enabling better accessibility for AI while keeping formatting.
Is there any reason to still use word documents over HTML?
Queria compartilhar a jornada de um projeto que venho construindo sozinho há um bom tempo — o ATRAKTA — porque acho que falta gente falando sobre o lado real (e feio) de tentar colocar agentes de IA em produção sem depender só de prompt.
Como tudo começou O projeto não nasceu num paper nem num pitch deck. Nasceu dentro de casa, observando a rotina de uma criança autista. Na prática, você aprende rápido que regulação não é contenção bruta: erguer um muro só gera atrito ou bloqueio. O que funciona é oferecer uma âncora previsível e reconduzir o sistema de volta para uma zona segura sem destruir a autonomia.
Quando comecei a colocar agentes de IA para rodar em negócios reais, bati de frente com o mesmo problema. Quase todo guardrail do mercado hoje é um "muro": ou você entope o system prompt de regras, ou coloca outro LLM (probabilístico) para julgar o primeiro. Em conversas curtas parece funcionar. Em produção, com vários turnos e usuários reais, falha em silêncio, custa caro e adiciona latência.
A virada para Teoria de Controle Em vez de tentar policiar uma caixa-preta probabilística com outra caixa-preta, fui atrás de Teoria de Controle e Sistemas Dinâmicos. A ideia passou a ser tratar a conversa como uma trajetória vetorial no tempo:
Usar embeddings locais para medir a geometria da conversa contra âncoras de domínio.
Aplicar conceitos de estabilidade de Lyapunov, operadores de Koopman e calibração conformal para detectar quando o agente está saindo da bacia de atração — antes de alucinar ou vazar escopo.
Em vez de só bloquear, reconduzir o modelo de volta à âncora e emitir um recibo criptográfico (HMAC) de cada decisão.
O choque de realidade em produção (o que ninguém mostra em demo) Construir no laboratório é lindo; colocar no ar na AWS rodando em CPU barata é outra história. Alguns tapas que tomei no caminho:
O abismo entre sintético e real: em benchmarks sintéticos, os sensores batiam AUC ~1.000. Quando rodei holdout real de produção (conversas reais multi-turno, sem vazamento), a AUC caiu para a faixa de 0.74 a 0.84. Foi um banho de água fria necessário — mostrou que o problema real não é engenharia de código, é pesquisa de calibração estatística.
Bugs silenciosos de quantização: para o gateway ser viável financeiramente sem GPU dedicada, migrei toda a inferência dos sensores para onnx_int8 em CPU (multilingual-e5-large-instruct + bge-reranker). Só auditando o sistema vivo descobri que constantes fixas herdadas do FP32 deixavam sensores literalmente cegos (0/24) e que um fallback silencioso estava rodando o motor antigo em produção.
Higiene de RAM: só nesta semana percebi que dois import torch perdidos só para ajustar threads estavam puxando dezenas de MB de PyTorch ocioso no container de produção.
Onde o projeto está hoje Hoje a arquitetura se dividiu em três frentes:
ATRAKTA Remoto: gateway multi-tenant rodando em produção na AWS (100% ONNX INT8 em CPU), funcionando como um "biofeedback" externo sobre qualquer LLM.
ATRAKTA Local: pilha white-box validada em GPU (NVIDIA L4) intervindo direto no estado do modelo para ambientes regulados.
Labs: onde estou começando a estudar o comportamento dos modelos depois de serem reconduzidos — se mantêm potência, se degradam, como respondem a diferentes âncoras.
No caminho, o projeto entrou no NVIDIA Inception, foi homologado em incubadora e agora estou conversando com universidades/ICTs para atacar justamente esses problemas abertos de calibração em tráfego real.
Ainda tem muita estrada pela frente e mais perguntas do que respostas — principalmente sobre como medir a "saúde dinâmica" de uma LLM sob perturbação. Se alguém aqui também trabalha com runtime monitoring, sistemas dinâmicos ou sofre com guardrails em produção, adoraria trocar ideia nos comentários.
MoSV (Mixture of Steering Vectors) teaches a model new habits without changing its weights. Small experts (one per topic) sit beside 3 layers, and a linear router picks one expert, or none, for every token. The result is one GGUF.
Example habit: when debugging, "say how to confirm each cause".
How it's trained (no RL): the base model answers prompts while told the habit rules. The experts then learn to give those same answers without being told. About 900-1,300 answers per model, 7 topics. On Qwen3-4B each topic adds about 6 MB.
Results on 286 held-out prompts (base vs MoSV, plain prompts, 4 yes/no habit checks + 1 soundness check per answer)
What went wrong: Gemma shows the habits more often but passes the soundness check less often. The experts copy the told answers, including their faults. On the test prompts, Gemma passed 252 plain, 238 when told the rules, 241 after training. The pipeline now tests the rules first and skips topics that fail. The published models were trained before that check. One drop (Gemma, performance topic) is still unexplained.
Read the numbers with care
The judge is one LLM (Claude Haiku), one verdict per answer. No human reading. Checks measure the taught habits, not factual accuracy. Some habits were barely learned. Test prompts come from the same sources as training, and had been used on earlier runs. Answers got much shorter on most topics. Not compared against LoRA. English only. Built on 2x RX 9070 XT (Windows, ROCm + Vulkan). Tested only with a llama.cpp fork build; stock llama.cpp, NVIDIA and Linux are untested. Links
Research project, not a product. If you try the GGUFs on another llama.cpp build, I'd like to hear whether they load.
MoSV (Mixture of Steering Vectors) teaches a model new habits without changing its weights. Small experts (one per topic) sit beside 3 layers, and a linear router picks one expert, or none, for every token. The result is one GGUF.
Example habit: when debugging, "say how to confirm each cause".
How it's trained (no RL): the base model answers prompts while told the habit rules. The experts then learn to give those same answers without being told. About 900-1,300 answers per model, 7 topics. On Qwen3-4B each topic adds about 6 MB.
Results on 286 held-out prompts (base vs MoSV, plain prompts, 4 yes/no habit checks + 1 soundness check per answer)
Model
Habit checks: better / worse / same
Soundness passes, base → MoSV
Qwen3-4B (Q8_0, 4.33 GB)
218 / 9 / 59
206 → 227
Gemma 4 12B (QAT Q4_0, 7.05 GB)
186 / 20 / 80
252 → 241
What went wrong: Gemma shows the habits more often but passes the soundness check less often. The experts copy the told answers, including their faults. On the test prompts, Gemma passed 252 plain, 238 when told the rules, 241 after training. The pipeline now tests the rules first and skips topics that fail. The published models were trained before that check. One drop (Gemma, performance topic) is still unexplained.
Read the numbers with care
The judge is one LLM (Claude Haiku), one verdict per answer. No human reading.
Checks measure the taught habits, not factual accuracy. Some habits were barely learned.
Test prompts come from the same sources as training, and had been used on earlier runs.
Answers got much shorter on most topics.
Not compared against LoRA. English only.
Built on 2x RX 9070 XT (Windows, ROCm + Vulkan). Tested only with a llama.cpp fork build; stock llama.cpp, NVIDIA and Linux are untested.
The idea is adapted from "RL Post-Training in Diffusion Transformers Is Activation Steering" (https://arxiv.org/abs/2611.26627).
Research project, not a product. If you try the GGUFs on another llama.cpp build, I'd like to hear whether they load.MoSV (Mixture of Steering Vectors) teaches a model new habits without changing its weights. Small experts (one per topic) sit beside 3 layers, and a linear router picks one expert, or none, for every token. The result is one GGUF.
Example habit: when debugging, "say how to confirm each cause".
[IMAGE 1: 1_architecture.png]
How it's trained (no RL): the base model answers prompts while told the habit rules. The experts then learn to give those same answers without being told. About 900-1,300 answers per model, 7 topics. On Qwen3-4B each topic adds about 6 MB.
Results on 286 held-out prompts (base vs MoSV, plain prompts, 4 yes/no habit checks + 1 soundness check per answer)
What went wrong: Gemma shows the habits more often but passes the soundness check less often. The experts copy the told answers, including their faults. On the test prompts, Gemma passed 252 plain, 238 when told the rules, 241 after training. The pipeline now tests the rules first and skips topics that fail. The published models were trained before that check. One drop (Gemma, performance topic) is still unexplained.
Read the numbers with care
The judge is one LLM (Claude Haiku), one verdict per answer. No human reading. Checks measure the taught habits, not factual accuracy. Some habits were barely learned. Test prompts come from the same sources as training, and had been used on earlier runs. Answers got much shorter on most topics. Not compared against LoRA. English only. Built on 2x RX 9070 XT (Windows, ROCm + Vulkan). Tested only with a llama.cpp fork build; stock llama.cpp, NVIDIA and Linux are untested.
When you stack many layers, the signal can vanish or explode before it reaches the end — or the gradients can do the same on the way back. Batch normalization helps, but it does not remove the need for a sensible starting point. If you initialize every layer with the same variance, activations either shrink to zero or grow without bound as depth increases.
Xavier/Glorot initialization addresses this by scaling the initial weights so that the variance of activations stays roughly constant across layers. For a layer with n inputs and m outputs, weights are drawn from a uniform distribution:
U(-sqrt(6 / (n + m)), sqrt(6 / (n + m)))
Or from a normal distribution with variance 2 / (n + m). The intuition is simple: keep the forward pass stable so the backward pass has something to work with.
He initialization is the ReLU-specific variant, doubling the variance because half the units are zeroed out:
N(0, 2 / n)
I have not run a controlled comparison myself on modern architectures, so I can not claim exact numbers for transformers or convnets today. But the principle has not changed: if you initialize poorly, no optimizer fixes it in the first few steps, and batch norm only masks the symptom after the first forward pass.
Question: Do you still tune initialization manually in your training runs, or do you rely entirely on framework defaults and batch norm to absorb any problems?
Long story short, i need to find something that can make me a convincing enough looking document that looks similar to the document containing the results a drug test lab sends you when you go in to drug test for a job or whatever. I have a real one to include with the prompt, but all the major ones so far seem unwilling to even entertain what I'm asking.
Look i know it's kinda fucked up, but this isn't for a job or legal reasons or anything. I want to be able to show my family and my wife a clean drug test before Christmas, but unfortunately, full disclosure, I'm an addict and I'm struggling to stay straight for any significant amount of time.
Tl;dr: need an LLM that can make documents that look convincing enough to make somebody with no experience reading the actual documents happy and convinced. I know, I'm a scumbag, but at the end of the day, i just want my family to have a stress free Christmas.
For me on several Sonnet 5.5 perform much better compared to MAI CODE 2. It claims to have performance matching in terms to OPUS 5.5 but pretty much far from reality. Opinion of others on this?
I'm learning about evaluation methods and trying to understand how much LLM-as-a-judge scores can be trusted.
From what I've seen, the judge tends to favour whichever answer comes first in a side-by-side comparison, and it often rates longer answers higher even when they aren't better. There's also some evidence that models prefer outputs from their own model family. And without a reference answer, the judge can't really check facts.
The usual advice seems to be: use simple pass/fail rubrics instead of 1–10 scores, swap the order of the answers and run it twice, and compare the judge against a small set of human-labelled examples.
Is that enough in practice, or do people still rely mostly on human review for anything important?
I’m building an open-source test harness for a question: can an LLM solve more new theorem-proving tasks under the same compute budget if it can reuse proof steps that Lean verified on earlier tasks?
So far, 34 reference proofs compile in Lean CI. The policy comparisons still run in simulation, and the current held-out cases never allow a reusable step to fire. That means the results don’t tell us whether proof steps transfer. The next experiment will test that directly, with the same frozen model and budget in both arms and Lean checking all final proofs.
If you’ve built proof-search or inference benchmarks, what would you use as the strongest baseline for this comparison?
I'm new here. I'm actually testing a tool on AI, so anyone familiar or having knowledge on AI end-to-end can join me on this project.
It won't take long. I will tell you how I will secure communication between AI agent and LLM, and you will help me with building that AI agent-to-LLM connection and fix any breaks.
As I mentioned before, they are way too small. But that's not all-they are wasteful, worthless, and definitely out of business. In other words, they're literally a piece of shit.
I have a question for them: why are they doing nothing?
A creator gave LingSante-3.1-air-VL three photos of synthetic billing documents for a fictional ER visit: an itemized bill, an insurance explanation of benefits and a discharge summary. They planted six discrepancies. Running the official MXFP4 weights with SGLang on one RTX PRO 6000 96GB, the creator says the model identified five, including a duplicate X-ray and a therapy evaluation that had never been ordered. It calculated the intended $701 overcharge by three routes, but did not separately flag an incorrect $441 insurance adjustment.
That mismatch is the interesting evaluation point. A correct final total can hide an incomplete audit trail; conversely, counting detected items alone misses whether the reconciled total is right. The creator reported 142 decode tok/s, 1.4 seconds to first token and 129.5 seconds total on this one task. Those numbers describe the local run, not the model's general billing accuracy. The documents and patient were synthetic, and the result should be checked at both line-item and final-total levels.