Technical notes by KbWen

Notes on AI, machine learning, Python, and data engineering, plus tools I build.

Latest posts

AI Systems

llama.cpp 升到 1.0.0,哪些用法會受影響?

llama.cpp 與 ggml 在 2026 年 11 月發布 v1.0.0。拿被移除的 llama_set_warmup 當例子,看看直接連結 libllama 的程式和只開 llama-server 的人,升級時各自會碰到什麼。

2026-11-25 · 3 min read · 1081 words · KbWen · ZH
AI Systems

Which coding-agent tools run inside an external sandbox?

How Claude Code, Codex and Pi connect to Prime Radiant's external sandboxes, and which of their tools end up running in the Linux guest.

2026-11-25 · 4 min read · 726 words · KbWen · EN
AI Systems

Claude Fable 5.2 擋下的請求,會由哪個模型回答?

Claude Fable 5.2 的安全分類器擋下請求之後,會切換到哪個模型呢?

2026-11-25 · 4 min read · 1701 words · KbWen · ZH
AI Systems

Cost per task for Muse Ember and Claude Haiku 5.5

Muse Ember and Claude Haiku 5.5 list the same input and output token prices. Why does Artificial Analysis give them different costs per task?

2026-11-25 · 4 min read · 684 words · KbWen · EN

Latest by category

More posts

AI Systems

How FlashAttention computes softmax one block at a time

One query's attention scores, split into two blocks and worked through by hand, to see how FlashAttention gets the softmax without having all the scores at once.

2026-11-06 · 6 min read · 1261 words · KbWen · EN
Python

Python 寫了 __eq__ 之後,物件為什麼不能放進去 set

替 class 寫了 __eq__,正常使用卻會出現 unhashable type 的錯誤。來看看 Python 為什麼這樣處理,以及 __hash__ 該怎麼做。

2026-11-06 · 3 min read · 1457 words · KbWen · ZH
AI Systems

Setting effort on Claude Haiku 5.5

A look at the effort levels on Claude Haiku 5.5, and what to check when picking one.

2026-11-06 · 4 min read · 845 words · KbWen · EN
AI Systems

Claude Haiku 5.5 超過 100,000 tokens 的請求怎麼計價

我們來看看 Claude Haiku 5.5 的價格,以及每次請求的差別

2026-11-06 · 3 min read · 1310 words · KbWen · ZH
Python

Python 出現 attempted relative import with no known parent package 是怎麼回事

同一個檔案直接執行會出現這個錯誤,改用 python -m 執行卻正常,來看看兩次執行差在哪裡。

2026-11-05 · 3 min read · 1304 words · KbWen · ZH
Machine Learning

Why does attention divide by √d_k?

Where the √d_k in the attention formula comes from, and what happens to softmax without it.

2026-11-05 · 5 min read · 920 words · KbWen · EN