Tuesday, November 17, 2026

nam-cpu-trainer

A couple of months ago I released the first version of nam-cpu-trainer, a Neural Amp Modeler (NAM) trainer designed for high performance on CPUs.

NAM training on CPU has historically been impractical since the pytorch-based official trainer is notoriously slow if you aren't running it with a GPU (that isn't the nam trainer's fault, really - pytorch on CPU is just slow).

A while back I decided to work on a project to improve my understanding of modern neural network learning methods. The result of that is  cpugrad, a fully custom, CPU-based machine learning library focused primarily (currently, anyway) on time series data (ie: audio samples).

nam-cpu-trainer was my first major test of a real-world problem using cpugrad. It has come along so well that, in the latest release, it now supports all of the functionality needed to train NAM A2 models. Accuracy in my testing is on par or better than the official nam trainer, and CPU training performance is comparable to an equivalent-tier GPU. Ie: don't expect your old laptop CPU to outperform an RTX 5090, but my Ryzen 7 5700x using nam-cpu-trainer outperforms pytorch on my RX6700 GPU. 

SpiceForge - a LiveSPICE-based audio circuit editor and live simulator

I recently released the first version of a SpiceForge, a cross-platform circuit editor and live simulator built on top of the foundation of LiveSPICE.

Key features over LiveSPICE are a new circuit simulator that supports fully dynamic pots and switches, a cross-platform editing and simulation front-end app, and a cross-platform audio backend (currently ASIO and JACK).