Skip to main content

engine_cache_path

Function engine_cache_path 

Source
pub(crate) fn engine_cache_path(cache_dir: &Path) -> PathBuf
Expand description

Returns the canonical TRT engine-cache directory for a given root cache.

Path is stable across container restarts as long as cache_dir is mounted at the same location — i.e. for ECS this means a persistent EFS access point or a host-bind mount. There is no PID, hostname, or container identifier in the path — that was already true before this change, but is now centralised here so future callers cannot reintroduce per-container ephemera.