Skip to content

AcceleratorCountRange

Source code in docs_src/capo_deadline/types/accelerator_count_range.py
class AcceleratorCountRange(TypedDict, closed=True):
    min: "capo_deadline.types.min_zero_max_integer.MinZeroMaxInteger"
    """The minimum number of GPU accelerators in the worker host."""
    max: NotRequired["capo_deadline.types.min_zero_max_integer.MinZeroMaxInteger"]
    """The maximum number of GPU accelerators in the worker host."""

max instance-attribute

max: NotRequired[MinZeroMaxInteger]

The maximum number of GPU accelerators in the worker host.

min instance-attribute

The minimum number of GPU accelerators in the worker host.