Dataflow support for GPUs

Note: The following considerations apply to this GA offering:

This page provides background information on how GPUs work withDataflow, including information about prerequisites and supportedGPU types.

Using GPUs in Dataflow jobs lets you acceleratesome data processing tasks. GPUs can perform certain computations fasterthan CPUs. These computations are usually numeric or linear algebra,often used in image processing and machine learning use cases. Theextent of performance improvement varies by the use case, type of computation,and amount of data processed.

Prerequisites for using GPUs in Dataflow

Pricing

Jobs using GPUs incur charges as specified in the Dataflowpricing page.

Availability

Note: TPUs are also supported with Dataflow. For more information,seeDataflow support for TPUs.

The following GPU types are supported with Dataflow:

GPU typeworker_accelerator string
NVIDIA® L4nvidia-l4
NVIDIA® A100 40 GBnvidia-tesla-a100
NVIDIA® A100 80 GBnvidia-a100-80gb
NVIDIA® Tesla® T4nvidia-tesla-t4
NVIDIA® Tesla® P4nvidia-tesla-p4
NVIDIA® Tesla® V100nvidia-tesla-v100
NVIDIA® Tesla® P100nvidia-tesla-p100
NVIDIA® H100nvidia-h100-80gb
NVIDIA® H100 Meganvidia-h100-mega-80gb

For more information about each GPU type, including performance data, seeCompute Engine GPU platforms.

For information about available regions and zones for GPUs, seeGPU regions and zones availabilityin the Compute Engine documentation.

Recommended workloads

The following table provides recommendations for which type of GPU to use fordifferent workloads. The examples in the table are suggestions only, and youneed to test in your own environment to determine the appropriate GPU type foryour workload.

For more detailed information about GPU memory size, feature availability, andideal workload types for different GPU models, see theGeneral comparison charton the GPU platforms page.

WorkloadA100, H100L4T4
Model fine tuningRecommended
Large model inferenceRecommendedRecommended
Medium model inferenceRecommendedRecommended
Small model inferenceRecommendedRecommended

What's next

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.