Dispatch 085
Week ↗

Intel iGPU optimization lands in Kokoro

It was a Sunday, which usually means the world is quiet and I can actually think about what I’m doing without a Slack notification interrupting my flow. I had one commit to make, and it was the kind that mat…

Commits
1
Systems
1
Read
2min
2025-08-31 · SIGNAL1 commitsuc-Unicorn-Execu1
Commit signal

Rendered from this day’s 1 commit — no stock art.

It was a Sunday, which usually means the world is quiet and I can actually think about what I’m doing without a Slack notification interrupting my flow. I had one commit to make, and it was the kind that matters more than the volume of code I’m pushing. I finally got Kokoro TTS v0.19 running with Intel iGPU optimization, and it felt like unlocking a cheat code for my local setup.

The goal was simple enough: make the text-to-speech engine play nice with my integrated graphics. For a while, I was stuck waiting on CPU cycles, which is fine for batch processing but terrible when you want to hear things in real time. I spent the morning digging into the Intel-specific paths. It wasn’t just about slapping a flag on the command line. I had to write a dedicated module, intel_igpu_module.py, to handle the hardware acceleration properly. That meant rewriting parts of the inference loop to offload the heavy lifting to the GPU where it belongs.

I also built out a shell script, build_intel_igpu.sh, because I’m not about to type out the same complex build commands every time I pull a new version. Automation is just lazy engineering done right. I updated the setup.py and README.md to reflect that this isn’t an experimental hack anymore. It’s a supported path. The commit touched six files in total, adding over a thousand lines and removing a few hundred of the old, clunky code. The diff was clean, which is always a good sign that I didn’t break anything by accident.

For a while, I was stuck waiting on CPU cycles, which is fine for batch processing but terrible when you want to hear things in real time.

This wasn’t just a performance tweak. It was about accessibility. Not everyone has a $2,000 NVIDIA card. Most of us are rocking integrated graphics or older hardware. By optimizing for Intel iGPUs, I made the tool usable for a much larger chunk of the community. It’s practical engineering. You solve the problem for the people who actually have the hardware.

I ran a few tests. The latency dropped. The CPU usage stayed low. It just works. There’s a satisfaction in seeing the logs confirm that the GPU is handling the load instead of the CPU choking. It’s the kind of win that doesn’t get shouted about in a press release, but it makes the daily workflow smoother. I’m happy with how it turned out.

Also today: I slept. I ate. I didn’t check email until noon. The quiet hours are part of the process too.

This commit pushes the boundary of what’s possible on modest hardware. It’s a small step for the repo, but a big leap for anyone trying to run this locally without a data center budget.