reject_pending_overlay

Function reject_pending_overlay 

Source
pub fn reject_pending_overlay(overlay: &OverlayTensors) -> Result<()>
Expand description

Feature 2 load gate, called from the loader once overlay tensors are collected. The device-side overlay apply is now WIRED (Stage-1 super::overlay_build::stage_overlay_raw upload → Stage-2 super::overlay_build::build_overlay row-diff/compact → the embed_tokens / lm_head forward hooks in crate::model::token_overlay), so trainable_tokens / modules_to_save {embed_tokens, lm_head} tensors are LOADED rather than rejected.

The ONLY remaining reject here is the classic low-rank embedding LoRA (lora_embedding_A/B): a distinct Tier-2 mechanism with no kernel yet, named so the adapter fails loudly rather than being silently mis-applied.