public sealed class AcceleratorConfig : IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class AcceleratorConfig.
Specifies the type and number of accelerator cards attached to the instances
of an instance. See GPUs on Compute
Engine.
Auto Zone Exception: If you are using the Dataproc
Auto Zone
Placement
feature, you must use the short name of the accelerator type
resource, for example, nvidia-tesla-k80.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class within the Google Cloud Dataproc v1 API, detailing its properties, inheritance, and implementation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class is used to specify the type and number of accelerator cards attached to instances within the Dataproc environment, relating to GPU configurations in Google Cloud.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 5.17.0, and various previous versions from 5.16.0 down to 3.1.0 are also available, as well as their associated link to their respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class include \u003ccode\u003eAcceleratorCount\u003c/code\u003e (the number of cards) and \u003ccode\u003eAcceleratorTypeUri\u003c/code\u003e (the type of accelerator, specified by a URL, URI, or short name), and it is crucial to use the short name for AcceleratorTypeUri when utilizing Auto Zone Placement.\u003c/p\u003e\n"]]],[],null,[]]