SIGN IN SIGN UP

Fix DynamicCache reconstruction during ExecuTorch export (#47900)

* Preserve DynamicCache layer layouts in ExecuTorch export

* Clarify flattened cache test naming

* fixes

* clean ups

* fix test

* fix test

* Preserve cumulative length in ExecuTorch DynamicCache export

* Update ExecuTorch cache export signature expectations

* Revert ExecuTorch DynamicCache cumulative length preservation

* Use DDP cache data for ExecuTorch cache reconstruction

* simplify a bit

* comment

* fix type hint

* use exact type

* style

---------

Co-authored-by: Elad Segal <13485709+eladsegal@users.noreply.github.com>
Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
E
Elad Segal committed
3cd1a2307acd8e9262917ee85fda8333af4fb5fc
Parent: 6b3a9de
Committed by GitHub <noreply@github.com> on 8/21/2026, 6:33:01 AM