High Performance Computing & AI
Practical notes on Python, JupyterHub, Kubernetes and AI for science — from the San Diego Supercomputer Center.
Popular categories
Recent posts
-
Ollama 0.40.19 on the Mac mini: same speed, a better cache, one renamed runner
Upgraded the Mac mini LLM server from Ollama 0.40.12 to 0.40.19 and re-ran the benchmarks. Prefill and decode are unchanged, so the agent numbers carry over. What changed is operational: a runner rename that breaks brew upgrades until the plist pin is fixed, a KV cache that no longer evicts interleaved sessions, concurrent requests that slow each other down, and thinking metadata that explains the template default.
-
Thinking off: the pi-adapted Qwen 3.8 27B measured in the regime it was trained for
The first benchmark of the merged pi-adapted Qwen 3.8 27B ran with reasoning accidentally on. Fixing the configuration and re-running 80 agent tasks shows the adapter is a no-thinking adapter: it gets faster and needs fewer turns with thinking off, the coding penalty halves, and the base model is the one that stumbles.
-
A coding-agent adapter on a local 27B model: what it changes on Trello, email and a small script
Hugging Face's pi-adapted Qwen 3.8 27B claims fewer turns per task. On a Mac mini where prefill runs at 100 tok/s, turns are the cost, so I merged the adapter into the base weights, kept multi-token prediction working, and measured both models on five real tasks.
-
Merging a coding-agent LoRA into Qwen 3.8 27B, and why the dtype you save it in matters
How to merge a PEFT LoRA into a 27B sharded checkpoint one shard at a time, why saving the result as bfloat16 silently discards most of the adapter, and how the float16 merged checkpoint becomes a native MLX nvfp4 model on an M4 Pro.
-
Video: best practices for AI-assisted coding with GitHub, tests and CI
A 52 minute video with five demos of coding with an AI agent under version control, tests and continuous integration, using OpenCode and free NRP models.
-
Set up an AI coding agent with free NRP models
Set up OpenCode with the free NRP models in a few minutes, with safe permissions, model advice and the seminar checklist.
-
GNILC dust templates: impact of the zero-level offset fix
The PySM 3 GNILC dust templates were regenerated after fixing the NumPy indexing bug of issue #281 that left the zero-level offset in the intensity input. This notebook compares the released 2023 templates with the regenerated ones: intensity zero level, polarization fraction, TT/EE/BB spectra, and the mean intensity check of issue #226. A dedicated section answers why the polarization fraction distribution differs from fig. 5 of Planck 2018 XII: the fix places the templates at the low-offset convention of that figure, and the residual is sky region and resolution.
-
GNILC dust zero-level offset with the Lenz et al. 2017 low-velocity HI map
The original zero-level measurement used the full HI4PI column density, which includes high-velocity clouds that carry no dust. Redoing it with the Lenz et al. 2017 low-velocity map proposed in the feedback on PySM issue #281 shifts the intercept by only +0.001 MJy/sr: the offset is confirmed at about 0.126 MJy/sr. Includes the residual map requested in the discussion: the low-valued bump is a southern, high-column population that does not track the >90 km/s gas, with hemispheres differing in FIR per unit column but agreeing on the intercept.
-
Keeping interactive tutorials up to date with an orchestrator and AI subagents
How to keep browser-based tutorials working with an orchestrator, a browser executor and a documentation improver, instead of hoping nobody follows the outdated step.
-
Write slides in Markdown with Marp when working with AI agents
Why keeping presentations in Markdown and building them with Marp works well with AI agents, with a clean reusable theme and an example repository.
-
A Marp theme that reproduces the official SDSC slide template
An open source Marp theme that reproduces the official SDSC slide template, extracted from the brand guide PowerPoint file, with a published HTML preview.
-
Measuring the zero-level offset of the GNILC dust intensity map with HI4PI
The CIB monopole was never subtracted from the GNILC dust input of the PySM d9/d10/d11 templates because of a NumPy indexing bug; this notebook measures the real zero-level offset of that map from the HI4PI HI correlation.
-
Italian, German and Spanish classes for adults in San Diego, January 2027
Winter language classes for adults at the Italian School of San Diego: Italian at every level in Kearny Mesa, Encinitas and online, plus new beginner German and Spanish classes.
-
Managing projects with GitHub and AI agents: the structure problem
In my previous post about managing projects with GitHub and AI agents I described how I organize events and workshops with a single GitHub repository as the source of truth, issues for every activity, and an agent per collaborator.
-
Living with a local 27B LLM on a Mac mini: capable enough and (almost) fast enough
I run an Apple M4 Pro Mac mini in the office as a private LLM server: a 27B Qwen 3.8 model, served over my Tailscale tailnet, used every day by my coding agent to handle emails, Trello cards, and general project work.