---
title: "Gemma 3n fully available in the open-source ecosystem!"
description: "Gemma 3n, Google's natively multimodal on-device model accepting text, image, audio and video, now runs in transformers, timm, MLX, llama.cpp (text only), Transformers.js/ONNX and Ollama."
url: "https://swe.quest/articles/gemma-3n-fully-available-in-the-open-source-ecosystem-6d60bf60e354184a"
canonical: "https://huggingface.co/blog/gemma3n"
source: "Hugging Face"
published: "2025-06-26"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 9
tags: ["llms","inference","computer-vision","speech-audio","python"]
---

# Gemma 3n fully available in the open-source ecosystem!

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2025-06-26, 9 min read, Announcement. Original: [https://huggingface.co/blog/gemma3n](https://huggingface.co/blog/gemma3n)

## Summary

Gemma 3n, Google's natively multimodal on-device model accepting text, image, audio and video, now runs in transformers, timm, MLX, llama.cpp (text only), Transformers.js/ONNX and Ollama. The E2B and E4B variants have 5B and 8B real parameters but need only about 2GB and 3GB of GPU memory. Per-Layer Embeddings offload embeddings to the CPU, and a nested MatFormer design trains E2B as a sub-model of E4B so layers can be mixed and matched to a memory budget. Vision uses a new MobileNet-V5-300 encoder, audio uses a USM-based encoder over 160ms chunks, and code snippets plus free Colab notebooks cover inference and fine-tuning.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Computer vision](https://swe.quest/tags/computer-vision.md) (AI & ML)
- [Speech & audio](https://swe.quest/tags/speech-audio.md) (AI & ML)
- [Python](https://swe.quest/tags/python.md) (Languages)

## Prerequisites

- Hugging Face transformers
- PyTorch basics

## Keywords

Gemma 3n, transformers, MLX, llama.cpp, MatFormer, MobileNet-V5, Transformers.js, timm

## Related posts

- [Welcome Gemma 4: Frontier multimodal intelligence on device](https://swe.quest/articles/welcome-gemma-4-frontier-multimodal-intelligence-on-device-0f273ea2e465623b.md): Hugging Face · 2026-04-02 · Medium · 36 min read · LLMs, Inference & serving, Computer vision, Model training
  Google DeepMind's Gemma 4 is an Apache 2-licensed multimodal model family in five sizes: E2B, E4B, a 12B encoder-free Unified model, a 31B dense model and a 26B MoE with 4B active parameters.
- [Welcome Gemma 3: Google's all new multimodal, multilingual, long context open LLM](https://swe.quest/articles/welcome-gemma-3-google-s-all-new-multimodal-multilingual-long-context-open-llm-9610089c9e0bc05e.md): Hugging Face · 2025-03-12 · Medium · 13 min read · LLMs, Inference & serving, Computer vision, Python
  Gemma 3 is Google's open-weight model family in 1B, 4B, 12B and 27B sizes, with 128k context (32k for 1B), image input via a SigLIP encoder on the 4B and larger models, and support for 140+ languages.
- [Welcome Gemma - Google’s new open LLM](https://swe.quest/articles/welcome-gemma-google-s-new-open-llm-a7d68dd269473a81.md): Hugging Face · 2024-02-21 · Medium · 9 min read · LLMs, Inference & serving, Model training, Python
  Google's Gemma open LLM family ships in 2B and 7B sizes, each with base and instruction-tuned variants and an 8K context.
- [Build specialized multimodal models with LFM3](https://swe.quest/articles/build-specialized-multimodal-models-with-lfm3-15ea2b7443acbb04.md): Hugging Face · 2026-10-27 · Hard · 14 min read · LLMs, Inference & serving, Computer vision, Speech & audio, Model training
  LFM3 is Liquid AI's new family of ~2B-parameter models: text, vision, audio, omni and decision variants, all built on one shared LFM3-1.7B-Base backbone and designed for single-GPU fine-tuning and on-device deployment.
- [PaliGemma – Google's Cutting-Edge Open Vision Language Model](https://swe.quest/articles/paligemma-google-s-cutting-edge-open-vision-language-model-eb2d13e0b9bcd3ec.md): Hugging Face · 2024-05-14 · Medium · 11 min read · Computer vision, LLMs, Model training, Inference & serving, Python
  PaliGemma is Google's open vision-language model family that pairs a SigLIP-So400m image encoder with a Gemma-2B text decoder through a linear projector.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
