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 supports specifying the type and core count of the accelerator, but it does not support TPUs.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAcceleratorConfig\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class includes two properties: \u003ccode\u003eCoreCount\u003c/code\u003e for specifying the number of accelerator cores, and \u003ccode\u003eType\u003c/code\u003e for defining the type of accelerator.\u003c/p\u003e\n"],["\u003cp\u003eThe reference documentation covers version 1.0.0, but there are other versions available such as 1.1.0 and the latest 1.2.0.\u003c/p\u003e\n"]]],[],null,[]]