HostGpuConfiguration

class oci.opsi.models.HostGpuConfiguration(**kwargs)

Bases: oci.opsi.models.host_configuration_metric_group.HostConfigurationMetricGroup

GPU configuration metrics

Attributes

METRIC_NAME_HOST_CPU_HARDWARE_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_ENTITES str(object=’’) -> str
METRIC_NAME_HOST_FILESYSTEM_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_GPU_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_HARDWARE_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_MEMORY_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_NETWORK_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_PRODUCT str(object=’’) -> str
METRIC_NAME_HOST_RESOURCE_ALLOCATION str(object=’’) -> str
bus_id [Required] Gets the bus_id of this HostGpuConfiguration.
bus_width [Required] Gets the bus_width of this HostGpuConfiguration.
cuda_version [Required] Gets the cuda_version of this HostGpuConfiguration.
driver_version [Required] Gets the driver_version of this HostGpuConfiguration.
gpu_capabilities Gets the gpu_capabilities of this HostGpuConfiguration.
gpu_id [Required] Gets the gpu_id of this HostGpuConfiguration.
metric_name [Required] Gets the metric_name of this HostConfigurationMetricGroup.
product_name [Required] Gets the product_name of this HostGpuConfiguration.
time_collected [Required] Gets the time_collected of this HostConfigurationMetricGroup.
total_graphics_clock_speed [Required] Gets the total_graphics_clock_speed of this HostGpuConfiguration.
total_memory [Required] Gets the total_memory of this HostGpuConfiguration.
total_memory_clock_speed [Required] Gets the total_memory_clock_speed of this HostGpuConfiguration.
total_power [Required] Gets the total_power of this HostGpuConfiguration.
total_sm_clock_speed [Required] Gets the total_sm_clock_speed of this HostGpuConfiguration.
total_video_clock_speed [Required] Gets the total_video_clock_speed of this HostGpuConfiguration.
vendor [Required] Gets the vendor of this HostGpuConfiguration.

Methods

__init__(**kwargs) Initializes a new HostGpuConfiguration object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
METRIC_NAME_HOST_CPU_HARDWARE_CONFIGURATION = 'HOST_CPU_HARDWARE_CONFIGURATION'
METRIC_NAME_HOST_ENTITES = 'HOST_ENTITES'
METRIC_NAME_HOST_FILESYSTEM_CONFIGURATION = 'HOST_FILESYSTEM_CONFIGURATION'
METRIC_NAME_HOST_GPU_CONFIGURATION = 'HOST_GPU_CONFIGURATION'
METRIC_NAME_HOST_HARDWARE_CONFIGURATION = 'HOST_HARDWARE_CONFIGURATION'
METRIC_NAME_HOST_MEMORY_CONFIGURATION = 'HOST_MEMORY_CONFIGURATION'
METRIC_NAME_HOST_NETWORK_CONFIGURATION = 'HOST_NETWORK_CONFIGURATION'
METRIC_NAME_HOST_PRODUCT = 'HOST_PRODUCT'
METRIC_NAME_HOST_RESOURCE_ALLOCATION = 'HOST_RESOURCE_ALLOCATION'
__init__(**kwargs)

Initializes a new HostGpuConfiguration object with values from keyword arguments. The default value of the metric_name attribute of this class is HOST_GPU_CONFIGURATION and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • metric_name (str) – The value to assign to the metric_name property of this HostGpuConfiguration. Allowed values for this property are: “HOST_PRODUCT”, “HOST_RESOURCE_ALLOCATION”, “HOST_MEMORY_CONFIGURATION”, “HOST_HARDWARE_CONFIGURATION”, “HOST_CPU_HARDWARE_CONFIGURATION”, “HOST_NETWORK_CONFIGURATION”, “HOST_ENTITES”, “HOST_FILESYSTEM_CONFIGURATION”, “HOST_GPU_CONFIGURATION”
  • time_collected (datetime) – The value to assign to the time_collected property of this HostGpuConfiguration.
  • gpu_id (int) – The value to assign to the gpu_id property of this HostGpuConfiguration.
  • product_name (str) – The value to assign to the product_name property of this HostGpuConfiguration.
  • vendor (str) – The value to assign to the vendor property of this HostGpuConfiguration.
  • bus_id (str) – The value to assign to the bus_id property of this HostGpuConfiguration.
  • bus_width (int) – The value to assign to the bus_width property of this HostGpuConfiguration.
  • gpu_capabilities (str) – The value to assign to the gpu_capabilities property of this HostGpuConfiguration.
  • total_power (float) – The value to assign to the total_power property of this HostGpuConfiguration.
  • total_memory (float) – The value to assign to the total_memory property of this HostGpuConfiguration.
  • total_video_clock_speed (float) – The value to assign to the total_video_clock_speed property of this HostGpuConfiguration.
  • total_sm_clock_speed (float) – The value to assign to the total_sm_clock_speed property of this HostGpuConfiguration.
  • total_graphics_clock_speed (float) – The value to assign to the total_graphics_clock_speed property of this HostGpuConfiguration.
  • total_memory_clock_speed (float) – The value to assign to the total_memory_clock_speed property of this HostGpuConfiguration.
  • cuda_version (str) – The value to assign to the cuda_version property of this HostGpuConfiguration.
  • driver_version (str) – The value to assign to the driver_version property of this HostGpuConfiguration.
