Skip to main content

Module clients.dai_engine_profile.dai_engine_profile_config

Classes

DAIEngineProfileConfig

class DAIEngineProfileConfig(dai_engine_profile_id: str, cpu_constraint: h2o_engine_manager.clients.constraint.profile_constraint_numeric.ProfileConstraintNumeric, gpu_constraint: h2o_engine_manager.clients.constraint.profile_constraint_numeric.ProfileConstraintNumeric, memory_bytes_constraint: h2o_engine_manager.clients.constraint.profile_constraint_numeric.ProfileConstraintNumeric, storage_bytes_constraint: h2o_engine_manager.clients.constraint.profile_constraint_numeric.ProfileConstraintNumeric, max_idle_duration_constraint: h2o_engine_manager.clients.constraint.profile_constraint_duration.ProfileConstraintDuration, max_running_duration_constraint: h2o_engine_manager.clients.constraint.profile_constraint_duration.ProfileConstraintDuration, config_editability: h2o_engine_manager.clients.dai_engine_profile.config_editability.ConfigEditability, display_name: str = '', priority: int = 0, enabled: bool = True, assigned_oidc_roles_enabled: bool = True, assigned_oidc_roles: Optional[List[str]] = None, max_running_engines: Optional[int] = None, max_non_interaction_duration: Optional[str] = None, max_unused_duration: Optional[str] = None, configuration_override: Optional[Dict[str, str]] = None, base_configuration: Optional[Dict[str, str]] = None, yaml_pod_template_spec: str = '', yaml_gpu_tolerations: str = '', triton_enabled: bool = False)

DAIEngineProfile configuration used as input for apply method.

Methods

to_dai_engine_profile

def to_dai_engine_profile(self)

Feedback