View Source GoogleApi.Container.V1.Model.AcceleratorConfig (google_api_container v0.45.0)

AcceleratorConfig represents a Hardware Accelerator request.

Attributes

  • acceleratorCount (type: String.t, default: nil) - The number of the accelerator cards exposed to an instance.
  • acceleratorType (type: String.t, default: nil) - The accelerator type resource name. List of supported accelerators here
  • gpuDriverInstallationConfig (type: GoogleApi.Container.V1.Model.GPUDriverInstallationConfig.t, default: nil) - The configuration for auto installation of GPU driver.
  • gpuPartitionSize (type: String.t, default: nil) - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
  • gpuSharingConfig (type: GoogleApi.Container.V1.Model.GPUSharingConfig.t, default: nil) - The configuration for GPU sharing options.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Container.V1.Model.AcceleratorConfig{
  acceleratorCount: String.t() | nil,
  acceleratorType: String.t() | nil,
  gpuDriverInstallationConfig:
    GoogleApi.Container.V1.Model.GPUDriverInstallationConfig.t() | nil,
  gpuPartitionSize: String.t() | nil,
  gpuSharingConfig: GoogleApi.Container.V1.Model.GPUSharingConfig.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.