Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Local Models for Coding
Search
Eugene Oskin
May 18, 2026
Programming
26
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Local Models for Coding
Eugene Oskin
May 18, 2026
More Decks by Eugene Oskin
See All by Eugene Oskin
REST API. Django, Ruby on Rails, Play! Framework
evgeneoskin
0
110
Introduction to gRPC
evgeneoskin
0
120
GrailInventory – Advanced Backend Development
evgeneoskin
0
51
Bracing Calculator
evgeneoskin
1
84
emotional intelligence, part 2
evgeneoskin
0
50
Office temperature
evgeneoskin
0
50
Parse platform
evgeneoskin
0
120
Hubot
evgeneoskin
0
70
An introduction to iOS development
evgeneoskin
0
61
Other Decks in Programming
See All in Programming
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
330
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
3
1.7k
AmebaブログはKMPから卒業します
kmars0605
0
340
Event is what happens
moro
2
4.1k
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
650
小さなアプリを作って公開するまで
onozaty
0
160
Spec-driven Development with AI
simas
PRO
0
2.3k
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
330
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
740
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
2k
ActionController meets Protocol Buffers
sorah
1
800
Distance field of Julia set
kinakomoti321
0
310
Featured
See All Featured
Joys of Absence: A Defence of Solitary Play
codingconduct
1
570
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
580
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Raft: Consensus for Rubyists
vanstee
143
7.9k
The SEO Collaboration Effect
kristinabergwall1
1
620
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Everyday Curiosity
cassininazir
0
400
How to build a perfect <img>
jonoalderson
1
6.2k
Evolving SEO for Evolving Search Engines
ryanjones
0
360
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
760
Transcript
Local Models for Coding 1
Who am I • Local AI enthusiast running local models
on my MacBook • Building iowise.dev • ex-CTO of Termius SSH Client • 14 years working in software • Building backend, frontend, iOS, Android, and embedded
Running Models 3
OPENAI_API_BASE="https: / / chivalry - confront - untried.ngrok - free.dev:1234/v1"
OPENAI_API_KEY=lm - studio codex - - oss - - model qwopus3.6-35b - a3b - v1-mlx ANTHROPIC_BASE_URL="https: / / chivalry - confront - untried.ngrok - free.dev:1234/v1" ANTHROPIC_AUTH_TOKEN=lm - studio ANTHROPIC_API_KEY="" claude - - model qwopus3.6-35b - a3b - v1-mlx Connect Your Agent • Add model: qwopus3.6-35b-a3b-v1-mlx • Add OpenAI API key: lm-studio • Add OpenAI URL: https://chivalry-confront-untried.ngrok-free.dev:1234/v1 4
Terms • Model • Dense vs MoE • Agents •
Quantization • KV Cache • Inference engines • Prefill • Distillation • Speculations
-A3B -35B Model Names Qwen3.6 Model Family Total Number of
Parameters -Q4_K_S.gguf 6
Models • Qwen 3.x • Nemotron 3 • Gemma 4
• Fine-tuned
Where Models Live huggingface.co 🤗 8
Selecting a model • Add hardware to 🤗 • Browse
• Give it a go • Find eval • Iterate
How to run a model • LM Studio – https://lmstudio.ai/
• Ollama – https://ollama.com/ • Llama.cpp – the cutting edge of inference
Memory Math Total memory ≈ parameters × bytes/parameter + 2
× num_layers × num_kv_heads × head_dim × seq_len × batch_size × bytes/element + runtime overhead
Memory Math Total memory ≈ parameters × bytes/parameter + 2
× num_layers × num_kv_heads × head_dim × seq_len × batch_size × bytes/element + runtime overhead Start simple with LM Studio model loading Guardrails
-A3B -35B Qwen3.6 Model Family Total Number of Parameters -Q4_K_S.gguf
Active parameters 13
Dense VS Mixture of experts • Dense – “smarter” and
“slower” • MoE – “faster” but can be “dummier”
Faster Inference 15
-A3B -35B Qwen3.6 Model Family Total Number of Parameters -Q4_K_S.gguf
Active parameters Quantization File format 16
Quantization • F32 – original • F16 – 2x smaller
• Q8_0 – 4x smaller, similar quality • Q6_K • Q5_K_S, Q5_K_M, etc • Q4_K_S, Q4_K_M, etc – 8x smaller, the edge of quality • Q3_K_S, Q3_K_M, Q3_K_L, etc • Q2_K • 1-bit models
Quantization • ⬆ Inference • ⬇ RAM • ⬇ Disk
space • ⬇ KV Cache
Distillation • The original distillation requires full probability distribution of
output tokens • Modern distillation: training on synthetic data of a smart model
KV Cache It fixes a flaw in the LLM computation
model 20
KV Cache It fixes a flaw in the LLM computation
model 21
KV Cache It fixes a flaw in the LLM computation
model 22
KV Cache It fixes a flaw in the LLM computation
model 23
Inference stages 24
Inference stages 25
Speculations – Probabilistic speedup 26
Coding Agents • OpenCode • Pi • Goose • Hermes
Agent • OpenClaw • OpenAI Codex • Claude Code
Do you want to hear more? 28
Links • https://bbycroft.net/llm • https://hfviewer.com/Qwen/Qwen3.6-35B-A3B-FP8 • https://hfviewer.com/nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning- BF16 • http://hfviewer.com/nvidia/Nemotron-Cascade-2-30B-A3B
• https://huggingface.co/spaces/mlx-community/mlx-my-repo