Gemma 4 is slow to start
Symptom
After you open the browser, Riff shows Starting Gemma 4… for a while, or the first riff takes a while before any words appear. Later riffs are quick.
For anyone writing with Gemma 4 who sees a pause before the first draft of the day.
Gemma 4 is kept in the browser's cache on your disk. Before it can write, Riff loads it onto your graphics chip. That happens when you open Riff after the browser starts, and again after a while without a riff, and it can take 20 to 40 seconds. Every riff after that starts right away.
While it loads, Riff shows it:
- A strip under the top bar reads Starting Gemma 4… with a percentage, then Preparing Gemma 4 on the GPU…. After a few seconds it adds Only the first riff after a restart waits.
- The dot on the Riff logo blinks, and hovering it says Gemma 4 is loading onto your GPU. This happens once after the browser restarts.
- Riff Home › Settings › AI model shows Starting Gemma 4 with a bar Settings: the Riff button, languages, shortcuts and your data.
- If you riff before it's done, the line under the draft shows the same progress instead of Riffing…, and the draft starts as soon as Gemma 4 is ready.
- Nothing is downloaded again. The wait is loading, not downloading.
- Open the panel a little before you need it. Riff starts loading Gemma 4 as soon as the panel opens, so it's often ready by the time you've picked a post and typed your point.
- After a break. When you haven't riffed for a while, Riff unloads Gemma 4 to give your graphics memory back to the rest of the computer. Riff Home › Settings then reads Gemma 4 is downloaded, and the next time you open Riff it loads again.
- Every riff is slow, not only the first. Some graphics chips can't run Gemma 4's fastest build, so Riff uses one that writes more slowly. Closing heavy tabs helps a little. Gemma 4 E4B is slower than Gemma 4 E2B; switch sizes in Riff Home › Models. In Chrome, if Gemini Nano runs on this computer, it starts at once Which AI model? Gemini Nano or Gemma 4.
- It never starts. If the strip hasn't moved for a minute, close the panel and open it again. If a message comes up, Gemma 4 won't download or can't start says what it means.