Class JvmHeapSizeValidator
java.lang.Object
com.yahoo.vespa.model.application.validation.JvmHeapSizeValidator
- All Implemented Interfaces:
Validator
Validates that the container node flavour has enough resources to run configured ONNX models.
- Author:
- bjorncs
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(Validation.Context context) Validates the input Vespa model; illegal configuration should be reported through the context, while other problems (system error, insufficient quota, etc.) should be thrown.
-
Field Details
-
percentLimit
public static final int percentLimit- See Also:
-
gbLimit
public static final double gbLimit- See Also:
-
-
Constructor Details
-
JvmHeapSizeValidator
public JvmHeapSizeValidator()
-
-
Method Details