Why is Qwen4:35b-a3b-q4_K_M so big (36GB)?
The model is 36GB despite having 35 billion 4bit weights? I don't understand.
It should be half as big!
The model is 36GB despite having 35 billion 4bit weights? I don't understand.
It should be half as big!
r/ollama • u/spookyclever • 6h ago
I just finished reading through the analysis, and while the comparison between other frontier and locally runnable models is interesting, I was more interested in how it fared against 3.8:27B since that's been my local workhorse for a while. It looks like it's faster and cheaper to run, but slightly less good in terms of problem solving.
For me, that may be a deal breaker. While I care somewhat about speed, what I really care about is ability. I love that it's now multi-modal, it seems like that came in compromise against intelligence - which is the most important when trying to solve hard problems locally instead of using Claude or Codex.
I'd love to hear everyone's thoughts about it.
r/ollama • u/AutoModerator • 16h ago
Show us what you've built with Ollama this week!
Suggested information to include:
Rules:
New post every Friday!
r/ollama • u/yoko_ac • 18h ago
I want to run qwen4:35b-a3b (Q4_K_M, ~36 GB) on Ollama with an RTX 5090 (32 GB). The model has a ~11 GB n-gram embedding table (per_layer_token_embd). In llama.cpp you can keep it out of VRAM with --load-mode mmap --lazy-mode on -ot per_layer_token_embd=CPU, which leaves the GPU for experts/attention.
Questions:
In the end, I am looking for the best setup for a RTX 5090 (32 GB) utilizing Ollama (please no llama.cpp vs Ollama discussion, I am aware of it).
r/ollama • u/schizoyaarapna • 15h ago
My system specs is 1 laptop: 4gb vram 512gb SSD 8gb ram
2laptop: 2gb vram 512gb SSD 16gb ram
r/ollama • u/meazontv • 7h ago
DeepSeek V4-Pro Uncensored Kimi K3.1 Pro Abliterated 4.1 Flash Uncensored etc........
I'm looking for some kind of website that uses all of this or similar models with APR or even with a subscription. I looked at it a bit and there are so many different websites and so many different places to use it but I don't know which one is the best for me. I'm normally using it venice but venice doesnt have kimi or deepseek pro some good stuff
which site or place is the best ?
r/ollama • u/Express_Quail_1493 • 7h ago
r/ollama • u/infinitylogesh • 13h ago
r/ollama • u/nicolasjanematas • 17h ago
TL;DR: I built an open-source (AGPLv3) self-improving agent that runs on
local models via Ollama and writes its own policies as auditable code. Its
14B council learned to invent its own working memory and crossed a hard
multi-stage gym (5/6). I QLoRA-fine-tuned a 7B (qwen2.5-coder) on those
winning cycles (5 pairs, 9 steps, n=1). The fine-tuned 7B did NOT learn
to cross (0/1 live, ceiling 7/10 = untrained base) and regressed outside
its training format (naked arm: 7/10 base → 0/10, harness exonerated by a
6-line control policy scoring 8/10). Code + data:
https://github.com/nicolasjanematas/iadn (v0.9)
**What IADN is:** an agent whose genome is code, not weights. It writes
its own policies, an AST-based "immune system" (Pepito Grillo) vets every
artifact mechanically, a gym validates them, and winners are kept. All
voices call local models through Ollama (`qwen3:8b`, `qwen2.5-coder:7b`;
the fine-tuned planner is served the same way after merging the LoRA
adapter — the notebook includes the merge step).
**The ablation (hard gym: 10 problems, 2-3 chained orders each):**
| Setup | gym | Crossings |
|---|---|---|
| 7B base, naked policy | 7/10 stable (×3 runs) | 0 |
| 7B base + harness working memory | 10/10 | ✅ |
| 7B base, must invent memory (organ) | ceiling 7/10 | 0/6 |
| 14B council, same organ arm | — | 5/6 |
| iadn-coder:7b (QLoRA), naked arm (n=1) | 0/10 in 10 cycles | 0 |
| iadn-coder:7b (QLoRA), organ arm (n=1) | ceiling 7/10 | 0/1 |
**Two findings I'd defend in the comments:**
Negative result: distilling a few winner cycles into a 7B via QLoRA
doesn't transfer the capability. Conditions: dataset v3 (5 pairs), 9
steps, n=1. A bigger clean dataset / more steps / distilling the
reasoning trace instead of final code could change it — door open.
Format capture: trained only on organ-format artifacts, the 7B
degraded outside that format. Evidence: dominant failure is
loop-until-cycle-detector + returning None (not exceptions), and a
trivial hand-written naked policy scores 8/10 on the identical gym
and config — so the harness allows it; the model just never got there.
**Bonus finding (AI-control relevant):** the winning organ leaks state
through aliasing — `percibir` puts an `estado`-owned dict into the
augmented observation and `politica` mutates it. Our AST-based immune
system can't see it because it's a shared reference, not a direct access.
Fix: deep-copy observations at the harness boundary. Test included in v0.9.
**What this does NOT show:** the LoRA arms had the fine-tuned planner but
4/7 council voices were still an 8B (confound); n=1 per arm; an external
judge run of an earlier version is excluded as evidence (that version
wrapped every policy in harness memory, so its scores measured nothing).
**Try it locally:**
`ollama pull qwen2.5-coder:7b` (plus `qwen3:8b` for the other voices),
then `python main.py --mock` (full loop, no model) and
`python main.py --mundo archivos --entrenar --dificil`. Full audit (§12)
with English summary at the top of the README.
r/ollama • u/Free-Stage-5975 • 3h ago
Hi, so I was curious if editing a 4B parameter model would change much, so I got Claude and Antigravity to change 0.5% of The parameters of a Nvidia Nemotron LLM model.
It went from about 2 GB to 13 GB roughly, due to the quantization unquantizing...
I like Ollama better so we made it run on there instead of LM Studio, Ollama has better Ram offloading.
I don't know if the personality changed but it was extremely skeptical when I explained what happened and the model refused to believe me and thought I was making jokes. Eventually it came around. We also modified its internal knowledge a little bit which made it more compliant.
I like reading the chain of reasoning and it had a nice little personality.
Overall, I think it was quite a fun experiment and it retained perfect coherence even though approx 20 million weights had been changed.
I wonder if I should change more weights or randomly set a few weights to maximum? Any ideas?
r/ollama • u/PresentationLevel631 • 9h ago
r/ollama • u/Alone_Conflict4103 • 10h ago
r/ollama • u/Express_Quail_1493 • 13h ago
r/ollama • u/gonicolas12 • 20h ago
Hi! I'm the developer of My_AI, a free, open-source (MIT) personal AI assistant. The model runs locally through Ollama, and it comes with a desktop app, a VS Code extension and a phone relay.
Version 9.3.0 adds an MCP connectors menu:
- Paste the JSON config from an MCP server's docs (Claude Desktop, Cursor or VS Code format) and it's connected, no restart needed.
- Servers can run on your PC or remotely, with a token or your account. For Notion, you just enter its URL and click Connect.
- Before any tool that modifies something, My_AI asks for your approval, on the desktop or on your phone.
The model still runs on your machine; a remote server only receives what you ask its tools to do. This release also makes the chat faster.
Release notes and code: https://github.com/gonicolas12/My_AI/releases/tag/v9.3.0
Feedback welcome, especially on the approval flow: would you rather approve every call, or allow a tool once per session?
r/ollama • u/BristolBerry • 8h ago