bus_id

[Required] Gets the bus_id of this HostGpuConfiguration. Bus Identifier

Returns:The bus_id of this HostGpuConfiguration.
Return type:str
bus_width

[Required] Gets the bus_width of this HostGpuConfiguration. Bus Width

Returns:The bus_width of this HostGpuConfiguration.
Return type:int
cuda_version

[Required] Gets the cuda_version of this HostGpuConfiguration. CUDA library version

Returns:The cuda_version of this HostGpuConfiguration.
Return type:str
driver_version

[Required] Gets the driver_version of this HostGpuConfiguration. GPU Driver version

Returns:The driver_version of this HostGpuConfiguration.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

gpu_capabilities

Gets the gpu_capabilities of this HostGpuConfiguration. GPU Capabilities

Returns:The gpu_capabilities of this HostGpuConfiguration.
Return type:str
gpu_id

[Required] Gets the gpu_id of this HostGpuConfiguration. GPU Identifier

Returns:The gpu_id of this HostGpuConfiguration.
Return type:int
metric_name

[Required] Gets the metric_name of this HostConfigurationMetricGroup. Name of the metric group

Allowed values for this property are: “HOST_PRODUCT”, “HOST_RESOURCE_ALLOCATION”, “HOST_MEMORY_CONFIGURATION”, “HOST_HARDWARE_CONFIGURATION”, “HOST_CPU_HARDWARE_CONFIGURATION”, “HOST_NETWORK_CONFIGURATION”, “HOST_ENTITES”, “HOST_FILESYSTEM_CONFIGURATION”, “HOST_GPU_CONFIGURATION”

Returns:The metric_name of this HostConfigurationMetricGroup.
Return type:str
product_name

[Required] Gets the product_name of this HostGpuConfiguration. GPU Product Name

Returns:The product_name of this HostGpuConfiguration.
Return type:str
time_collected

[Required] Gets the time_collected of this HostConfigurationMetricGroup. Collection timestamp Example: “2020-05-06T00:00:00.000Z”

Returns:The time_collected of this HostConfigurationMetricGroup.
Return type:datetime
total_graphics_clock_speed

[Required] Gets the total_graphics_clock_speed of this HostGpuConfiguration. Max Graphics Clock Speed

Returns:The total_graphics_clock_speed of this HostGpuConfiguration.
Return type:float
total_memory

[Required] Gets the total_memory of this HostGpuConfiguration. Total Memory Allocated to GPU

Returns:The total_memory of this HostGpuConfiguration.
Return type:float
total_memory_clock_speed

[Required] Gets the total_memory_clock_speed of this HostGpuConfiguration. Max Memory Clock Speed

Returns:The total_memory_clock_speed of this HostGpuConfiguration.
Return type:float
total_power

[Required] Gets the total_power of this HostGpuConfiguration. Power Capacity

Returns:The total_power of this HostGpuConfiguration.
Return type:float
total_sm_clock_speed

[Required] Gets the total_sm_clock_speed of this HostGpuConfiguration. Max SM (Streaming Multiprocessor) Clock Speed

Returns:The total_sm_clock_speed of this HostGpuConfiguration.
Return type:float
total_video_clock_speed

[Required] Gets the total_video_clock_speed of this HostGpuConfiguration. Max Video Clock Speed

Returns:The total_video_clock_speed of this HostGpuConfiguration.
Return type:float
vendor

[Required] Gets the vendor of this HostGpuConfiguration. GPU Vendor

Returns:The vendor of this HostGpuConfiguration.
Return type:str