Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.
TypeScript ai-meeting-assistantai-notetakerelectrongranola-alternativelinuxllama-cpplocal-ailocal-firstmacosmcpmeeting-minutesmeeting-notesoffline-firstopen-sourceprivacyspeech-to-texttranscriptionwhisperwhisper-cppwindows
Models: a Mac keeps about 10 GB free for macOS, the call and a browser, so a 24 GB Mac gets Gemma 4 E4B, not the 26B that froze it
christianmatc4207c664d59
diff --git a/packages/picker/src/pick.ts b/packages/picker/src/pick.tsindex 771dacb4..09a88d86 100644--- a/packages/picker/src/pick.ts+++ b/packages/picker/src/pick.ts@@ -12,8 +12,18 @@ const CONTEXTS = [16384, 8192]interface Pool { device: Choice['device']; memGB: number; bw: number; gpuMemGB?: number; cpuBw?: number }+/**+ * What a Mac's models may use: 70%, but never so much that less than 10 GB is left for macOS, the call app and a browser.+ * 70% alone gave a 24 GB Mac the 26B notes model, which froze it. Up to 20 GB stays at 70% (5 GB or so left): the cap+ * would leave them only the smallest models, and the app never runs the notes model there while recording.+ */+const MAC_LEFT_FREE_GB = 10+function unifiedGB(totalGB: number): number {+ return totalGB <= 20 ? totalGB * 0.7 : Math.min(totalGB * 0.7, totalGB - MAC_LEFT_FREE_GB)+}+function pools(hw: Hardware): Pool[] {- if (hw.gpu.kind === 'unified') return [{ device: 'gpu', memGB: hw.totalRamGB * 0.7, bw: bandwidthGBs(hw, 'gpu') }]+ if (hw.gpu.kind === 'unified') return [{ device: 'gpu', memGB: unifiedGB(hw.totalRamGB), bw: bandwidthGBs(hw, 'gpu') }]const cpu: Pool = { device: 'cpu', memGB: hw.totalRamGB * 0.5, bw: bandwidthGBs(hw, 'cpu') }if (hw.gpu.kind !== 'discrete') return [cpu]const gpu: Pool = { device: 'gpu', memGB: hw.gpu.vramGB * 0.95, bw: bandwidthGBs(hw, 'gpu') }diff --git a/packages/picker/test/fixtures.ts b/packages/picker/test/fixtures.tsindex 2c45b50c..edaa3051 100644--- a/packages/picker/test/fixtures.ts+++ b/packages/picker/test/fixtures.ts@@ -29,6 +29,8 @@ export const machines = {// a 16 GB Mac reports about 17.2 GB (bytes / 1e9)m3air16: hw({ cpuModel: 'Apple M3', totalRamGB: 17.2, gpu: { kind: 'unified', name: 'Apple M3', vramGB: 12 } }),m1_16: hw({ cpuModel: 'Apple M1', totalRamGB: 16, gpu: { kind: 'unified', name: 'Apple M1', vramGB: 12 } }),+ // a 24 GB Mac reports about 25.8 GB+ m4pro24: hw({ cpuModel: 'Apple M4 Pro', totalRamGB: 25.8, gpu: { kind: 'unified', name: 'Apple M4 Pro', vramGB: 18 } }),m1max32: hw({ cpuModel: 'Apple M1 Max', totalRamGB: 32, gpu: { kind: 'unified', name: 'Apple M1 Max', vramGB: 24 } }),m4max128: hw({ cpuModel: 'Apple M4 Max', totalRamGB: 128, gpu: { kind: 'unified', name: 'Apple M4 Max', vramGB: 96 } }),cpu32: hw({ os: 'linux', arch: 'x64', cpuModel: 'Intel Core i7-12700', totalRamGB: 32, gpu: { kind: 'none', name: '', vramGB: 0 } }),diff --git a/packages/picker/test/pick.test.ts b/packages/picker/test/pick.test.tsindex ad3e97f3..738142ba 100644--- a/packages/picker/test/pick.test.ts+++ b/packages/picker/test/pick.test.ts@@ -25,6 +25,17 @@ describe('pick', () => {expect(r.liteMode).toBe(false)expect(r.recommended!.estTokPerSec).toBeGreaterThan(15)})+ it('M4 Pro 24GB → a model that leaves about 10 GB for macOS and the call (26B froze these Macs)', () => {+ const r = pick(machines.m4pro24, models)+ expect(id(r.recommended)).not.toBe('gemma-4-26b-a4b')+ expect(r.all.map((c) => c.model.id)).not.toContain('gemma-4-26b-a4b')+ const c = r.recommended!+ expect(c.build.sizeGB + (0.08 * c.contextSize) / 1024 + 1.5).toBeLessThanOrEqual(25.8 - 10)+ })+ it('the 10 GB left free changes nothing on 16 GB and 32 GB Macs', () => {+ expect(id(pick(machines.m3air16, models).recommended)).toBe('gemma-4-e4b')+ expect(id(pick(machines.m1max32, models).recommended)).toBe('gemma-4-26b-a4b')+ })it('M4 Max 128GB → biggest model', () => {expect(id(pick(machines.m4max128, models).recommended)).toBe('gpt-oss-120b')})@@ -101,7 +112,7 @@ describe('pick', () => {describe('pick ranking', () => {it('equal agent score: full-context model beats one squeezed to 8k', () => {- const squeezed = { ...models[4], id: 'squeezed', builds: [{ ...models[4].builds[0], sizeGB: 20.2 }] }+ const squeezed = { ...models[4], id: 'squeezed', builds: [{ ...models[4].builds[0], sizeGB: 19.8 }] }const r = pick(machines.m1max32, [...models, squeezed])expect(r.all.find((c) => c.model.id === 'squeezed')?.contextSize).toBe(8192)expect(id(r.recommended)).toBe('gemma-4-26b-a4b')