pub fn save_cached_profile( model_path: &Path, profile: &LayerProfile, ) -> Result<(), Error>
Save computed profile to model directory (atomic: tmpfile + rename).