<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Gemini Team</title>
    <description>The latest articles on DEV Community by Gemini Team (@geminiteam).</description>
    <link>https://dev.to/geminiteam</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4002713%2Fe8ddaf55-395d-4449-92f4-64b8cb08b1eb.png</url>
      <title>DEV Community: Gemini Team</title>
      <link>https://dev.to/geminiteam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/geminiteam"/>
    <language>en</language>
    <item>
      <title>DiffusionGemma: The Developer Guide</title>
      <dc:creator>Gemini Team</dc:creator>
      <pubDate>Thu, 16 Jul 2026 14:27:09 +0000</pubDate>
      <link>https://dev.to/googleai/diffusiongemma-the-developer-guide-5a3l</link>
      <guid>https://dev.to/googleai/diffusiongemma-the-developer-guide-5a3l</guid>
      <description>&lt;p&gt;Following our announcement in our &lt;a href="https://blog.google/innovation-and-ai/technology/developers-tools/diffusion-gemma-faster-text-generation/" rel="noopener noreferrer"&gt;launch blog post&lt;/a&gt;, we are sharing this developer guide to help you understand, serve and customize this experimental model.&lt;/p&gt;

&lt;p&gt;Built on the Gemma 4 backbone, &lt;strong&gt;DiffusionGemma&lt;/strong&gt; introduces several milestones for developer workflows:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Compute-bound parallel generation&lt;/strong&gt;: Bypasses memory-bandwidth limitations by shifting the bottleneck to compute, delivering up to 4x faster token generation on GPUs (up to 700+ tokens per second on NVIDIA GeForce RTX 5090 and 1000+ tokens per second on a single NVIDIA H100).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bidirectional context &amp;amp; self-correction:&lt;/strong&gt; Uses bidirectional attention to evaluate the entire text block simultaneously during generation, enabling real-time error correction and parallel context propagation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Developer-friendly sizes&lt;/strong&gt;: Designed as a 26B Mixture of Experts (MoE) model that activates only 3.8B parameters during inference, allowing quantized deployment within 18 GB VRAM limits.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Architecture
&lt;/h2&gt;

&lt;p&gt;For developers building with traditional LLMs on GPUs, the primary bottleneck is memory bandwidth. Autoregressive language models must repeatedly load model weights from memory to generate text one token at a time. DiffusionGemma bypasses this limitation by shifting the bottleneck from memory bandwidth to compute, generating and refining a &lt;strong&gt;256-token canvas&lt;/strong&gt; in parallel. By providing the GPU with a large parallel workload, it utilizes tensor cores that would otherwise sit idle during local serving.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Uniform State Diffusion:&lt;/strong&gt; Instead of predicting tokens sequentially, DiffusionGemma starts with a canvas of random placeholder tokens and iteratively refines them in parallel. Over multiple denoising passes, highly confident tokens help resolve adjacent positions, causing the entire sequence to snap into focus.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Block Autoregressive Diffusion for Variable Length Generation:&lt;/strong&gt; For sequences longer than 256 tokens, once a 256-token block is fully denoised, the model processes and commits it to the KV cache. The model then transitions to the next block, initializing a fresh 256-token canvas conditioned on the previously committed history. This combines parallel block speed with the sequential stability of autoregressive models.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Showcase: Solving Sudoku with Parallel Denoising&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Traditional autoregressive models struggle with strict, multivariable constrained problems like Sudoku. Because they generate text strictly from left to right, they cannot evaluate future placeholders or backtrack.&lt;/p&gt;

