Live data from Hacker News

Google Gemma 4 Runs Natively on iPhone with Full Offline AI Inference

gizmoweek.com

131–140 of 196 posts

Re: Google Gemma 4 Runs Natively on iPhone with Full Offline AI Inference

#131

Earlier quoted context omitted.

I think Apple will become increasingly draconian about LLMs. Very soon people won't need to buy many of their apps. They can just make them. This threatens Apple's entire business model.

VibeOS. It’s just an LLM from which all other userspace is vibed.

vibe-ls(1) - often list directory contents, but maybe do something else.

Where can I get this amazing technology?

Re: Google Gemma 4 Runs Natively on iPhone with Full Offline AI Inference

#132
post #113

Earlier quoted context omitted.

Huh? LLM output doesn't have the variety of human output, since they operate in fixed fashion - statistical inference followed by formulaic sampling. Additionally, the statistics used by LLMs are going be be similar across different LLMs since at scale its just "the statistics of the internet". Human output has much more variety, partly because we're individuals with our own reading/writing histories (which we're dra…

> LLM output doesn't have the variety of human output, since they operate in fixed fashion - statistical inference followed by formulaic sampling. This is the wrong thing to look at; your chess analogy is much stronger, the detection method similar (if you can figure out a prompt that generates something close to the content, it almost certainly isn't human origin). But to why the thing I'm quoting doesn't work: If y…

What if the prompt includes, "Produce output that doesn't sound like an AI generated it."?

Re: Google Gemma 4 Runs Natively on iPhone with Full Offline AI Inference

#133
post #118
post #98

Earlier quoted context omitted.

I don't care if it's written by an LLM. The problem with the article is the complete lack of details. No benchmarks on the iPhone capable models. No details, whatsoever. Human or LLM - the article is a whole lot of nothing.

This article is all fluff because real benne marketing. If they mentioned that a 4B model on an iPhone 16 drains 15% of the battery for a single long prompt and triggers hard thermal throttling after 20 seconds, nobody would be clicking on headlines about "commercial viability" fwiw

I ran several Gemma 4 quants on my 24gb mac mini, and with proper context size tuning they're quick enough I guess, but I would really love to see them working well on an iphone with 2/3gb of ram...

Re: Google Gemma 4 Runs Natively on iPhone with Full Offline AI Inference

#134

Is the output coherent though? I am yet to see a local model working on consumer grade hardware being actually useful.

I have a 128 GB Strix Halo tablet (same as the other commenter here with the Framework Desktop). I'm using the larger Gemma 4 26B-A4B model (only 28 GB @ Q8) and it's been working great and runs very fast. It's a 100% replacement for free ChatGPT/Gemini. Compared to the paid pro/thinking models... Gemma does have reasoning, and I have used the reasoning mode for some tax & legal/accounting advice recently as well as…

Sure, 26B models on beefy desktop silicon are finally nipping at the heels of commercial APIs, but this is a mobile thread. On a phone with 8GB of RAM and passive cooling, your tokens per second (t/s) are going to fall off a cliff after the first minute of sustained compute

Re: Google Gemma 4 Runs Natively on iPhone with Full Offline AI Inference

#135

Earlier quoted context omitted.

An AI slop pattern so widespread it’s now referred to as “it’s not pee pee it’s poo poo”.

It's not just a widespread pattern –––––––––––––––– it's a sign of things to come.

You didn't just nail it ------------ you cut to the core of the issue.

Re: Google Gemma 4 Runs Natively on iPhone with Full Offline AI Inference

#136
post #116

I noticed the inference is routed through the gpu rather than the Apple neural engine. Google’s engineers likely gave up on trying to compile custom attention kernels for Apple’s proprietary tensor blocks iirc. While Metal is predictable and easy to port to, it drains the battery way faster than a dedicated NPU. Until they rewrite the backend for the ANE, this is just a flashy tech demo rather than a production-ready…

> Google’s engineers likely gave up on trying to compile custom attention kernels for Apple’s proprietary tensor blocks iirc.

The AI Edge Gallery app on Android (which is the officially recommended way to try out Gemma on phones) uses the GPU (lacks NPU support) even on first party Pixel phones. So it's less of "they didn't want to interface with Apple's proprietary tensor blocks" and more of that they just didn't give a f in general. A truly baffling decision.

Re: Google Gemma 4 Runs Natively on iPhone with Full Offline AI Inference

#138
Gemma4 is still power hungry since it tends to activate pretty much every weight.

qwen3-coder-next uses a lot less since it seems to only activate ~3B parameters at a time.

My guess is that this is still close to tech demo, and a lot of performance is left on the table.

Post reply on HN