Skip to content

Gpu

Source code in docs_src/capo_compute_optimizer/types/gpu.py
class Gpu(TypedDict, closed=True):
    gpu_count: "capo_compute_optimizer.types.gpu_count.GpuCount"
    """<p> The number of GPUs for the instance type. </p>"""
    gpu_memory_size_in_mi_b: (
        "capo_compute_optimizer.types.gpu_memory_size_in_mi_b.GpuMemorySizeInMiB"
    )
    """<p> The total size of the memory for the GPU accelerators for the instance type, in MiB. </p>"""

gpu_count instance-attribute

gpu_count: GpuCount

The number of GPUs for the instance type.

gpu_memory_size_in_mi_b instance-attribute

gpu_memory_size_in_mi_b: GpuMemorySizeInMiB

The total size of the memory for the GPU accelerators for the instance type, in MiB.