&lt;p&gt;To demonstrate customization of DiffusionGemma, we are releasing a &lt;a href="https://github.com/google-deepmind/gemma/tree/main/gemma/diffusion" rel="noopener noreferrer"&gt;fine-tuning recipe and results&lt;/a&gt; using &lt;a href="https://github.com/google/hackable_diffusion" rel="noopener noreferrer"&gt;Hackable Diffusion&lt;/a&gt;, a modular JAX research toolbox. This training setup focuses on a classic multi-variable grid task: &lt;strong&gt;the Sudoku Solver&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Why Sudoku is Interesting for Diffusion&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;In an 81-character Sudoku string representation (where empty cells are marked with periods), every digit is bound by strict intersecting horizontal, vertical, and 9x9 grid constraints.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F53ktq0b8t68564vuiy0m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F53ktq0b8t68564vuiy0m.png" alt="DiffusionGemma-Sudoku-Comparison" width="800" height="203"&gt;&lt;/a&gt;&lt;br&gt;
&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bidirectional Context Propagation:&lt;/strong&gt; Unlike autoregressive models, DiffusionGemma's denoising step allows every canvas query to attend to all positions in parallel. Information flows symmetrically across the board, resolving global dependencies in each step.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Error Correction via Re-Noising&lt;/strong&gt;: Under &lt;strong&gt;Uniform State Diffusion&lt;/strong&gt;, the model evaluates the entire board simultaneously. If confidence drops, the sampler replaces digits with random ones, allowing for continuous self-correction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Efficient Early Stopping&lt;/strong&gt;: Fine-tuning on Sudoku shows that adapters enhance early stopping. The SFT-tuned model stabilizes faster than the base model, allowing the engine to halt sooner, reducing latency and compute costs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&amp;nbsp;&lt;br&gt;
  
    controls &lt;br&gt;
    loop &lt;br&gt;
    muted &lt;br&gt;
    autoplay &lt;br&gt;
    playsinline &lt;br&gt;
    width="100%" &lt;br&gt;
    style="border-radius: 8px; display: block; margin-bottom: 0; padding-bottom: 0px;"&lt;br&gt;
    aria-label=""&amp;gt;&lt;br&gt;
    &lt;br&gt;
    Your browser does not support the video tag.&lt;br&gt;
  &lt;/p&gt;

&lt;center&gt;&lt;small&gt;Left: DiffusionGemma generating Sudoku output. The base model is unable to solve the Sudoku after 48 steps. Right: Fine-tuned (SFT) DiffusionGemma solves the puzzle after 12 steps. It is able to complete early thanks to adaptive stopping.&lt;/small&gt;&lt;/center&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Performance Impact:&lt;/strong&gt; While the base DiffusionGemma model is not specifically trained to solve Sudoku puzzles (~0% success rate), applying the simple JAX SFT recipe on a Sudoku dataset raises correctness to &lt;strong&gt;80% success&lt;/strong&gt;, while decreasing the overall inference step count.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;Block Autoregressive Denoising&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;To enable block autoregressive denoising, DiffusionGemma alternates between incremental prefill and denoising during inference:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Prefill / Incremental Prefill (Causal):&lt;/strong&gt; Uses &lt;em&gt;causal attention&lt;/em&gt; to ingest the prompt context and write to the KV cache. This runs once to prefill the initial context and then once per block to append each finalized 256-token canvas to the KV cache before proceeding to denoising the next canvas.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Denoising (Bidirectional):&lt;/strong&gt; Uses &lt;em&gt;bidirectional attention&lt;/em&gt; to iteratively denoise the canvas. Query tokens at any position on the canvas can attend to all other canvas tokens (as well as KV cache), letting the model process context bidirectionally.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq9d1m9tn6k14coe5agkj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq9d1m9tn6k14coe5agkj.png" alt="diffusion_architecture" width="800" height="935"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This architectural choice makes the following possible:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Global Context Awareness&lt;/strong&gt;: Unlike autoregressive (AR) models that only "look backward," the Denoiser's bidirectional attention allows every token on the canvas to attend to every other token. This makes the model much more effective at solving non-sequential problems, such as Sudoku, where a digit in the first cell must respect constraints in the last cell.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Self-Correction&lt;/strong&gt;: Because the model iteratively refines the whole canvas, it can "fix" earlier mistakes. If a token's confidence drops during a pass, the sampler can re-noise and replace it. This is a capability AR models lack since they are "stuck" with a token once it is generated, especially during long output sequences.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Efficient Long-Context Scaling&lt;/strong&gt;: The "block-autoregressive" approach allows the model to handle long sequences. It combines the parallel speed of diffusion for blocks with the proven sequential stability of AR models for long-form text.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Simplified Deployment&lt;/strong&gt;: Using the same architecture as the Gemma 4 26B A4B model means developers only need to implement a denoising step, making it easier to integrate into existing serving frameworks like vLLM.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;Serving DiffusionGemma&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;To serve this experimental architecture efficiently, we worked with the vLLM team to implement DiffusionGemma into vLLM. This integration allows the engine to run the iterative parallel denoising loops efficiently across batched request streams.&lt;/p&gt;

