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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Eugene Oskin
May 18, 2026
Programming
28
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Local Models for Coding
Eugene Oskin
May 18, 2026
Transcript
29 slides
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
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
54
Bracing Calculator
evgeneoskin
1
86
emotional intelligence, part 2
evgeneoskin
0
51
Office temperature
evgeneoskin
0
51
Parse platform
evgeneoskin
0
120
Hubot
evgeneoskin
0
74
An introduction to iOS development
evgeneoskin
0
64
Other Decks in Programming
See All in Programming
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
240
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
420
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
エラーチャンネルのボールを拾い続けて鍛えるエンジニアの地力 / phpcon-niigata2026
meihei3
1
500
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
390
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
AI駆動TDD ― 2026年10月版
hrmstrsmgs
0
110
眠らない開発チームの作り方
biwakonbu
0
110
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
250
Getting Started with Vibe Coding
miccheng
0
250
あなたはMCPの機能を、まだ知らない。
4geru
1
740
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
640
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.9k
Docker and Python
trallard
47
4.3k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
The Language of Interfaces
destraynor
162
27k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
620
30 Presentation Tips
portentint
PRO
1
480
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.9k
Ruling the World: When Life Gets Gamed
codingconduct
0
450
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Building Adaptive Systems
keathley
44
3.3k
Code Review Best Practice
trishagee
74
20k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
390