惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Register - Security
The Register - Security
云风的 BLOG
云风的 BLOG
U
Unit 42
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
D
Docker
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
S
Secure Thoughts
Hacker News: Ask HN
Hacker News: Ask HN
Vercel News
Vercel News
S
Security @ Cisco Blogs
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
I
Intezer
MongoDB | Blog
MongoDB | Blog
AI
AI
MyScale Blog
MyScale Blog
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Proofpoint News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
W
WeLiveSecurity
博客园 - 叶小钗
S
SegmentFault 最新的问题
N
News | PayPal Newsroom
WordPress大学
WordPress大学
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
D
DataBreaches.Net
小众软件
小众软件
Microsoft Azure Blog
Microsoft Azure Blog
Spread Privacy
Spread Privacy
H
Help Net Security
美团技术团队
博客园 - 司徒正美
T
Threat Research - Cisco Blogs
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
K
Kaspersky official blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
V
Vulnerabilities – Threatpost
TaoSecurity Blog
TaoSecurity Blog
N
Netflix TechBlog - Medium
L
Lohrmann on Cybersecurity
J
Java Code Geeks
量子位
Martin Fowler
Martin Fowler
博客园_首页

The Keyword

5 helpful tools from Google to keep your accounts safe This Teacher Appreciation Week, we’re celebrating educators who made a difference in our lives. Find out how AlphaEvolve has gone from research to solving real-life problems. Here’s how we're celebrating Asian American, Native Hawaiian and Pacific Islander Heritage Month 5 gardening tips you can try right in Search Google Flow Music and Believe bring next-gen tools to artists 5 new ways to explore the web with generative AI in Search AI is reshaping ad creative. Here’s how brands can get it right. Gemini API File Search is now multimodal: build efficient, verifiable RAG Approximate location sharing gives you more control over your location data in Chrome. Accelerating Gemma 4: faster inference with multi-token prediction drafters Here’s what’s new with Google Home. Celebrating educators’ creativity this Teacher Appreciation Week Turn your data into decisions: 3 things your business needs for growth in the AI era Here’s how we’re helping Belgium's farmers save water with AI. Putting educators at the center of AI learning The latest AI news we announced in April 2026 Here's how Google AI is powering small business growth Reduce friction and latency for long-running jobs with Webhooks in Gemini API Celebrating America’s 250th on Google Arts & Culture Supporting startups that are shaping the future of energy Your car with Google built-in is about to get smarter, thanks to Gemini Preferred Sources is now available in all languages. Adapt your Shopping campaigns to modern Search with AI Max. Meet travelers in the moments that matter with Search Campaigns for Travel. AI Max Turns 1 with new ways to steer performance and expansion to more advertisers How we’re protecting energy affordability in Oklahoma Alphabet is one of TIME’s 100 most influential companies of 2026. Q1 2026 earnings call: Remarks from our CEO A new way to create a digital wardrobe from your Google Photos You can now easily generate files in Gemini. Enjoy new ways to create, search and stream on Google TV Gemini launches new personalisation features in the UK Celebrating 20 years of Google Translate: Fun facts, tips and new features to try We’re donating Agent Payments Protocol to the FIDO Alliance to support the future of secure, agentic payments. Expanding digital IDs in India and around the world Join the new AI Agents Vibe Coding Course from Google and Kaggle Albertsons Media Collective brings retail signals to YouTube with Google’s Commerce Media Suite. 8 Gemini tips for organizing your space (and life) 7 highlights from Google Cloud Next ‘26 Convert faster on YouTube with April’s Demand Gen Drop. Capris, bright makeup and more trending spring style searches 3 easy ways to shop for spring with Google 3 creative tips from our Flow Sessions artists Here’s how our TPUs power increasingly demanding AI workloads. 10 leading enterprises show why agents mean business Gemini Embedding 2 is now generally available. 1,302 real-world gen AI use cases from the world's leading organizations Gemini Enterprise Agent Platform lets you build, govern and optimize your agents. We're launching two specialized TPUs for the agentic era. Our eighth generation TPUs: two chips for the agentic era Google Cloud Next ‘26 Cloud Next ‘26: Momentum and innovation at Google scale Stitch’s DESIGN.md format is now open-source so you can use it across platforms. Make chats more natural and efficient with Continued Conversation, now in Gemini for Home Deep Research Max: a step change for autonomous research agents 3 new ways Ads Advisor is making Google Ads safer and faster How educators can help students reach their full potential Google brings Pomelli in English to small businesses in Europe. We’re expanding Gemini in Chrome to users in Asia Pacific. New touch-up tools in Google Photos’ image editor let you make quick, subtle fixes. Start vibe coding in AI Studio with your Google AI subscription. 7 ways to travel smarter this summer, with help from Google Discover this year’s trending summer travel destinations and activities A new way to explore the web with AI Mode in Chrome Voting is live: Help choose the next Doodle for Google winner New ways to create personalized images in the Gemini app Nest thermostats have saved users an estimated $14 billion and 200 billion kWh of energy since 2011. Grow with Google's event discussed AI in the workplace with Fortune 500 company leaders. Gemini is stopping harmful ads before people ever see them New ways we’re protecting businesses on Maps Partnering with Latin American governments on 3 new AI initiatives Prepay for the Gemini API to get more control over your spend We’re upgrading Dynamic Search Ads to AI Max Gemini Robotics ER-1.6 enhances reasoning to help robots navigate real-world tasks. Answering your trending questions on World Quantum Day We’re advancing wetland restoration and carbon removal science in Google’s backyard. Bringing people together at AI for the Economy Forum Google.org and the Johnson & Johnson Foundation are launching a $10 million initiative to train rural U.S. healthcare workers in AI. Supporting new research on the impacts of AI UK Department for Transport accelerates public policy insights with Google Cloud AI New AI training for 40,000 manufacturing workers From test prep to graduation, our latest AI tools support learners 6 easy ways to study for finals with Gemini Booking restaurants in the UK just got easier with AI in Search Fitbit’s personal health coach is expanding to reach 37 countries and 32 languages. How 400+ campuses are putting AI to work Introducing Learn Mode: your personal coding tutor in Google Colab The new, AI-powered Google Finance is expanding to more than 100 countries. AI is changing retail. Here’s how businesses can keep up. Get more done with new vertical tabs and immersive reading mode in Chrome Here’s how we built Gmail to keep your data secure and private in the Gemini era. 5 new features for Android XR Expanding AI literacy to Catholic-school classrooms nationwide. 3 updates that make contributing to Maps easier An update on our mental health work Reaffirming our commitment to child safety in the face of European Union inaction Create, edit and share videos at no cost in Google Vids Here’s how to watch Coachella on YouTube. New ways to balance cost and reliability in the Gemini API
Gemma 4 QAT models: Optimizing model compression for mobile and laptop efficiency
Olivier Lacombe · 2026-06-06 · via The Keyword