&lt;p&gt;Developers can deploy DiffusionGemma out of the box using vLLM's standard OpenAI-compatible local server.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;vllm serve google/diffusiongemma-26B-A4B-it &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--max-model-len&lt;/span&gt; 262144 &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--max-num-seqs&lt;/span&gt; 4 &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--gpu-memory-utilization&lt;/span&gt; 0.85 &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--attention-backend&lt;/span&gt; TRITON_ATTN &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--generation-config&lt;/span&gt; vllm &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--hf-overrides&lt;/span&gt; &lt;span class="s1"&gt;'{"diffusion_sampler": "entropy_bound", "diffusion_entropy_bound": 0.1}'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--diffusion-config&lt;/span&gt; &lt;span class="s1"&gt;'{"canvas_length": 256}'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--enable-chunked-prefill&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;strong&gt;Getting Started Today&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Ready to explore the frontier of non-autoregressive text generation? Take a look at the following resources to find out more:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Download the Weights:&lt;/strong&gt; Access the weights of the &lt;a href="https://huggingface.co/google/diffusiongemma-26B-A4B-it" rel="noopener noreferrer"&gt;experimental model&lt;/a&gt; (released under the Apache 2.0 license) directly on Hugging Face.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integrate &amp;amp; Learn:&lt;/strong&gt; Review the &lt;a href="https://newsletter.maartengrootendorst.com/p/a-visual-guide-to-diffusiongemma" rel="noopener noreferrer"&gt;Visual Guide to DiffusionGemma&lt;/a&gt; to understand the mechanics of text-based diffusion models. Read more about DiffusionGemma in the &lt;a href="http://ai.google.dev/gemma/docs/diffusiongemma" rel="noopener noreferrer"&gt;Gemma documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use Your Favorite Inference Frameworks:&lt;/strong&gt; Run the model efficiently using &lt;a href="https://vllm-project.github.io/2026/06/10/diffusion-gemma" rel="noopener noreferrer"&gt;vLLM&lt;/a&gt;, &lt;a href="https://huggingface.co/google/diffusiongemma-26B-A4B-it" rel="noopener noreferrer"&gt;Hugging Face Transformers&lt;/a&gt;, SGLang, and &lt;a href="https://huggingface.co/collections/mlx-community/diffusiongemma" rel="noopener noreferrer"&gt;MLX&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adapt &amp;amp; Fine-Tune:&lt;/strong&gt; For rapid experimentation, we are releasing the &lt;a href="https://github.com/google-deepmind/gemma/tree/main/gemma/diffusion" rel="noopener noreferrer"&gt;official training recipes&lt;/a&gt; using &lt;a href="https://github.com/google/hackable_diffusion" rel="noopener noreferrer"&gt;Hackable Diffusion&lt;/a&gt; You can also explore efficient fine-tuning using &lt;a href="https://unsloth.ai/docs/models/diffusiongemma" rel="noopener noreferrer"&gt;Unsloth&lt;/a&gt; or &lt;a href="https://github.com/NVIDIA-NeMo/Automodel/blob/main/docs/guides/dllm/diffusiongemma.md" rel="noopener noreferrer"&gt;NVIDIA NeMo&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deploy Your Way:&lt;/strong&gt; Instantly deploy on Google Cloud using &lt;a href="https://console.cloud.google.com/agent-platform/publishers/google/model-garden/diffusiongemma" rel="noopener noreferrer"&gt;Model Garden&lt;/a&gt; or via &lt;a href="https://catalog.ngc.nvidia.com/orgs/nim/teams/google/containers/diffusiongemma-26b-a4b-it?version=latest" rel="noopener noreferrer"&gt;NVIDIA NIM&lt;/a&gt;. The model is optimized natively across the hardware stack from consumer RTX 4090 and 5090 cards to enterprise Hopper and Blackwell servers.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>gemma</category>
      <category>google</category>
      <category>ai</category>
      <category>llm</category>
    </item>
    <item>
      <title>DiffusionGemma: 4x faster text generation</title>
      <dc:creator>Gemini Team</dc:creator>
      <pubDate>Tue, 14 Jul 2026 15:06:56 +0000</pubDate>
      <link>https://dev.to/googleai/diffusiongemma-4x-faster-text-generation-fmd</link>
      <guid>https://dev.to/googleai/diffusiongemma-4x-faster-text-generation-fmd</guid>
      <description>&lt;h4&gt;
  
  
  Our newest open experimental model delivers up to 4x faster inference on dedicated GPUs and opens the door to exploring speed-critical, interactive local workflows.
