Антон Сашнин (@antonsash) profile picture
Благовещенск
Joined August 2009
Антон Сашнин retweeted
A 12GB RTX 3060 is reportedly generating around 50 tokens/s with Qwen3.8-35B-A3B. Prompt processing reaches approximately 550 tokens/s, using just 16GB of system RAM alongside the GPU. No RTX 3090. No multi-GPU server. Just a consumer GPU, llama.cpp and a carefully optimised inference configuration. The interesting part is how a model with 35 billion parameters can run on hardware with such limited memory. The hardware and configuration The developer’s reported setup uses: GPU: NVIDIA RTX 3060, 12GB VRAM System RAM: 16GB Model: Qwen3.8-35B-A3B Quantisation: Q4_K_M Inference engine: llama.cpp Decode speed: ~50 tokens/s Prefill speed: ~550 tokens/s Configured context: 262K tokens Attention optimisation: Flash Attention KV cache: Q8 CPU offloading: 26 MoE layers One distinction is important when reading these numbers. The 550 tokens/s figure measures prefill, meaning how quickly the model processes incoming prompts. The approximately 50 tokens/s figure measures decode, which is how quickly it generates responses. They measure different stages of inference and shouldn’t be treated as interchangeable. Why a 35B model can run on 12GB VRAM The main advantage comes from its Mixture-of-Experts (MoE) architecture. Qwen3.8-35B-A3B has approximately 35 billion total parameters, but only around 3 billion are activated for each token. A routing mechanism selects the relevant experts for each token instead of activating the entire network for every operation. This reduces the computation required during generation. However, there’s an important distinction: 3B active parameters does not mean the model only needs memory for 3B parameters. The complete collection of model weights must remain accessible because different experts can be selected as generation progresses. That’s where CPU/GPU hybrid inference comes in. How llama.cpp distributes the workload The RTX 3060 provides 12GB of dedicated VRAM, while the system contributes another 16GB of RAM. Rather than attempting to keep everything in GPU memory, the developer uses llama.cpp to distribute model execution across the two memory pools. According to the reported configuration, 26 MoE layers are offloaded to the CPU. This makes it possible to access model components that cannot all fit in the GPU’s available memory. There is a trade-off, though. Moving data between system RAM and GPU memory introduces PCIe transfer overhead. Too much offloading can slow down generation, even when sufficient memory is available. The MoE architecture reduces computation per token, while hybrid inference makes the full model accessible across the available hardware. Three optimisations make the setup practical 1. Q4_K_M quantisation The model uses a four-bit GGUF quantisation format that substantially reduces weight storage requirements compared with higher-precision representations. The trade-off is some loss of numerical precision, which can affect coding, reasoning and instruction-following quality. 2. Flash Attention Attention becomes increasingly memory-intensive as context grows. Flash Attention improves how attention calculations are executed, reducing unnecessary memory transfers and avoiding the need to materialise large intermediate attention matrices in full. This helps reduce memory pressure and improve computational efficiency. 3. Q8 KV cache The KV cache stores information from previously processed tokens so it can be reused during generation. Its memory requirements increase as the context gets longer. Using an 8-bit KV cache reduces the memory required compared with higher-precision formats, leaving more room for model execution and longer conversations. Together, these optimisations address three different bottlenecks: weight storage, attention computation and context memory. What about the 262K context? The developer reports a configured context length of up to 262K tokens.
22
24
4
447
48,678
Антон Сашнин retweeted
одна из тем которой я сейчас занимаюсь - это попытка классифицировать какие вообще бывают архитектуры AI агентов. Слово это мы слышим уже третий год из каждого утюга, а что агенты представляют из себя изнутри - у каждого свое какое-то представление. Я выделил общие свойства, паттерны архитектуры и строительные блоки, и получается вот что. Делюсь бесплатно, цените
🤖 Made with AI
2
37
1,910
Антон Сашнин retweeted
RIP paid AI memory tools. MemPalace just hit 49K stars for one reason: it outperforms everything, runs locally, costs nothing, and never sends your data anywhere. Most AI memory systems work like a junk drawer. You throw everything in and hope semantic search finds the right thing. MemPalace organizes memory into a structured palace where people and projects get wings, topics get rooms, and original text lives in drawers that can be searched individually without crawling the whole corpus. The benchmark numbers are what shocked me. 96.6% retrieval recall on LongMemEval with zero API calls, zero LLM, zero cloud involvement. Add the hybrid pipeline and it hits 98.4% on questions the system had never seen. Every result is fully reproducible from the repo. → Verbatim storage, nothing gets summarized or rewritten ever → 29 MCP tools for palace reads, knowledge graph operations, cross-wing navigation, and agent diaries → Auto-save hooks for Claude Code keep memory updated before context compression hits → Python 3.9 plus ChromaDB is all you need, around 300MB disk and zero API keys 49K stars. MIT License. 100% Opensource. github.com/MemPalace/mempala…
111
110
11
1,498
115,685
Антон Сашнин retweeted
Andrej Karpathy spent 8 years at OpenAI and Tesla Last week he compressed everything he knows into one free 2-hour lecture Prompts → Agents → Harness → Graphs → Loops People spend $15k on bootcamps that teach less than this You probably don't have 2 hours right now Don't let it vanish from your feed Watch it, then read the full Opus 5.5 harness engineering guide below ↓
Stop letting unfinished Opus 5.5 runs eat your budget Set up the harness before your next long task Save progress, verify results, reuse the workflow The full 7-layer setup below ↓
8
41
281
30,878
Антон Сашнин retweeted
OpenAI co-founder Andrej Karpathy called it a compiler, not a storage system. this diagram shows the architecture he described. Your second brain is a filing cabinet. It holds a thousand saved articles you will never open again, and it is exactly as smart today as the day you started. A compiled wiki is built differently: raw holds the sources, untouched, as your ground truth wiki is where the model turns raw into linked, structured pages, so you read it and the model writes it output is where finished work lands, built from the wiki and never from memory At the center sits CLAUDE.md: who you are, what you want, what you're building. The model reads it before every session, so you never explain yourself twice. The whole loop starts with one prompt: "Ingest the new file in raw/. Write a summary in wiki/, link every concept it touches and add it to wiki/index.md. Never edit raw/." Five automations keep it running: ingest, write, manage, review, maintain. Every new source gets compiled into what's already there, so the system gets smarter with each one.
10
45
2
380
33,799
Антон Сашнин retweeted
教育界要变天了! 港大开源了个AI私教DeepTutor,GitHub 4.3万star 不是那种一问一答的聊天框,把课本讲义丢进去,它就围绕你自己的资料来讲题、出题、画图解,全在一个工作区 最绝的是会记住你学到哪了,换个会话进度接得上,还能看学习记录的三层分解 网课也能用,B站YouTube链接贴进去,哪秒没听懂就问哪秒 装起来就三行代码,懒得配的话丢给Claude自己装 传送门 👉 github.com/HKUDS/DeepTutor
67
473
8
2,304
139,322
Антон Сашнин retweeted
太夸张了!一个人指挥 50 多个 AI Agent,干了 20 个工程师的活!😱 一位曾在 Cursor 工作的 SpaceXAI 高级工程师,分享了她的 AI 自动化工作流: 每天早上喝杯咖啡,就能管理整个 AI 团队。 她的配置是: 1 个 AI 总管:统筹所有工作 3 个 AI 项目经理:分配任务、协调进度 40 多个 AI 员工:通宵自动执行任务 她还声称,97% 的 SpaceXAI 工程师已经在使用类似的工作方式。 她用一场 60 分钟的教程,从零教你搭建整套系统。 以前有人收费 5000 美元教的东西,现在直接公开了。 以后一个人就是一家软件公司,真不是开玩笑!🤣 建议收藏!
656
1,972
149
12,200
1,158,403
Антон Сашнин retweeted
Установил bb (getbb.app) и как же хорошо стало управлять двумя агентами, работающими над планом разработки. Не нужно перекладывать результат разработки этапа ревьюеру руками и не возвращать результаты обратно. «Больше не двигаю юнитов руками, как в Старкрафте» :)
1
2
445
Антон Сашнин retweeted
🔴Joder, GitHub está lleno de repos gratis que casi nadie usa Los 10 que están petando este mes. De lo más fácil a lo más técnico. 1. VoiceStudio — clona voces, dobla vídeos y transcribe en 646 idiomas, en local (57K) github.com/debpalash/VoiceSt… 2. ppt-master — le pasas un PDF o un Word y te devuelve un PowerPoint editable (59K) github.com/hugohe3/ppt-maste… 3. gods-eye-view — satélite en el navegador, con aviones, barcos y cámaras reales (50K) github.com/bilawalsidhu/gods… 4. REA — le enseñas una función de otra app y te explica cómo está hecha, sin el código (65K) github.com/morluto/rea 5. diagram-design — pides un diagrama y te lo dibuja con tu marca (49K) github.com/cathrynlavery/dia… 6. paperclip — tu propia empresa de agentes, open source (99K) github.com/paperclipai/paper… Para que Claude Code trabaje mejor: 7. skills — las que usa un ingeniero de verdad, pequeñas y fáciles de adaptar (284K) github.com/mattpocock/skills 8. ECC — skills, memoria y seguridad para Claude Code, Codex y Cursor (276K) github.com/affaan-m/ECC 9. andrej-karpathy-skills — 4 reglas en un archivo para que el modelo deje de inventarse cosas (218K) github.com/multica-ai/andrej… 10. claude-mem — guarda lo que hizo tu agente y se lo pasa a la siguiente sesión (99K) github.com/thedotmack/claude… Guárdalo 🔖
21
272
6
1,434
103,166
Антон Сашнин retweeted
Прочитал "The end of programming" Пола Дикса. Это CTO InfluxData, человек который сам базы данных пишет, не инфлюенсер. Тезис жесткий: писать код руками и ревьюить его глазами - вымирающее занятие. Софта будет больше чем когда-либо, но большую часть кода никто из людей не напишет и даже не прочитает. Пруф у него - переписывание Bun 1.4: один человек, агенты на предрелизном Fable 5, 11 дней, 6778 коммитов, +1 млн строк, порядка $165k в токенах по API-ценам. И оно работает на миллионах машин прямо сейчас. Я с ним согласен по существу, но с одной поправкой из своей практики. Он пишет что "организационная инерция" еще лет десять будет держать людей на ручном коде. Я эту инерцию потрогал руками: мне закрыли функционально правильный PR в популярный опенсорс, потому что в нем "слишком много комментариев". Не потому что баг. Потому что стиль, и потому что AI-assisted. Инерция - это не про то что люди не умеют. Это про то что ревью глазами уже не масштабируется, и его защищают как ритуал. И вот главное у Дикса, что все пропустят за громким заголовком: ревью никуда не девается. Оно переезжает из "читать код" в "строить проверку". Харнессы, тесты, верификация, замеры. Я последний месяц ровно этим и живу: гоняю модели через свой тестбенч на лупы, натравливаю два аудитора на один код, меряю счетчик токенов вместо того чтобы верить бенчмаркам. Это и есть программирование, просто объект другой. Так что не конец программирования. Конец программирования как набора текста) pauldix.com/the-end-of-progr…
46
120
6
1,023
153,375
Антон Сашнин retweeted
«Нажал на кнопку — и готово! Уже открыл PR агент. Но пал соседний компонент — И править всё придется снова» Поэзия агентной разработки, или Как теперь писать код: habr.com/ru/articles/1092802…
1
3
3,052
Антон Сашнин retweeted
çok güzel bi projeye denk geldim: REVERSE ENGINEER ANYTHING. yani her şeyi ters mühendisle. (evet mühendisle) örneğin bir oyunun yalnızca exe dosyasını veriyorsunuz. agent oyunun hızlanma, çarpışma ve hareket mantığını çözmeye çalışıyor. ya da hesap makinesinin yüzde hesaplama algoritmasını inceliyor, ardından aynı davranışı yeniden yazıyor. bu gidişle "kapalı kaynak ticari yazılım" konsepti giderek yok olacak herhalde rakibinizin yazılımını alıp agent'a veriyorsunuz. içindeki bi özelliğin nasıl çalıştığını çözüyor algoritmasını çıkarıyor ve sizin için yeniden yazıyor eskiden yazılımın özellikle de ticari yazılımların kaynak kodunu gizlemek rakiplerin kopyalamasını zorlaştıran önemli bi avantajdı ama artık kaynak kodunu görmeye bile ihtiyaç kalmayabilir müthiş proje github.com/morluto/rea
17
125
10
1,334
119,637
Антон Сашнин retweeted
tinyjs : framework pour construire vos apps desktop macOS, Windows et Linux en JavaScript, sans Electron, en seulement 6 Mo contre 150 Mo pour Electron et 10 Mo pour Tauri, grâce au backend txiki.js et des fenêtres natives. ⬇️
9
111
3
957
44,738
Антон Сашнин retweeted
Пока MacBook лежит на полке - нюки отрабатывают свою стоимость в 2000 деревянных и ждут свои M2 чтобы бустануться. Скоро в TG расскажу как я перекатывался на @OmarchyLinux и почему больше не включу macos, кроме одного кейса. 🧐
14
1
1
43
10,562
Такие дела, собачка.
14
4
2
94
11,016
Антон Сашнин retweeted
لكل مبرمجي Claude وClaude Code: شغلوا برومبت التنظيف هذا فوراً مع Opus 5.5! 🛠️💥 ​إذا كنت تستخدم نموذج Opus 5.5 في البرمجة، قم بفتح التيرمنال وتشغيل الأمر التالي فوراً: ​/claude-api prompt-audit لماذا يُعتبر هذا الأمر مكسباً فورياً لإنتاجيتك؟ 👇
4
54
2
553
67,842
Антон Сашнин retweeted
CURSO COMPLETO DE OBSIDIAN EN 1 HORA este tío enseña a montar un segundo cerebro con IA desde cero. guarda todas tus notas en un solo sitio. conéctalas entre ellas automáticamente. busca cualquier idea en segundos. notas → conexiones → IA →sistema que piensa contigo 🔖 guárdalo.
2
31
166
10,084
Антон Сашнин retweeted
Cloud sessions are officially available and out of research preview! They let you keep Claude Code working, even when your laptop is closed. Existing subscribers get a one-time credit to try them: $100 on Pro, $250 on Max.
472
991
759
13,048
4,716,465
Антон Сашнин retweeted
Google lanzó la herramienta que todo desarrollador pedía desde hace años. Se llama CodeWiki. Pegas cualquier repositorio y la IA lo convierte automáticamente en una documentación interactiva. No solo resume el código: • Genera diagramas automáticamente • Explica cómo funciona cada parte • Crea tutoriales paso a paso • Detecta arquitectura y dependencias • Y hasta monta un chatbot que entiende tu código completo Básicamente: convierte proyectos imposibles de entender en algo que cualquier desarrollador puede navegar en minutos. Enlace abajo👇
12
206
4
1,109
74,849