Struct aws_sdk_sagemaker::model::MultiModelConfig [−][src]
#[non_exhaustive]pub struct MultiModelConfig {
pub model_cache_setting: Option<ModelCacheSetting>,
}
Expand description
Specifies additional configuration for hosting multi-model endpoints.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.model_cache_setting: Option<ModelCacheSetting>
Whether to cache models for a multi-model endpoint. By default, multi-model endpoints
cache models so that a model does not have to be loaded into memory each time it is
invoked. Some use cases do not benefit from model caching. For example, if an endpoint
hosts a large number of models that are each invoked infrequently, the endpoint might
perform better if you disable model caching. To disable model caching, set the value of
this parameter to Disabled
.
Implementations
Whether to cache models for a multi-model endpoint. By default, multi-model endpoints
cache models so that a model does not have to be loaded into memory each time it is
invoked. Some use cases do not benefit from model caching. For example, if an endpoint
hosts a large number of models that are each invoked infrequently, the endpoint might
perform better if you disable model caching. To disable model caching, set the value of
this parameter to Disabled
.
Creates a new builder-style object to manufacture MultiModelConfig
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MultiModelConfig
impl Send for MultiModelConfig
impl Sync for MultiModelConfig
impl Unpin for MultiModelConfig
impl UnwindSafe for MultiModelConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more