Interface AcceleratorCountRange.Builder

  • Method Details

    • min

      The minimum number of GPUs for the accelerator. If you set the value to 0, a worker will still have 1 GPU.

      Parameters:
      min - The minimum number of GPUs for the accelerator. If you set the value to 0, a worker will still have 1 GPU.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • max

      The maximum number of GPUs for the accelerator.

      Parameters:
      max - The maximum number of GPUs for the accelerator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.