&lt;/h4&gt;




&lt;p&gt;Introducing DiffusionGemma, an experimental open model that explores text diffusion, an exceptionally fast approach to text generation. Released under an Apache 2.0 license, this 26B Mixture of Experts (MoE) model moves beyond the sequential token-by-token processing of typical autoregressive Large Language Models (LLMs). Instead, it generates entire blocks of text simultaneously, delivering up to 4x faster text generation on GPUs.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F575rypju8jdcgm6nt103.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F575rypju8jdcgm6nt103.webp" alt="Intelligence vs. Latency" width="799" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Built upon the industry-leading intelligence-per-parameter of our Gemma 4 family and cutting-edge &lt;a href="https://deepmind.google/models/gemini-diffusion/" rel="noopener noreferrer"&gt;Gemini Diffusion research&lt;/a&gt;, DiffusionGemma integrates a novel diffusion head designed to maximize generation speed. While autoregressive Gemma 4 models remain the standard for high-quality production outputs, DiffusionGemma is designed for researchers and developers exploring speed-critical, interactive local workflows such as in-line editing, rapid iteration, and generating non-linear text structures.&lt;/p&gt;

&lt;h2&gt;
  
  
  Unlocking new value for developers
&lt;/h2&gt;

&lt;p&gt;Developers building real-time interactive AI applications often struggle with the latency bottlenecks of local inference. DiffusionGemma addresses these challenges directly, with some key trade-offs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Blazing fast inference:&lt;/strong&gt; By shifting the decode bottleneck from memory-bandwidth to compute, DiffusionGemma generates up to 4x faster token output on dedicated GPUs. (1000+ tokens per second on a single NVIDIA H100, 700+ tokens per second on NVIDIA GeForce RTX 5090).¹
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accessible hardware footprint:&lt;/strong&gt; Operating as a 26B total Mixture of Experts (MoE) model that activates only 3.8B parameters during inference, DiffusionGemma fits comfortably within 18GB VRAM limits of high-end dedicated consumer GPUs when quantized.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bi-directional attention&lt;/strong&gt;: Generating 256 tokens in parallel with each forward pass allows every token to attend to all others. This provides significant advantages for non-linear domains such as in-line editing, code infilling, amino acid sequences or mathematical graphs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Intelligent self-correction:&lt;/strong&gt; The model iteratively refines its own output, allowing it to evaluate the entire text block at once to fix mistakes in real-time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Experimental status &amp;amp; production recommendations:&lt;/strong&gt; Because it prioritizes speed and parallel layout generation, DiffusionGemma’s overall output quality is lower than standard Gemma 4. For applications that demand maximum quality, we recommend deploying standard Gemma 4.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&amp;nbsp;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fig2bjm5pobf8isaxk88c.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fig2bjm5pobf8isaxk88c.webp" alt="DiffusionGemma Benchmark" width="500" height="281"&gt;&lt;/a&gt;&lt;br&gt;
&amp;nbsp;&lt;/p&gt;

&lt;p&gt;You can improve DiffusionGemma's performance on specific tasks through fine-tuning. In the example below, &lt;a href="https://unsloth.ai/docs/models/diffusiongemma" rel="noopener noreferrer"&gt;Unsloth&lt;/a&gt; fine-tuned DiffusionGemma to play Sudoku — a task autoregressive models struggle with because each token depends on future tokens. DiffusionGemma's bi-directional attention makes this much easier.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl1terwz875dm77pnmama.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl1terwz875dm77pnmama.gif" alt="Fine-tuned DiffusionGemma solving Sudoku." width="760" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;center&gt;&lt;small&gt;Fine-tuned DiffusionGemma solving Sudoku.&lt;/small&gt;&lt;/center&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why diffusion for text?
&lt;/h2&gt;

&lt;p&gt;While the AI research community has explored diffusion-based text generation for years, applying it to large models has remained a challenge. DiffusionGemma changes this by shifting how models use hardware.&lt;/p&gt;

&lt;h3&gt;
  
  
  The trade-off with traditional models
