public sealed class AcceleratorConfig : IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Notebooks v2 API class AcceleratorConfig.
An accelerator configuration for a VM instance
Definition of a hardware accelerator. Note that there is no check on type
and core_count combinations. TPUs are not supported.
See GPUs on Compute
Engine to find a
valid combination.
[[["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\u003eThe \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class in the Notebooks v2 API defines the hardware accelerator configuration for a VM instance.\u003c/p\u003e\n"],["\u003cp\u003eThis class, part of the \u003ccode\u003eGoogle.Cloud.Notebooks.V2\u003c/code\u003e namespace, provides properties to configure the accelerator's \u003ccode\u003eCoreCount\u003c/code\u003e and \u003ccode\u003eType\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAcceleratorConfig\u003c/code\u003e is a sealed class that implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and it includes constructors for creating instances.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eType\u003c/code\u003e property, within the \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class, allows selection from predefined accelerator types found in the \u003ccode\u003eAcceleratorConfig.Types.AcceleratorType\u003c/code\u003e enum.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation emphasizes the importance of referring to the "GPUs on Compute Engine" documentation for compatible \u003ccode\u003etype\u003c/code\u003e and \u003ccode\u003ecore_count\u003c/code\u003e combinations, as TPUs are not supported.\u003c/p\u003e\n"]]],[],null,[]]