HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
mattmireles
gemma-tuner-multimodal
Python2026–2026
mattmireles / gemma-tuner-multimodal

gemma-tuner-multimodal

Fine-tune Gemma 4 and 3n with audio, images and text on Apple Silicon, using PyTorch and Metal Performance Shaders.

2Distinct people
3Mentions
0Explicit recommenders
1.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Fine-tune Gemma 4 and 3n with audio, images and text on Apple Silicon, using PyTorch and Metal Performance Shaders.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour3 dated mentions

Observed mentions: 2026-04-07 19:37:05 UTC to 2026-04-08 02:04:59 UTC.

012026-04-07 19:00:00 UTC to 2026-04-07 20:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsApr 7, 19:002026-04-07 20:00:00 UTC to 2026-04-07 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-07 21:00:00 UTC to 2026-04-07 22:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-07 22:00:00 UTC to 2026-04-07 23:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsApr 7, 22:002026-04-07 23:00:00 UTC to 2026-04-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-08 00:00:00 UTC to 2026-04-08 01:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-04-08 01:00:00 UTC to 2026-04-08 02:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-04-08 02:00:00 UTC to 2026-04-08 03:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsApr 8, 02:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Apr 7, 19:002026-04-07 19:00:00 UTC2026-04-07 20:00:00 UTC110
Apr 7, 20:002026-04-07 20:00:00 UTC2026-04-07 21:00:00 UTC000
Apr 7, 21:002026-04-07 21:00:00 UTC2026-04-07 22:00:00 UTC000
Apr 7, 22:002026-04-07 22:00:00 UTC2026-04-07 23:00:00 UTC000
Apr 7, 23:002026-04-07 23:00:00 UTC2026-04-08 00:00:00 UTC000
Apr 8, 00:002026-04-08 00:00:00 UTC2026-04-08 01:00:00 UTC101
Apr 8, 01:002026-04-08 01:00:00 UTC2026-04-08 02:00:00 UTC000
Apr 8, 02:002026-04-08 02:00:00 UTC2026-04-08 03:00:00 UTC101

What Hacker News says

3 sources
Look inside here: https://github.com/mattmireles/gemma-tuner-multimodal/tree/m... Here’s the trick: use Gemini Pro deep research to create “Advanced Hacker’s Field Guide for X” where X is the problem that you are trying to solve. Ask for all the known issues, common bugs, unintuitive patterns, etc. Get very detailed if you want. Then feed that to Claude / Codex / Cursor. Basically, create a cheat sheet for your AI agents. This will unlock a whole new level of capability. I’m @mattmireles on Twitter — feel free to DM me.
In Show HN: Gemma 4 Multimodal Fine-Tuner for Apple Silicon
Excellent work still, your repo is much more robust and fleshed out and I am just beelining straight to audio LoRa not really knowing what I'm doing, as this is my first time attempting a ~real ML training project. I think in https://github.com/mattmireles/gemma-tuner-multimodal/blob/m... and https://github.com/mattmireles/gemma-tuner-multimodal/blob/m... and https://github.com/mattmireles/gemma-tuner-multimodal/blob/m... you have a superset of the various cludges I have in my finetuning repo, I'm going to study this and do what I can to learn from it. Really appreciate you sharing it here! Definitely interested in swapping notes if you are though. Probably the biggest thing that came out of this exercise for us was realizing that Apple actually has some really powerful local inference/data processing tools available locally, they just ar
Read the rest
e much more marketed towards application developers so a lot of them fly under the radar. We just published https://github.com/accretional/macos-vision to make it easy for anybody to use Apple's local OCR, image segmentation, foreground-masking, facial analysis, classification, and video tracking functionality accessible via CLI and hopefully more commonly in ML and data workloads. Hopefully you or someone else can get some use of it. I definitely will from yours!
In Show HN: Gemma 4 Multimodal Fine-Tuner for Apple Silicon

Show HN: Gemma 4 Multimodal Fine-Tuner for Apple Silicon

About six months ago, I started working on a project to fine-tune Whisper locally on my M2 Ultra Mac Studio with a limited compute budget. I got into it. The problem I had at the time was I had 15,000 hours of audio data in Google Cloud Storage, and there was no way I could fit all the audio onto my local machine, so I built a system to stream data from my GCS to my machine during training. Gemma 3n came out, so I added that. Kinda went nuts, tbh. Then I put it on the shelf. When Gemma 4 came out a few days ago, I dusted it off, cleaned it up, broke out the Gemma part from the Whisper fine-tuning and added support for Gemma 4. I'm presenting it for you here today to play with, fork and improve upon. One thing I have learned so far: It's very easy to OOM when you fine-tune on longer sequences! My local Mac Studio has 64GB RAM, so I run out
Read the rest
of memory constantly. Anywho, given how much interest there is in Gemma 4, and frankly, the fact that you can't really do audio fine-tuning with MLX, that's really the reason this exists (in addition to my personal interest). I would have preferred to use MLX and not have had to make this, but here we are. Welcome to my little side quest. And so I made this. I hope you have as much fun using it as I had fun making it. -Matt
235 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.