Skip to content

/AWS1/CL_SGMINFERENCECOMPONE12

Settings that affect how the inference component caches data.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_enablecaching TYPE /AWS1/SGMENABLECACHING /AWS1/SGMENABLECACHING

Sets whether the endpoint that hosts the inference component caches the model artifacts and container image.

With caching enabled, the endpoint caches this data in each instance that it provisions for the inference component. That way, the inference component deploys faster during the auto scaling process. If caching isn't enabled, the inference component takes longer to deploy because of the time it spends downloading the data.


Queryable Attributes

EnableCaching

Sets whether the endpoint that hosts the inference component caches the model artifacts and container image.

With caching enabled, the endpoint caches this data in each instance that it provisions for the inference component. That way, the inference component deploys faster during the auto scaling process. If caching isn't enabled, the inference component takes longer to deploy because of the time it spends downloading the data.

Accessible with the following methods

Method Description
GET_ENABLECACHING() Getter for ENABLECACHING, with configurable default
ASK_ENABLECACHING() Getter for ENABLECACHING w/ exceptions if field has no value
HAS_ENABLECACHING() Determine if ENABLECACHING has a value