&lt;/h3&gt;

&lt;p&gt;Most language models act like a typewriter, generating one token at a time from left to right. In the cloud, this is efficient because servers can batch thousands of user requests together to share the hardware load. But when run locally for a single user, this word-by-word process leaves your dedicated GPU or TPU underutilized — it spends most of its time simply waiting for the next "keystroke."&lt;/p&gt;

&lt;p&gt;DiffusionGemma reverses this inefficiency. Instead of predicting words sequentially, it drafts an entire 256-token paragraph simultaneously. By giving the computer's processor a larger chunk of work at once, DiffusionGemma utilizes your hardware to its full potential. It upgrades your model inference from a single, sequential typewriter to a massive printing press that stamps the entire block of text simultaneously.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;br&gt;
  
    controls &lt;br&gt;
    loop &lt;br&gt;
    muted &lt;br&gt;
    autoplay &lt;br&gt;
    playsinline &lt;br&gt;
    width="100%" &lt;br&gt;
    style="border-radius: 8px; display: block; margin-bottom: 0; padding-bottom: 0px;"&lt;br&gt;
    aria-label="DiffusionGemma text-to-3D SVG demo by Hugging Face. Step-by-step generation, slowed down for visualization."&amp;gt;&lt;br&gt;
    &lt;br&gt;
    Your browser does not support the video tag.&lt;br&gt;
  &lt;/p&gt;

&lt;center&gt;&lt;small&gt;DiffusionGemma text-to-3D SVG demo by Hugging Face. Step-by-step generation.&lt;/small&gt;&lt;/center&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;This means DiffusionGemma's speedup is designed for local and low-concurrency inference. In high-QPS cloud serving, autoregressive models can be deployed to saturate compute efficiently, so DiffusionGemma's parallel decoding offers diminishing returns and can result in higher serving costs. The throughput advantage is strongest at low-to-medium batch sizes on a single accelerator.&lt;/p&gt;

&lt;h3&gt;
  
  
  How text diffusion works
&lt;/h3&gt;

&lt;p&gt;Similar to AI image generators that &lt;a href="https://research.google/blog/on-device-diffusion-plugins-for-conditioned-text-to-image-generation/" rel="noopener noreferrer"&gt;start with visual static and iteratively refine it&lt;/a&gt; into a clear picture, DiffusionGemma applies this to text:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The canvas:&lt;/strong&gt; The model starts with a canvas of random placeholder tokens.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Iterative refinement:&lt;/strong&gt; The model makes multiple passes, locking in correct tokens and using them as context clues to refine the rest.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Final polish:&lt;/strong&gt; The text converges into high-quality output.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&amp;nbsp;&lt;br&gt;
  
    controls &lt;br&gt;
    loop &lt;br&gt;
    muted &lt;br&gt;
    autoplay &lt;br&gt;
    playsinline &lt;br&gt;
    width="100%" &lt;br&gt;
    style="border-radius: 8px; display: block; margin-bottom: 0; padding-bottom: 0px;"&lt;br&gt;
    aria-label="DiffusionGemma Process"&amp;gt;&lt;br&gt;
    &lt;br&gt;
    Your browser does not support the video tag.&lt;br&gt;
  &lt;br&gt;
&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Because the model can process the whole paragraph while generating, it unlocks new patterns of model behavior, like perfectly closing complex markdown formatting or generating and rendering code in near real-time.&lt;/p&gt;