Our new versions of the Gemma 4 family are optimized with Quantization-Aware Training (QAT) to dramatically reduce memory requirements and maximize on-device performance.

Omar Sanseviero

Omar Sanseviero

Member of Technical Staff, Google DeepMind

Gemma 4 Quantization-Aware Training (QAT)

Your browser does not support the audio element.

Listen to article

This content is generated by Google AI. Generative AI is experimental

[[duration]] minutes

Since releasing Gemma 4 two months ago, we've been continuously working to expand its capabilities. First, we introduced Multi-Token Prediction (MTP) to accelerate inference, and just a couple of days ago, we released a 12B model to bridge the gap between our E4B and 26B MOE models.

Today, we are releasing new checkpoints optimized with Quantization-Aware Training (QAT) to make Gemma 4 even more efficient, so you can run models locally on everyday edge devices and consumer GPUs.

By simulating quantization during training, QAT minimizes quality loss when the model is compressed. This release includes QAT checkpoints for the popular Q4_0 quantization format as well as a novel quantization format specialized for mobile use cases. Using this mobile format, we’ve reduced the memory footprint of Gemma 4 E2B to 1GB. Together, these dramatically reduce memory requirements while preserving the capabilities and quality you expect from Gemma 4.

Keeping model quality while making them smaller

Quantization is a key technology to run models on consumer hardware by reducing their memory footprint while also accelerating decode speed. However, standard Post-Training Quantization (PTQ) often leads to performance degradation. Instead of simply quantizing the model after training, QAT integrates the quantization process directly into training. While PTQ is already effective at preserving quality, our QAT results yield even higher overall quality compared to standard PTQ baselines.

We applied this QAT recipe to the popular Q4_0 format to maximize performance for all the models. For the edge models (E2B and E4B), we rethought how we approach quantization with a special mobile-specialized quantization schema.

Saving on VRAM and Storage

Below are the approximate memory requirements indicating how much VRAM is required to load the models:

Approximate memory requirements indicating how much VRAM is required to load the models.

Optimizing for mobile devices under the hood

Standard compression formats are often hard for mobile processors to run efficiently. To ensure Gemma 4 performs smoothly on mobile, we engineered a custom mobile-quantization schema designed for edge hardware:

  • Static activations: Normally, models waste processing power calculating how to scale data on the fly. We pre-calculate these settings during training, which reduces workload on mobile chips and makes responses faster.
  • Channel-wise quantization: We structured the compressed data to fit the design of mobile accelerators. This allows the phone to run calculations natively without needing slow workarounds.
  • Targeted 2-bit quantization: We heavily compressed (to 2-bit) the specific parts of the model that generate tokens, while keeping the core reasoning layers at higher precision. This saves storage without making the model less smart.
  • Embedding and KV cache optimization: We focused compression on the model’s vocabulary list and its short-term memory. This drastically reduces the active memory footprint, letting you have long chats without running out of space.

Because our audio and vision encoders are not needed in many use cases, you can optimize your memory footprint even further by deploying only the modalities you need. For example, the Gemma 4 E2B text-only model (without Per-Layer Embeddings) requires less than 1 GB of memory.

Get started today

To make those models easily usable with your preferred workflow, we’ve partnered with popular developer tools across the ecosystem to seamlessly support the Gemma 4 QAT checkpoints starting today:

  • Download the weights: Access the Q4_0 and mobile model weights right now on Hugging Face. We've tailored the formats to fit your workflow: GGUF formats are ready for use with llama.cpp, and compressed tensors are provided for vLLM. For everything else, we share unquantized checkpoints that can be converted and quantized into formats supporting Q4_0.
  • Integrate & learn: Explore our documentation to learn how to best deploy the QAT checkpoints.
  • Try on your desktop: Easily download, manage, and run Gemma 4 QAT models locally on your desktop using user-friendly interfaces like llama.cpp, Ollama and LM Studio.
  • Deploy on-device: Use Google's lightweight LiteRT-LM runtime for optimized edge deployment or run the models directly on the web with Transformers.js
  • Use your favorite development tools: Serve larger models efficiently with SGLang and vLLM, optimize for Apple Silicon with MLX. Use the MTP QAT checkpoints to preserve the speedup of MTP while quantizing the models. Fine-tune weights directly using Hugging Face Transformers and Unsloth.

We can't wait to see what you build with Gemma 4 running locally!

Related stories