Skip to main content

Module paths

Module paths 

Source
Expand description

Cache directory paths and startup snapshot type.

Structsยง

TrtCacheInfo ๐Ÿ”’
Summary of the TRT engine cache state, produced at startup so the operator can see in CloudWatch whether the persistent volume is actually being reused between container restarts.

Constantsยง

TRT_ENGINE_SUBDIR ๐Ÿ”’
Subdirectory under BGE_M3_CACHE_DIR where ORT/TRT writes engine plan files.
TRT_TIMING_SUBDIR ๐Ÿ”’
Subdirectory under BGE_M3_CACHE_DIR where TRT writes the timing cache.

Functionsยง

engine_cache_path ๐Ÿ”’
Returns the canonical TRT engine-cache directory for a given root cache.
timing_cache_path ๐Ÿ”’
Returns the canonical TRT timing-cache file path for a given root cache.