&lt;h3&gt;
  
  
  Get started today
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Download the weights:&lt;/strong&gt; Access the experimental model weights (released under a permissive Apache 2.0 license) right now on Hugging Face.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integrate &amp;amp; learn:&lt;/strong&gt; Learn more in our &lt;a href="https://developers.googleblog.com/en/diffusiongemma-the-developer-guide" rel="noopener noreferrer"&gt;DiffusionGemma developer guide&lt;/a&gt;. Or deep dive into &lt;a href="https://newsletter.maartengrootendorst.com/p/a-visual-guide-to-diffusiongemma" rel="noopener noreferrer"&gt;A Visual Guide to DiffusionGemma&lt;/a&gt; to understand the mechanics under the hood.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use your favorite development tools:&lt;/strong&gt; Serve the model efficiently using &lt;a href="https://huggingface.co/collections/mlx-community/diffusiongemma" rel="noopener noreferrer"&gt;MLX&lt;/a&gt;, &lt;a href="https://vllm-project.github.io/2026/06/10/diffusion-gemma" rel="noopener noreferrer"&gt;vLLM&lt;/a&gt; (with integration supported by &lt;a href="https://huggingface.co/collections/RedHatAI/diffusiongemma-26b-a4b-it" rel="noopener noreferrer"&gt;Red Hat&lt;/a&gt;), and &lt;a href="https://huggingface.co/google/diffusiongemma-26B-A4B-it" rel="noopener noreferrer"&gt;Hugging Face Transformers&lt;/a&gt;. For rapid experimentation, we are releasing a fine-tuning tutorial using &lt;a href="https://github.com/google/hackable_diffusion" rel="noopener noreferrer"&gt;Hackable Diffusion&lt;/a&gt;, a modular JAX toolbox designed for composability. You can also explore fine-tuning with &lt;a href="https://unsloth.ai/docs/models/diffusiongemma" rel="noopener noreferrer"&gt;Unsloth&lt;/a&gt; and NVIDIA &lt;a href="https://github.com/NVIDIA-NeMo/Automodel/blob/main/docs/guides/dllm/diffusiongemma.md" rel="noopener noreferrer"&gt;NeMo&lt;/a&gt;. Additionally, official support for llama.cpp is arriving soon.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Experience optimized performance:&lt;/strong&gt; We worked with &lt;a href="https://blogs.nvidia.com/blog/rtx-ai-garage-local-gemma-diffusion" rel="noopener noreferrer"&gt;NVIDIA&lt;/a&gt; to optimize across their hardware stack, ensuring compatibility with consumer setups (quantized for GeForce RTX 5090 and 4090 GPUs) alongside high performance on enterprise systems (Hopper and Blackwell using advanced NVFP4 kernels), including NVIDIA DGX Spark and DGX Station for local deskside deployment, and RTX PRO for AI professionals. Native support for NVFP4 (4-bit floating-point) accelerates compute throughput, allowing the model to run at faster speeds with near-lossless accuracy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Try your way:&lt;/strong&gt; Run on your desktop dedicated GPU or in the cloud through &lt;a href="https://console.cloud.google.com/agent-platform/publishers/google/model-garden/diffusiongemma" rel="noopener noreferrer"&gt;Gemini Enterprise Agent Platform Model Garden&lt;/a&gt; or &lt;a href="https://catalog.ngc.nvidia.com/orgs/nim/teams/google/containers/diffusiongemma-26b-a4b-it?version=latest" rel="noopener noreferrer"&gt;NVIDIA NIM&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>gemma</category>
      <category>google</category>
      <category>llm</category>
      <category>ai</category>
    </item>
    <item>
      <title>Fluid, natural voice translation with Gemini 3.5 Live Translate</title>
      <dc:creator>Gemini Team</dc:creator>
      <pubDate>Tue, 30 Jun 2026 15:54:14 +0000</pubDate>
      <link>https://dev.to/googleai/fluid-natural-voice-translation-with-gemini-35-live-translate-27n9</link>
      <guid>https://dev.to/googleai/fluid-natural-voice-translation-with-gemini-35-live-translate-27n9</guid>
      <description>&lt;p&gt;Twenty years ago, &lt;a href="https://blog.google/products-and-platforms/products/translate/fun-facts-google-translate-20-years/" rel="noopener noreferrer"&gt;translation at Google&lt;/a&gt; began as one of our pioneering machine learning experiments to turn the science of language into the magic of human connection. That experiment has come a long way with over a trillion words being translated for billions of users across our products every month.&lt;/p&gt;

&lt;p&gt;We’re taking our next step with the release of Gemini 3.5 Live Translate, our latest audio model for live speech-to-speech translation.&lt;/p&gt;

&lt;p&gt;The model automatically detects 70+ languages and generates smooth, natural-sounding translated speech that preserves the speakers' intonation, pacing and pitch. Unlike turn by turn systems that wait for the speaker to finish speaking before responding, 3.5 Live Translate generates speech continuously, balancing the trade-off between waiting for context to improve quality and translating immediately to stay in sync with the speaker. It delivers fluid audio without awkward pauses and stays just a few seconds behind the speaker throughout the session.&lt;/p&gt;

