Skip to main content

load_global_rank_cache

Function load_global_rank_cache 

Source
pub fn load_global_rank_cache(
    compiler: &ContextCompiler<'_>,
) -> Option<GlobalRankCache>
Expand description

Load the per-ModelEpoch global rank cache from the store cache (key rank:global:<hash> over epoch + policy + salt). None on any miss/error — never panics, never fabricates. The entry is validated against the current epoch/policy/salt (belt-and-suspenders: the key already pins them).