&lt;p&gt;Gemini 3.5 Live Translate is rolling out across Google products:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For developers in public preview via the &lt;a href="https://ai.google.dev/gemini-api/docs/live-api/live-translate" rel="noopener noreferrer"&gt;Gemini Live API&lt;/a&gt; and &lt;a href="https://aistudio.google.com/live?model=gemini-3.5-live-translate-preview" rel="noopener noreferrer"&gt;Google AI Studio&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;For enterprises in private preview starting this month in &lt;a href="https://workspace.google.com/products/meet/" rel="noopener noreferrer"&gt;Google Meet&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;For everyone via Google Translate on &lt;a href="https://play.google.com/store/apps/details?id=com.google.android.apps.translate&amp;amp;26hl=en" rel="noopener noreferrer"&gt;Android&lt;/a&gt; and &lt;a href="https://apps.apple.com/us/app/google-translate/id414706506" rel="noopener noreferrer"&gt;iOS&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Build with 3.5 Live Translate
&lt;/h2&gt;

&lt;p&gt;Gemini 3.5 Live Translate processes speech as it’s streamed, enabling a more seamless connection across languages. The model handles multilingual inputs without the need to manually configure settings. At the same time, its noise robustness ensures applications can handle loud, unpredictable environments. You can use its capabilities to help facilitate live interpretation for multilingual calls, meetings, lessons, broadcasts and more.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/TNwKs39uSVk"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Watch the Gemini Live API in action, enabling dubbing and simultaneous multi-language translation. Dive into the &lt;a href="https://github.com/google-gemini/gemini-live-api-examples/tree/main/gemini-live-translate-livekit" rel="noopener noreferrer"&gt;demo&lt;/a&gt; or more &lt;a href="https://github.com/google-gemini/gemini-live-api-examples" rel="noopener noreferrer"&gt;example code&lt;/a&gt; in the Gemini Cookbook.&lt;/p&gt;

&lt;p&gt;By utilizing the Gemini Live API, developer platforms like &lt;a href="https://docs.agora.io/en/conversational-ai/models/mllm/gemini" rel="noopener noreferrer"&gt;Agora&lt;/a&gt;, &lt;a href="https://docs.fishjam.io/tutorials/gemini-live-integration" rel="noopener noreferrer"&gt;Fishjam&lt;/a&gt;, &lt;a href="https://docs.livekit.io/agents/models/realtime/plugins/gemini/" rel="noopener noreferrer"&gt;LiveKit&lt;/a&gt;, &lt;a href="https://docs.pipecat.ai/guides/features/gemini-live" rel="noopener noreferrer"&gt;Pipecat&lt;/a&gt;, and &lt;a href="https://visionagents.ai/integrations/gemini" rel="noopener noreferrer"&gt;Vision Agents&lt;/a&gt; enable developers to build and deploy voice translation apps with ease. These integrations handle the complex real-time media streaming infrastructure, so developers can focus on the user experience.&lt;/p&gt;

&lt;p&gt;Our partners at Grab are testing the model to enable multilingual communication in near real-time between drivers and travelers at pickups. These users make over 10 million voice calls per month through Grab.&lt;br&gt;
&amp;nbsp;&lt;br&gt;
  &lt;iframe src="https://www.youtube.com/embed/16Y2DU6LJX4"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;center&gt;&lt;small&gt;See how Grab has been testing 3.5 Live Translate to transform communication between users.&lt;/small&gt;&lt;/center&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;h2&gt;
  
  
  Read the early reviews
&lt;/h2&gt;

&lt;p&gt;In addition to Grab, companies like CJ ENM, LiveKit and others have shared positive feedback on 3.5 Live Translate highlighting its impressive translation quality, accuracy and low latency:&lt;/p&gt;


&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
"While testing Gemini 3.5 Live Translate, we’ve valued its ability to auto-detect multiple languages and translate speech accurately with low latency."&lt;br&gt;
&lt;strong&gt;Philipp Kandal&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Chief Product Office at Grab&lt;/em&gt;&lt;br&gt;

&lt;/div&gt;



&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
"CJ ENM is excited to partner with Google DeepMind on 3.5 Live Translate. Early tests show promising quality for a more authentic experience for global &amp;amp; Korean viewers."&lt;br&gt;
&lt;strong&gt;Bella Baek&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Chief AI Officer at CJ ENM&lt;/em&gt;&lt;br&gt;

&lt;/div&gt;



&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
"Gemini 3.5 Live Translate makes multilingual voice effortless. I built a demo on LiveKit Agents where everyone speaks their own language and understands each other live."&lt;br&gt;
&lt;strong&gt;Jesse Hall&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Staff Developer Advocate at LiveKit&lt;/em&gt;&lt;br&gt;

&lt;/div&gt;



&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
"During our time with the 3.5 Live Translate model, we tested across several languages, and our team was blown away by the speed, accuracy, and liveliness of the model."&lt;br&gt;
&lt;strong&gt;Nash Ramdial&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Director at Vision Agents&lt;/em&gt;&lt;br&gt;

&lt;/div&gt;



&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
"Gemini 3.5 Live Translate paired with Fishjam’s MoQ protocol sets a new frontier for real-time multimedia streaming, allowing speech-to-speech translation into over 70 languages."&lt;br&gt;
&lt;strong&gt;Maciej Rys&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;VP of Engineering at Software Mansion&lt;/em&gt;&lt;br&gt;

&lt;/div&gt;



&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
"We tested the Gemini 3.5 Live Translate model at Agora and in our opinion it provided SOTA results, with low latency and high accuracy that set a new bar for real-time translation."&lt;br&gt;
&lt;strong&gt;Mason Adams&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Developer Evangelist at Agora&lt;/em&gt;&lt;br&gt;

&lt;/div&gt;


&lt;h2&gt;
  
  
  Experience 3.5 Live Translate in your video meetings
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://support.google.com/meet/answer/16221730?hl=en" rel="noopener noreferrer"&gt;Speech translation&lt;/a&gt; in Google Meet will soon use 3.5 Live Translate, improving the experience by:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Offering 70+ languages, an improvement from the previous limit of just five languages,&lt;/li&gt;
&lt;li&gt;Enabling conversations across over 2000+ language combinations in one meeting, expanding from the previous state of only translating to and from English,&lt;/li&gt;
&lt;li&gt;Updating the interface to provide instant access to speech translation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We’re launching this update in private preview for select business Google Workspace customers starting this month, followed by a broader rollout later this year.&lt;br&gt;
&amp;nbsp;&lt;br&gt;
  &lt;iframe src="https://www.youtube.com/embed/DLSLKCqahyI"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;center&gt;&lt;small&gt;Google Meet participants use speech translation to communicate across English, Mandarin, and Swedish.&lt;/small&gt;&lt;/center&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;h2&gt;
  
  
  Get 3.5 Live Translate in the Google Translate app on Android or iOS
&lt;/h2&gt;

&lt;p&gt;The model is also rolling out on the Google Translate app globally, on both &lt;a href="https://play.google.com/store/apps/details?id=com.google.android.apps.translate" rel="noopener noreferrer"&gt;Android&lt;/a&gt; and &lt;a href="https://apps.apple.com/us/app/google-translate/id414706506" rel="noopener noreferrer"&gt;iOS&lt;/a&gt;. When using the Live translate feature, simply connect any pair of headphones to experience a more seamless translation that mirrors the speaker’s tone across 70+ languages.&lt;/p&gt;

&lt;p&gt;For Android users, we’re also starting to roll out a new ‘listening mode’ with 3.5 Live Translate that lets you hear translations directly through your phone’s earpiece. Simply hold your phone to your ear just like a regular call, and the translated audio streams straight to you. This new experience can be helpful in situations where you want to quickly hear translations without others hearing, and you don’t have your headphones handy.&lt;br&gt;
&amp;nbsp;&lt;/p&gt;


  
  Your browser does not support the video tag.


&lt;center&gt;&lt;small&gt;Using the new listening mode, users can hear a near real-time English translation of a guided tour in Spanish directly through their phone's earpiece.&lt;/small&gt;&lt;/center&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;h2&gt;
  
  
  Watermarked with SynthID
&lt;/h2&gt;

&lt;p&gt;All audio generated by our models is watermarked with SynthID. This imperceptible watermark is woven directly into the audio output, ensuring AI-generated content remains detectable to help prevent misinformation. For details on our approach to safety and responsibility, review the &lt;a href="https://deepmind.google/models/model-cards/gemini-3-5-audio/" rel="noopener noreferrer"&gt;model card&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>google</category>
      <category>gemini</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
